Engineering
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
GET | |
GET |
Retrieve engineering analytics workflow run
Compact per-run points for a single workflow over a window (date_from default -30d), newest first, for the run-activity chart: each run's start time, duration, conclusion, branch, and attributed PR. Optionally scope to a single git branch via branch, matching workflow_runs. Leaner and higher-capped than workflow_runs so the chart spans the full window even on busy workflows; truncated is true when the cap is hit, so the chart covers only the most recent runs.
Required API key scopes
engineering_analytics:readQuery parameters
- branchstring
- date_fromstring
- date_tostring
- repostring
- source_idstring
- workflow_namestring
Response
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_run_activityExample response
Status 200
Status 400 Missing workflow_name/repo, or invalid date or source_id.
Retrieve engineering analytics workflow run
Compact per-run points for a single workflow over a window (date_from default -30d), newest first, for the run-activity chart: each run's start time, duration, conclusion, branch, and attributed PR. Optionally scope to a single git branch via branch, matching workflow_runs. Leaner and higher-capped than workflow_runs so the chart spans the full window even on busy workflows; truncated is true when the cap is hit, so the chart covers only the most recent runs.
Required API key scopes
engineering_analytics:readQuery parameters
- branchstring
- date_fromstring
- date_tostring
- repostring
- source_idstring
- workflow_namestring
Response
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_run_activityExample response
Status 200
Status 400 Missing workflow_name/repo, or invalid date 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. 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
- 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 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. 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
- 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 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. 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
- 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 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. 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
- source_idstring
- workflow_namestring
Example request
GET /api /projects /:project_id /engineering_analytics /workflow_runs