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 saved over a window of whole UTC days ending today.

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.