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

> Retrieve a single deployment run by ID.

`GET /api/v1/cloud/deployments/{id}/runs/{run_id}`

Retrieves a single Deployment Run by its ID within a specific deployment.

## Path parameters

| Parameter | Type   | Description                          |
| --------- | ------ | ------------------------------------ |
| `id`      | string | Deployment ID with the `dep_` prefix |
| `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/deployments/dep_019ec55a2b687b3f94eee77dd77e4b2a/runs/drun_019ec55a68af73028afa5b87931cb2f3" \
  -H "Authorization: Bearer $QODER_PAT"
```

## Example response

**HTTP 200 OK**

Returns a single Deployment Run object.

```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`      | Deployment or Run does not exist |

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

## Related

<CardGroup cols={2}>
  <Card title="List deployment runs" icon="list" href="/cloud-agents/api/deployments/list-runs">
    View the run history of this deployment.
  </Card>

  <Card title="Get a deployment run (global)" icon="layer-group" href="/cloud-agents/api/deployments/get-run-global">
    Fetch a run without specifying its parent deployment.
  </Card>

  <Card title="Manually trigger a deployment" icon="play" href="/cloud-agents/api/deployments/run">
    Kick off a deployment run immediately.
  </Card>

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