---
title: "Download the Fill Form review template PDF"
---

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

# Download the Fill Form review template PDF

Path: CloudRaker Workspace API › Space Runs

`GET /spaces/{spaceId}/runs/{runId}/task/pdf`

Streams the prepared template PDF bytes for a paused `fill-form` run's in-app review canvas — the field boxes in `getRunTask` were measured on exactly these bytes. Requires `space:read` (denied → 404); a consumed or expired task, or a non-fill-form run, also returns 404. This is a binary byte stream, not JSON; its `content-type`, status, and headers are preserved.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `spaceId` (`getSpaceRunTaskPdf.path.spaceId`; string, required)
- `runId` (`getSpaceRunTaskPdf.path.runId`; string, required)

## Code samples

### cURL

```bash
curl --request GET \
  --url 'https://api.cloudraker.com/spaces/<spaceId>/runs/<runId>/task/pdf' \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/spaces/<spaceId>/runs/<runId>/task/pdf';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

fetch(url, options)
  .then(res => res.json())
  .then(json => console.log(json))
  .catch(err => console.error(err));
```

### Python

```python
import requests

url = "https://api.cloudraker.com/spaces/<spaceId>/runs/<runId>/task/pdf"

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers)

print(response.text)
```

## Responses

### 200

The prepared template PDF bytes.

#### Example

```text
string
```


Source: https://docs.cloudraker.com/workspace/api/space-runs/get-space-run-task-pdf/index.md
