# GET /api/v1/dashboards/models/drafts/{draft_id}

> Read a proposed model in full

- **Tag:** dashboards
- **Operation ID:** `get_model_draft_api_v1_dashboards_models_drafts__draft_id__get`

## Description

The complete plan behind a draft: **every** row of every sheet, the formula or resolved ledgers behind each one, and a sample column of real values.

The chat card shows a windowed version of this — long sheets are sampled from both ends — so this route is what backs 'show all rows' and a re-read of a plan whose card has been sitting open. It reports the draft's *live* remaining time, not the value it was rendered with, so an expired plan is discovered before the Build button is pressed rather than after.

## Authentication

Bearer token in `Authorization` header.
Required header: `x-business-id: <business uuid>`.

## Parameters

- `draft_id` (path, string, required)
- `full` (query, boolean, optional)

## Responses

### 200 — Successful Response

Schema: `SuccessEnvelope_ModelPlanResponse_`

- `success` (boolean)
- `message` (string)
- `code` (string)
- `data` (ModelPlanResponse)

### 400 — Bad Request - Invalid input

### 401 — Unauthorized - Authentication required

### 403 — Forbidden - Insufficient permissions

### 404 — Not Found - Resource does not exist

### 422 — Validation Error

Schema: `HTTPValidationError`

- `detail` (array · ValidationError) → `ValidationError`
  - `loc` (array · string | integer · required)
  - `msg` (string · required)
  - `type` (string · required)
  - `input` (object)
  - `ctx` (object)

## Code samples

### cURL

```bash
curl -X GET 'https://api.ondayzero.com/api/v1/dashboards/models/drafts/{draft_id}' \
  -H 'Authorization: Bearer dz_your_token' \
  -H 'x-business-id: YOUR_BUSINESS_ID'
```

### JavaScript

```javascript
const response = await fetch('https://api.ondayzero.com/api/v1/dashboards/models/drafts/{draft_id}', {
  method: 'GET',
  headers: {
    Authorization: 'Bearer dz_your_token',
    'x-business-id': 'YOUR_BUSINESS_ID',
  },
});
const data = await response.json();
```

### Python

```python
import httpx

headers = {
    "Authorization": "Bearer dz_your_token",
    "x-business-id": "YOUR_BUSINESS_ID",
}

response = httpx.get("https://api.ondayzero.com/api/v1/dashboards/models/drafts/{draft_id}", headers=headers)
data = response.json()
```

## See also

- HTML version: https://www.ondayzero.com/docs/reference/dashboards/get-model-draft
- OpenAPI slice: https://www.ondayzero.com/docs/reference/dashboards/get-model-draft/openapi.json
- Other endpoints in **dashboards**: https://www.ondayzero.com/docs/reference/dashboards
