---
title: "List runs"
---

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

# List runs

Path: CloudRaker Paperwork API › Runs

`GET /v1/runs`

Lists your organization's runs, newest first.

Every run created through `/v1` appears here — extractions, parses, redactions, fills, signatures and pipelines alike — so this is the answer to "what has my integration been doing?".

**Filtering:**

| Parameter | Effect |
| --- | --- |
| `object` | One kind of run, e.g. `extract_run` |
| `status` | One state, e.g. `needs_input` |
| `metadata.<key>=<value>` | Exact match on the `metadata` you attached at create — up to 3 pairs, combined with AND |

```
GET /v1/runs?object=extract_run&status=processed&metadata.customerId=cus_42&limit=50
```

**Paging.** Up to 50 rows per page. When `has_more` is true, pass the returned `cursor` back as `?cursor=` for the next page; treat it as opaque.

> **Note:** This listing is eventually consistent — a row can lag a second or two behind the run itself. [GET /v1/runs/{id}](https://docs.cloudraker.com/paperwork/api/runs/get-run) reads the run directly and is always authoritative.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Query parameters

- `object` (`listRuns.query.object`; string, optional) — Only runs of this kind — `extract_run`, `parse_run`, `redact_run`, `fill_run`, `sign_run`, `classify_run`, `split_run` or `pipeline_run`.
  - one of `"extract_run"`, `"parse_run"`, `"redact_run"`, `"fill_run"`, `"sign_run"`, `"classify_run"`, `"split_run"`, `"pipeline_run"`
- `status` (`listRuns.query.status`; string, optional) — Only runs in this state.
  - one of `"processing"`, `"processed"`, `"failed"`, `"cancelled"`, `"expired"`, `"needs_input"`
- `limit` (`listRuns.query.limit`; integer, optional) — How many runs to return, 1–50.
  - min 1; max 50; default `20`
- `cursor` (`listRuns.query.cursor`; string, optional) — The `cursor` from the previous page. Opaque — pass it back unchanged.
  - minLength 1

## Code samples

### cURL

```bash
curl --request GET \
  --url https://api.cloudraker.com/v1/runs \
  --header 'Authorization: Bearer <token>'
```

### TypeScript

```typescript
const url = 'https://api.cloudraker.com/v1/runs';
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/v1/runs"

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

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

print(response.text)
```

## Responses

### 200

The runs.

#### Example

```json
{
  "object": "list",
  "data": [
    {
      "object": "extract_run",
      "id": "string",
      "status": "queued",
      "createdAt": "string",
      "expiresAt": "string",
      "statusUrl": "string",
      "metadata": {
        "property1": null,
        "property2": null
      },
      "kept": {
        "spaceId": "string",
        "keptAt": "string"
      }
    }
  ],
  "has_more": true,
  "cursor": "string"
}
```

- `object` (`listRuns.response.200.object`; string, required)
- `data` (`listRuns.response.200.data`; array<object>, required)
  - `object` (`listRuns.response.200.data.object`; string, required)
    - one of `"extract_run"`, `"parse_run"`, `"redact_run"`, `"fill_run"`, `"sign_run"`, `"classify_run"`, `"split_run"`, `"pipeline_run"`
  - `id` (`listRuns.response.200.data.id`; string, required)
  - `status` (`listRuns.response.200.data.status`; string, required) — Where the run is in its life. | Status | Meaning | | --- | --- | | `queued` | Accepted, not started | | `processing` | Work in flight | | `needs_input` | Waiting for an external action, such as an e-signature | | `processed` | Finished; `output` is populated | | `failed` | Finished unsuccessfully | | `cancelled` | Stopped on request | | `expired` | TTL elapsed and the data was purged | The last four are terminal.
    - one of `"queued"`, `"processing"`, `"processed"`, `"failed"`, `"cancelled"`, `"expired"`, `"needs_input"`
  - `createdAt` (`listRuns.response.200.data.createdAt`; string, required)
  - `expiresAt` (`listRuns.response.200.data.expiresAt`; string | null, required)
  - `statusUrl` (`listRuns.response.200.data.statusUrl`; string, required)
  - `metadata` (`listRuns.response.200.data.metadata`; map<unknown>, optional)
  - `kept` (`listRuns.response.200.data.kept`; object, optional)
    - `spaceId` (`listRuns.response.200.data.kept.spaceId`; string, required)
    - `keptAt` (`listRuns.response.200.data.kept.keptAt`; string, required)
- `has_more` (`listRuns.response.200.has_more`; boolean, required)
- `cursor` (`listRuns.response.200.cursor`; string, optional)

### 400

Invalid filter, `limit` or `cursor` (`invalid_request`).

### 429

Rate limited. The `/v1` API allows at least **67 requests per minute per organization** (about 1,000 requests per 15 minutes) — a guaranteed floor, enforced per edge location, so a geographically spread caller may get more. Wait for the `Retry-After` interval and retry — the error is `retryable`.

#### Example

```json
{
  "code": "rate_limited",
  "message": "string",
  "retryable": true,
  "requestId": "string",
  "docUrl": "string"
}
```

- `code` (`listRuns.response.429.code`; string, required)
  - one of `"rate_limited"`
- `message` (`listRuns.response.429.message`; string, required)
- `retryable` (`listRuns.response.429.retryable`; boolean, required)
  - one of `true`
- `requestId` (`listRuns.response.429.requestId`; string, required)
- `docUrl` (`listRuns.response.429.docUrl`; string, optional)


Source: https://docs.cloudraker.com/paperwork/api/runs/list-runs/index.md
