Complete reference documentation for the Bilanc Metrics API
The Bilanc Metrics API allows you to retrieve various engineering and development metrics from your organization’s data. The API is built using FastAPI and provides endpoints for accessing different types of metrics.
All metric endpoints follow the pattern: POST /metrics/v2/{metric_type}
All API endpoints require authentication using PropelAuth. Include your authentication token in the request headers.
See our Authentication guide for more details.
Most API endpoints accept the following common parameters:
Parameter | Type | Description |
---|---|---|
filters | object | Key-value pairs for filtering the metric data |
group_by | array | Fields to group the results by |
date_level | string | Time granularity (day, week, month, quarter, year) |
aggregation | string | Method to aggregate the metric data |
date_field | string | Date field to use for time-based calculations |
time_series_data | boolean | Whether to return data formatted for time series visualization |
include_previous_period | boolean | Whether to include data from the previous time period |
API responses are returned in JSON format. The exact structure depends on the requested metric and parameters but generally follows a consistent pattern:
Metrics related to development time and process
Metrics related to pull requests
Metrics related to issues and tickets
Metrics related to releases
Metrics related to AI usage and productivity
Request multiple metrics in a single API call
Complete reference documentation for the Bilanc Metrics API
The Bilanc Metrics API allows you to retrieve various engineering and development metrics from your organization’s data. The API is built using FastAPI and provides endpoints for accessing different types of metrics.
All metric endpoints follow the pattern: POST /metrics/v2/{metric_type}
All API endpoints require authentication using PropelAuth. Include your authentication token in the request headers.
See our Authentication guide for more details.
Most API endpoints accept the following common parameters:
Parameter | Type | Description |
---|---|---|
filters | object | Key-value pairs for filtering the metric data |
group_by | array | Fields to group the results by |
date_level | string | Time granularity (day, week, month, quarter, year) |
aggregation | string | Method to aggregate the metric data |
date_field | string | Date field to use for time-based calculations |
time_series_data | boolean | Whether to return data formatted for time series visualization |
include_previous_period | boolean | Whether to include data from the previous time period |
API responses are returned in JSON format. The exact structure depends on the requested metric and parameters but generally follows a consistent pattern:
Metrics related to development time and process
Metrics related to pull requests
Metrics related to issues and tickets
Metrics related to releases
Metrics related to AI usage and productivity
Request multiple metrics in a single API call