Engineering
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET |
Retrieve engineering analytics workflow runner
A workflow's estimated CI cost broken down by runner tier over a window (date_from default -30d), highest spend first. Optionally scope to a single git branch via branch or one run group via run_scope. Returns an empty list when the job-level source isn't synced.
Required API key scopes
engineering_analytics:readQuery parameters
- branchstring
- date_fromstring
- date_tostring
- repostring
- run_scopestringOne of:
"all""default_branch""merge_queue""pull_request" - source_idstring
- workflow_namestring
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_runner_costsExample response
Status 200
Status 400 Missing workflow_name/repo, or invalid date, run_scope, or source_id.
Retrieve engineering analytics workflow runner
A workflow's estimated CI cost broken down by runner tier over a window (date_from default -30d), highest spend first. Optionally scope to a single git branch via branch or one run group via run_scope. Returns an empty list when the job-level source isn't synced.
Required API key scopes
engineering_analytics:readQuery parameters
- branchstring
- date_fromstring
- date_tostring
- repostring
- run_scopestringOne of:
"all""default_branch""merge_queue""pull_request" - source_idstring
- workflow_namestring
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_runner_costsExample response
Status 200
Status 400 Missing workflow_name/repo, or invalid date, run_scope, or source_id.
Retrieve engineering analytics workflow
Runs of a single workflow within a repo over a window (date_from default -30d), newest first. Optionally scope to a single git branch via branch or to one run group via run_scope. Each row is run-level: per-job and per-step detail are not tracked yet. Use this as the GitHub 'workflow' page between the workflow list and a single run.
Required API key scopes
engineering_analytics:readQuery parameters
- branchstring
- date_fromstring
- date_tostring
- repostring
- run_scopestringOne of:
"all""default_branch""merge_queue""pull_request" - source_idstring
- workflow_namestring
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_runsExample response
Status 200
Status 400 Missing workflow_name/repo, or invalid date, run_scope, or source_id.
Retrieve engineering analytics workflow
Runs of a single workflow within a repo over a window (date_from default -30d), newest first. Optionally scope to a single git branch via branch or to one run group via run_scope. Each row is run-level: per-job and per-step detail are not tracked yet. Use this as the GitHub 'workflow' page between the workflow list and a single run.
Required API key scopes
engineering_analytics:readQuery parameters
- branchstring
- date_fromstring
- date_tostring
- repostring
- run_scopestringOne of:
"all""default_branch""merge_queue""pull_request" - source_idstring
- workflow_namestring
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_runs










