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

# List runs

GET https://api.cloudraker.com/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/api/cloud-raker-api/runs/get-run) reads the run directly and is always authoritative.
</Note>

Reference: https://docs.cloudraker.com/api/cloud-raker-api/runs/list-runs

## OpenAPI Specification

```yaml
openapi: 3.1.0
info:
  title: CloudRaker API
  version: 1.0.0
paths:
  /v1/runs:
    get:
      operationId: list-runs
      summary: List runs
      description: >-
        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/api/cloud-raker-api/runs/get-run)
        reads the run directly and is always authoritative.

        </Note>
      tags:
        - runs
      parameters:
        - name: object
          in: query
          description: >-
            Only runs of this kind — `extract_run`, `parse_run`, `redact_run`,
            `fill_run`, `sign_run` or `pipeline_run`.
          required: false
          schema:
            $ref: '#/components/schemas/V1RunsGetParametersObject'
        - name: status
          in: query
          description: Only runs in this state.
          required: false
          schema:
            $ref: '#/components/schemas/V1RunsGetParametersStatus'
        - name: limit
          in: query
          description: How many runs to return, 1–50. Defaults to 20.
          required: false
          schema:
            type: integer
            default: 20
        - name: cursor
          in: query
          description: >-
            The `cursor` from the previous page. Opaque — pass it back
            unchanged.
          required: false
          schema:
            type: string
        - name: Authorization
          in: header
          description: Bearer authentication
          required: true
          schema:
            type: string
      responses:
        '200':
          description: The runs.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/V1RunList'
        '400':
          description: Invalid filter, `limit` or `cursor` (`invalid_request`).
          content:
            application/json:
              schema:
                description: Any type
        '429':
          description: >-
            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`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ListRunsRequestTooManyRequestsError'
servers:
  - url: https://api.cloudraker.com
    description: Production
  - url: https://api.staging.raker.one
    description: Staging
  - url: https://api.dev.raker.one
    description: Development
components:
  schemas:
    V1RunsGetParametersObject:
      type: string
      enum:
        - extract_run
        - parse_run
        - redact_run
        - fill_run
        - sign_run
        - pipeline_run
      title: V1RunsGetParametersObject
    V1RunsGetParametersStatus:
      type: string
      enum:
        - processing
        - processed
        - failed
        - cancelled
        - expired
        - needs_input
      title: V1RunsGetParametersStatus
    V1RunListItemObject:
      type: string
      enum:
        - extract_run
        - parse_run
        - redact_run
        - fill_run
        - sign_run
        - pipeline_run
      title: V1RunListItemObject
    V1RunListItemStatus:
      type: string
      enum:
        - queued
        - processing
        - processed
        - failed
        - cancelled
        - expired
        - needs_input
      description: |-
        Where the run is in its life.

        | Status | Meaning |
        | --- | --- |
        | `queued` | Accepted, not started |
        | `processing` | Work in flight |
        | `needs_input` | Parked for a person — see `tasks[]` |
        | `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.
      title: V1RunListItemStatus
    V1RunListItemKept:
      type: object
      properties:
        spaceId:
          type: string
        keptAt:
          type: string
      required:
        - spaceId
        - keptAt
      title: V1RunListItemKept
    V1RunListItem:
      type: object
      properties:
        object:
          $ref: '#/components/schemas/V1RunListItemObject'
        id:
          type: string
        status:
          $ref: '#/components/schemas/V1RunListItemStatus'
          description: |-
            Where the run is in its life.

            | Status | Meaning |
            | --- | --- |
            | `queued` | Accepted, not started |
            | `processing` | Work in flight |
            | `needs_input` | Parked for a person — see `tasks[]` |
            | `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.
        createdAt:
          type: string
        expiresAt:
          type:
            - string
            - 'null'
        statusUrl:
          type: string
        metadata:
          type: object
          additionalProperties:
            description: Any type
        kept:
          $ref: '#/components/schemas/V1RunListItemKept'
      required:
        - object
        - id
        - status
        - createdAt
        - expiresAt
        - statusUrl
      title: V1RunListItem
    V1RunList:
      type: object
      properties:
        object:
          type: string
          enum:
            - list
        data:
          type: array
          items:
            $ref: '#/components/schemas/V1RunListItem'
        has_more:
          type: boolean
        cursor:
          type: string
      required:
        - object
        - data
        - has_more
      title: V1RunList
    V1RunsGetResponsesContentApplicationJsonSchemaCode:
      type: string
      enum:
        - rate_limited
      title: V1RunsGetResponsesContentApplicationJsonSchemaCode
    ListRunsRequestTooManyRequestsError:
      type: object
      properties:
        code:
          $ref: >-
            #/components/schemas/V1RunsGetResponsesContentApplicationJsonSchemaCode
        message:
          type: string
        retryable:
          type: boolean
        requestId:
          type: string
        docUrl:
          type: string
      required:
        - code
        - message
        - retryable
        - requestId
      title: ListRunsRequestTooManyRequestsError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

