> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.cloudraker.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.cloudraker.com/_mcp/server.

# Get processing status / results

GET https://api.cloudraker.com/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.

Reference: https://docs.cloudraker.com/paperwork/api/process/get-process

## Authentication

- `Authorization` header (bearer token, required)

## Request

### Path parameters

- `id` (string, required)

### Query parameters

- `include` (string, optional) — Comma-separated: `content`, `results`, `evidence`.
- `format` (enum, optional, default: json) — Content representation for `include=content` (audio files have no markdown).
  - Allowed values: `json`, `markdown`

## Response

### 200

Current status (and requested includes).

- `processingId` (string, required)
- `status` (enum, required)
  - Allowed values: `preprocessing`, `running`, `done`, `failed`, `expired`
- `expiresAt` (datetime, required)
- `files` (list of object, required)
  - `fileId` (string, required)
  - `fileName` (string, required)
  - `processingKind` (string, required, nullable)
  - `status` (string, required)
  - `error` (string, optional)
  - `content` (any, optional) — Parsed file content, inlined when `?include=content`.
- `actions` (list of object, required)
  - `runId` (string, required, nullable)
  - `installedActionId` (string, required)
  - `status` (string, required)
  - `error` (string, optional)
  - `result` (any, 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` (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`.

## Examples

**Response**

```json
{
  "processingId": "string",
  "status": "preprocessing",
  "expiresAt": "2024-01-15T09:30:00Z",
  "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"
    }
  ]
}
```

**SDK Code**

```typescript
import { CloudRakerClient } from "@cloudraker/api";

async function main() {
    const client = new CloudRakerClient({
        token: "YOUR_TOKEN_HERE",
    });
    await client.process.getProcess({
        id: "id",
    });
}
main();

```

```python
from cloudraker import CloudRaker

client = CloudRaker(
    token="YOUR_TOKEN_HERE",
)

client.process.get_process(
    id="id",
)

```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.cloudraker.com/process/id"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.cloudraker.com/process/id")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.cloudraker.com/process/id")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.cloudraker.com/process/id', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.cloudraker.com/process/id");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cloudraker.com/process/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```