Required permissions
Your API key must have theView Dev Metrics permission, and your workspace must have Eng Intelligence enabled.
Query workflow
- Call List available engineering metric definitions first. It returns the metric keys, data sources, and the
groupBy, filter, and aggregation options that each metric supports. Use the exact keys from that response when you build a query. - Call Execute point-in-time engineering metrics queries to get aggregated metric values. You can group the results and compare them against a prior period.
- To see the individual event records behind those values (pull requests, deployments, and so on), use the Eng Intelligence: Trace operation.
metadata plus rows. Rows are positional, not keyed: the value at index i of each row corresponds to metadata.columns[i]. Queries are capped at a six-month date range, and trace queries at 500 rows per page.
Operations
List available engineering metric definitions
GET /api/v1/eng-intel/registry/metrics/definitionsExecute point-in-time engineering metrics queries
POST /api/v1/eng-intel/metrics/point-in-time