reviews

Export job-level CI costs

get/api/export/ci-costs

Query parameters

formatstring

Output format; only json is supported

Output format; only json is supported

sincestring

Inclusive finished_at lower bound (RFC3339 or YYYY-MM-DD)

Inclusive finished_at lower bound (RFC3339 or YYYY-MM-DD)

untilstring

Exclusive finished_at upper bound (RFC3339 or YYYY-MM-DD; date-only means through that UTC day)

Exclusive finished_at upper bound (RFC3339 or YYYY-MM-DD; date-only means through that UTC day)

limitinteger

Maximum jobs in this page

Maximum jobs in this page

cursorstring

Opaque next_cursor from a previous page. Resumes strictly after its (finished_at, job_id) position and retains the original time bounds; mutually exclusive with since and until.

Opaque next_cursor from a previous page. Resumes strictly after its (finished_at, job_id) position and retains the original time bounds; mutually exclusive with since and until.

legacyboolean

Export structurally identified pre-panel CI jobs. Cursors cannot be reused across modes.

Export structurally identified pre-panel CI jobs. Cursors cannot be reused across modes.

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

database_idstring required

Stable identity for the local review database; changes when the database is recreated.

generated_atstring required
legacyboolean required
next_cursorstring nullable required

Opaque resume cursor emitted when jobs is non-empty.

schema_versioninteger required
toolstring required
tool_versionstring required
truncatedboolean required

True when more matching rows are available immediately.

Example response

{
  "$schema": "https://example.com/ExportCICostDocument.json"
}

Changes

Changed in 2 of the 23 revisions of this API.3

    • added the required property jobs/items/experiments to the response with the 200 status

      response-required-property-added

    • added the required property jobs/items/resume_source_job_uuid to the response with the 200 status

      response-required-property-added

    • endpoint added

      endpoint-added