Skip to main content
GET /v1/deployment_runs Retrieves deployment runs across all deployments for the current user. This top-level endpoint is useful for monitoring all execution activity without filtering by a specific deployment.

Headers

HeaderRequiredDescription
AuthorizationYesBearer $QODER_PAT

Query parameters

ParameterTypeRequiredDescription
limitintegerNoMaximum number of records to return. Default 20, max 1000.
after_idstringNoCursor pagination: return records after this ID
before_idstringNoCursor pagination: return records before this ID
deployment_idstringNoFilter by Deployment ID
statusstringNoFilter by run status: pending, running, completed, failed, skipped
trigger_typestringNoFilter by trigger type: manual, schedule, retry
has_errorbooleanNoFilter runs with/without errors

Example request

curl -X GET "https://api.qoder.com/api/v1/cloud/deployment_runs?limit=2" \
  -H "Authorization: Bearer $QODER_PAT"

Example response

HTTP 200 OK
{
  "data": [
    {
      "agent": {
        "id": "agent_019ebb21ef8e7df6a559052c94875160",
        "type": "agent",
        "version": 1
      },
      "cas_run_extras": {
        "attempt": 1,
        "started_at": "2026-06-14T08:58:17.165588Z",
        "turn_id": "turn_019ec55a68b87a9dafad75c1554d1102"
      },
      "completed_at": "2026-06-14T08:58:34.433744Z",
      "created_at": "2026-06-14T08:58:17.13334Z",
      "deployment_id": "dep_019ec55a2b687b3f94eee77dd77e4b2a",
      "duration_ms": 17268,
      "error": null,
      "id": "drun_019ec55a68af73028afa5b87931cb2f3",
      "session_id": "sess_019ec55a68b37e1e8d660691af161ab4",
      "status": "completed",
      "trigger_context": {
        "type": "manual"
      },
      "triggered_at": "2026-06-14T08:58:17.13334Z",
      "type": "deployment_run"
    },
    {
      "agent": {
        "id": "agent_019ebb21ef8e7df6a559052c94875160",
        "type": "agent",
        "version": 1
      },
      "cas_run_extras": {
        "attempt": 1,
        "started_at": "2026-06-14T08:58:04.451126Z",
        "turn_id": "turn_019ec55a371778e78e5ebf118fb1821d"
      },
      "completed_at": "2026-06-14T08:58:19.973358Z",
      "created_at": "2026-06-14T08:58:04.43405Z",
      "deployment_id": "dep_019ec53748f7784bac33f208c0f66982",
      "duration_ms": 15522,
      "error": null,
      "id": "drun_019ec55a371470969dd48ce41fb2a7da",
      "session_id": "sess_019ec55a37157b049f3e7f3681b5ec15",
      "status": "completed",
      "trigger_context": {
        "type": "schedule"
      },
      "triggered_at": "2026-06-14T08:58:04.43405Z",
      "type": "deployment_run"
    }
  ],
  "first_id": "drun_019ec55a68af73028afa5b87931cb2f3",
  "has_more": true,
  "last_id": "drun_019ec55a371470969dd48ce41fb2a7da",
  "next_page": "drun_019ec55a371470969dd48ce41fb2a7da"
}

Response fields

FieldTypeDescription
dataarrayList of Deployment Run objects
first_idstringID of the first record on the current page
last_idstringID of the last record on the current page
has_morebooleanWhether more records are available
next_pagestring or nullCursor value for the next page (null when no more)
See Run a deployment for Deployment Run field descriptions.

Errors

HTTPTypeTrigger
401authentication_errorPAT invalid or expired
See Errors for the full error envelope.

Get a deployment run (global)

Fetch run details directly by run ID.

List deployment runs

Query run history scoped to a single deployment.

List deployments

View all deployments under the account.

Manually trigger a deployment

Kick off a deployment run immediately.