---
title: "Get processing status / results"
---

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

# Get processing status / results

Path: CloudRaker Paperwork API › Process

`GET /process/{id}`

Returns the pipeline status and, via `?include=content,results,evidence` and `?format=json|markdown`, the inlined parsed content, action results and grounding evidence. 410 once the TTL has expired (grace window), 404 after grace or for an unknown id.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `id` (`getProcess.path.id`; string, required)

## Query parameters

- `include` (`getProcess.query.include`; string, optional) — Comma-separated: `content`, `results`, `evidence`.
  - example `"content,results"`
- `format` (`getProcess.query.format`; string, optional) — Content representation for `include=content` (audio files have no markdown).
  - one of `"json"`, `"markdown"`; default `"json"`

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

Current status (and requested includes).

#### Example

```json
{
  "processingId": "string",
  "status": "preprocessing",
  "expiresAt": "2019-08-24T14:15:22Z",
  "files": [
    {
      "fileId": "string",
      "fileName": "string",
      "processingKind": "string",
      "status": "string",
      "error": "string",
      "content": null
    }
  ],
  "actions": [
    {
      "runId": "string",
      "installedActionId": "string",
      "status": "string",
      "error": "string",
      "result": null,
      "resultError": "string"
    }
  ]
}
```

- `processingId` (`getProcess.response.200.processingId`; string, required)
- `status` (`getProcess.response.200.status`; string, required)
  - one of `"preprocessing"`, `"running"`, `"done"`, `"failed"`, `"expired"`
- `expiresAt` (`getProcess.response.200.expiresAt`; string, required)
  - format `date-time`; pattern `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$`
- `files` (`getProcess.response.200.files`; array<object>, required)
  - `fileId` (`getProcess.response.200.files.fileId`; string, required)
  - `fileName` (`getProcess.response.200.files.fileName`; string, required)
  - `processingKind` (`getProcess.response.200.files.processingKind`; string | null, required)
  - `status` (`getProcess.response.200.files.status`; string, required)
  - `error` (`getProcess.response.200.files.error`; string, optional)
  - `content` (`getProcess.response.200.files.content`; unknown, optional) — Parsed file content, inlined when `?include=content`.
- `actions` (`getProcess.response.200.actions`; array<object>, required)
  - `runId` (`getProcess.response.200.actions.runId`; string | null, required)
  - `installedActionId` (`getProcess.response.200.actions.installedActionId`; string, required)
  - `status` (`getProcess.response.200.actions.status`; string, required)
  - `error` (`getProcess.response.200.actions.error`; string, optional)
  - `result` (`getProcess.response.200.actions.result`; unknown, optional) — Action result JSON, inlined when `?include=results` once the run is `done`. An extraction action returns the grounded result (`docs[]`, `fieldKeys`, `schema`; `docs[].evidence` only with `?include=evidence`). An action that produces a file — redact, fill, sign, generate, split — returns `{ output, files }`: its own report, plus `output.documentIds` resolved to `{id, name, url}` with ~1h download links. `null` means the action produced no result; a read that FAILED sets `resultError`.
  - `resultError` (`getProcess.response.200.actions.resultError`; string, optional) — The result could not be read (a platform hiccup, not your request). Poll again — the run itself is unaffected. Never returned together with a `result`.

### 400

Validation Error

#### Example

```json
{
  "success": false,
  "error": [
    null
  ],
  "data": null
}
```

- `success` (`getProcess.response.400.success`; boolean, required)
  - one of `false`
- `error` (`getProcess.response.400.error`; array<unknown>, required)
- `data` (`getProcess.response.400.data`; unknown, required)

### 404

Unknown processing id.

### 410

Processing expired (within grace window).


Source: https://docs.cloudraker.com/paperwork/api/process/get-process/index.md
