reviews

Export job-level CI costs

Changed on
get/api/export/ci-costs

Request

  • The document declares no server URL.
  • Auth
    none declared

Query parameters

formatstring

Output format; only json is supported

sincestring

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)

limitinteger

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.

legacyboolean

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 uuid 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

    • breaking

      the // response's property format changed from no format to uuid for status

    • info

      added the required property // to the response with the status

    • info

      added the required property // to the response with the status