Operations

List recent and in-flight operations

Changed on

Deployments, rollbacks, promotions, restores, backups and autofix runs the caller can see, newest first (created_at DESC, fixed). Finished operations older than 7 days are omitted; operations still in flight are always included. Redeploys are reported as deployment — no column distinguishes them.

get/operations

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/operations
  • Auth: HTTP bearer

Query parameters

pageinteger

Page number, 1-based (default 1).

page_sizeinteger

Items per page (default 20, max 100).

status'running' | 'finished' | 'all'

Which slice of the feed to return.

running (queued, running, waiting), finished (succeeded, failed, cancelled) or all (default).

kind'deployment' | 'rollback' | 'promotion' | 'restore' | 'backup' | 'autofix'

What kind of operation an entry describes.

Only operations of this kind.

project_idinteger

Only operations belonging to this project.

Response

A page of operations

pageinteger required
page_sizeinteger required
running_countinteger required

Queued, running and waiting operations matching the scope, kind and project_id filters — independent of the status filter, so the tray badge stays correct while browsing finished operations.

totalinteger required

Operations matching every filter.

Changes