Skip to main content
GET
Get the time an application's pipeline saved

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

application_id
string<uuid>
required

Query Parameters

window
enum<string>
default:30d

Whole UTC days ending today.

Available options:
7d,
30d

Response

The repository's savings over the window.

The CI time a repository's runs did not spend, and what its caches saved.

window
enum<string>
required
Available options:
7d,
30d
from
string<date-time>
required
to
string<date-time>
required
runs
integer
required

Runs that recorded a saving.

Required range: x >= 0
saved_seconds
integer
required

Estimated runner seconds not spent, the sum of every saving with an estimate.

Required range: x >= 0
saved_cpu_minutes
number | null
required

Requested CPU times duration, in CPU-minutes (one core for one minute). Null when no saving carried a CPU request.

Required range: x >= 0
estimated_count
integer
required

Savings with an estimate.

Required range: x >= 0
unknown_count
integer
required

Savings with no history to estimate from. They are never counted as time saved.

Required range: x >= 0
reasons
object[]
required
repositories
object[]
required
days
object[]
required
method
object
required

How every estimate in the body was made.

caches
PipelineCacheSavings · object | null
required

What each cache saved a run over the same window. Null when it could not be read (caches_unavailable_reason says why); the totals beside it were.

caches_unavailable_reason
enum<string> | null
required

Why caches is null: read_failed, the read failed and the server logged why. Null whenever caches is not.

Available options:
read_failed,
null