```

## Examples



**Request**

```json
{
  "metadata.customerId": "cus_42"
}
```

**Response**

```json
{
  "object": "list",
  "data": [
    {
      "object": "extract_run",
      "id": "run_8f3b2a1c-4d7e-4a9f-9b2e-1a2c3d4e5f6a",
      "status": "processed",
      "createdAt": "2024-06-10T15:22:30Z",
      "expiresAt": "2024-07-10T15:22:30Z",
      "statusUrl": "https://dashboard.cloudraker.com/runs/run_8f3b2a1c-4d7e-4a9f-9b2e-1a2c3d4e5f6a/status",
      "metadata": {
        "customerId": "cus_42",
        "project": "invoice_processing"
      },
      "kept": {
        "spaceId": "space_9d8f7e6c5b4a3",
        "keptAt": "2024-06-10T15:23:00Z"
      }
    }
  ],
  "has_more": true,
  "cursor": "eyJwYWdlIjoxLCJpZCI6InJ1bl85MTIzNDU2In0="
}
```

**SDK Code**

```python
import requests

url = "https://api.cloudraker.com/v1/runs"

querystring = {"object":"extract_run","status":"processed","limit":"50"}

payload = { "metadata.customerId": "cus_42" }
headers = {
    "Authorization": "Bearer <token>",
    "Content-Type": "application/json"
}

response = requests.get(url, json=payload, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://api.cloudraker.com/v1/runs?object=extract_run&status=processed&limit=50';
const options = {
  method: 'GET',
  headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
  body: '{"metadata.customerId":"cus_42"}'
};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

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

func main() {

	url := "https://api.cloudraker.com/v1/runs?object=extract_run&status=processed&limit=50"

	payload := strings.NewReader("{\n  \"metadata.customerId\": \"cus_42\"\n}")

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

	req.Header.Add("Authorization", "Bearer <token>")
	req.Header.Add("Content-Type", "application/json")

	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/v1/runs?object=extract_run&status=processed&limit=50")

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

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n  \"metadata.customerId\": \"cus_42\"\n}"

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/v1/runs?object=extract_run&status=processed&limit=50")
  .header("Authorization", "Bearer <token>")
  .header("Content-Type", "application/json")
  .body("{\n  \"metadata.customerId\": \"cus_42\"\n}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.cloudraker.com/v1/runs?object=extract_run&status=processed&limit=50', [
  'body' => '{
  "metadata.customerId": "cus_42"
}',
  'headers' => [
    'Authorization' => 'Bearer <token>',
    'Content-Type' => 'application/json',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.cloudraker.com/v1/runs?object=extract_run&status=processed&limit=50");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{\n  \"metadata.customerId\": \"cus_42\"\n}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "Authorization": "Bearer <token>",
  "Content-Type": "application/json"
]
let parameters = ["metadata.customerId": "cus_42"] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.cloudraker.com/v1/runs?object=extract_run&status=processed&limit=50")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```