Skip to main content
GET
CI costs by repository, pipeline or job

Query Parameters

from
string<date>
required

First day of the range (UTC), inclusive.

to
string<date>
required

Last day of the range (UTC), inclusive. Must be on or after from; the range covers at most 400 days.

executionEnvironmentId
string | null

Only jobs that ran in this execution environment.

codeSourceId
string | null

Only GitHub Actions jobs of this code source (repository). Returns 403 when the caller cannot read it.

pipelineId
string | null

Only steps of this pipeline. Returns 403 when the caller cannot read it.

source
enum<string> | null

Only jobs from this source. Where a job ran from: a GitHub Actions job on a Ravion runner, or a pipeline step.

Available options:
github_actions,
pipeline
runnerSize
string | null

Only jobs booked at this runner size, as Job.runnerSize labels it (for example "8 vCPU / 32 GiB").

conclusion
enum<string> | null

Only jobs that ended this way. How a job ended.

Available options:
success,
failure,
cancelled,
timed_out,
skipped
scopeId
string | null

With name (and source), only one workflow job or pipeline step: the code source ID for GitHub Actions jobs, the pipeline ID for pipeline steps.

name
string | null

With scopeId, only the workflow job or pipeline step of this name, as Workload.name gives it.

groupBy
enum<string>
required

How /ci/analytics/costs/breakdown groups costs.

Available options:
repository,
pipeline,
job
limit
integer<int32> | null

How many items to return, 1 to 100. Defaults to 25.

Required range: 1 <= x <= 100

Response

The request has succeeded.

data
object[]
required