Retrieves the details of a single Deployment Run by ID.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /deployment_runs/{deployment_run_id}
Path parameters
| Field | Required | Type | Description |
|---|---|---|---|
deployment_run_id | Yes | string | Deployment Run ID |
Request example
Response example
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Deployment Run ID |
type | string | Always deployment_run |
deployment_id | string | Associated Deployment ID |
agent | object | Associated Agent; contains id and version |
session_id | string | null | Session ID; null until the async session creation completes |
trigger_source | string | Trigger source: manual or schedule |
status | string | Run status: running, succeeded, or failed |
error | object | null | Error info; returned only when the run fails |
started_at | string | Run start time, ISO 8601 |
finished_at | string | null | Run end time, ISO 8601; null while running |
request_id | string | Unique request identifier |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 400 | InvalidParameter | Required parameter missing or invalid |
| 401 | InvalidApiKey | Invalid API key provided |
| 404 | DEPLOYMENT_RUN_NOT_FOUND | Deployment run not found |