> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get a deployment run (global)

> Retrieve a single deployment run by ID without specifying the parent deployment.

`GET /api/v1/cloud/deployment_runs/{run_id}`

Retrieves a single Deployment Run by its ID without requiring the parent deployment ID in the path. This is a convenience endpoint for directly accessing a run when you already have its ID.

## Path parameters

| Parameter | Type   | Description                    |
| --------- | ------ | ------------------------------ |
| `run_id`  | string | Run ID with the `drun_` prefix |

## Headers

| Header          | Required | Description         |
| --------------- | -------- | ------------------- |
| `Authorization` | Yes      | `Bearer $QODER_PAT` |

## Example request

```bash theme={null}
curl -X GET "https://api.qoder.com/api/v1/cloud/deployment_runs/drun_019ec55a68af73028afa5b87931cb2f3" \
  -H "Authorization: Bearer $QODER_PAT"
```

## Example response

**HTTP 200 OK**

Returns a single Deployment Run object (same shape as the nested endpoint).

```json theme={null}
{
  "agent": {
    "id": "agent_019ebb21ef8e7df6a559052c94875160",
    "type": "agent",
    "version": 1
  },
  "created_at": "2026-06-14T08:58:17Z",
  "deployment_id": "dep_019ec55a2b687b3f94eee77dd77e4b2a",
  "error": null,
  "id": "drun_019ec55a68af73028afa5b87931cb2f3",
  "session_id": "sess_019ec55a68b37e1e8d660691af161ab4",
  "trigger_context": {
    "type": "manual"
  },
  "type": "deployment_run"
}
```

## Errors

| HTTP | Type                   | Trigger                |
| ---- | ---------------------- | ---------------------- |
| 401  | `authentication_error` | PAT invalid or expired |
| 404  | `not_found_error`      | Run does not exist     |

See [Errors](/cloud-agents/api/conventions/errors) for the full error envelope.

## Related

<CardGroup cols={2}>
  <Card title="Get a deployment run" icon="code" href="/cloud-agents/api/deployments/get-run">
    Fetch a run via the deployment + run ID path.
  </Card>

  <Card title="List all runs" icon="layer-group" href="/cloud-agents/api/deployments/list-all-runs">
    Query run history across all deployments.
  </Card>

  <Card title="List deployment runs" icon="list" href="/cloud-agents/api/deployments/list-runs">
    Query run history scoped to a single deployment.
  </Card>

  <Card title="Get a deployment" icon="rocket" href="/cloud-agents/api/deployments/get">
    Inspect deployment configuration and status.
  </Card>
</CardGroup>
