---
title: "List an automation’s fire history"
---

> 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 an automation’s fire history

Path: CloudRaker Workspace API › Org Automations

`GET /organization/automations/{automationId}/runs`

One keyset page of fires, newest first: `started | success | busy | needs_input | blocked | error`, each with the thread it landed in. Unbounded history (no retention cap). Pass the previous page’s `nextCursor` to continue. Authorization: any organization member.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Path parameters

- `automationId` (`listAutomationRuns.path.automationId`; string, required)

## Query parameters

- `cursor` (`listAutomationRuns.query.cursor`; string, optional) — The previous page’s `nextCursor`.
- `limit` (`listAutomationRuns.query.limit`; integer, optional) — Rows per page.
  - min 1; max 100; default `25`

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

One page of fires.

#### Example

```json
{
  "runs": [
    {
      "_id": "string",
      "automationId": "string",
      "kind": "agent_task",
      "trigger": "schedule",
      "status": "started",
      "scheduledFor": "string",
      "startedAt": "string",
      "completedAt": "string",
      "threadId": "string",
      "runId": "string",
      "message": "string"
    }
  ],
  "nextCursor": "string"
}
```

- `runs` (`listAutomationRuns.response.200.runs`; array<object>, required)
  - `_id` (`listAutomationRuns.response.200.runs._id`; string, required)
  - `automationId` (`listAutomationRuns.response.200.runs.automationId`; string, required)
  - `kind` (`listAutomationRuns.response.200.runs.kind`; string, required)
    - one of `"agent_task"`
  - `trigger` (`listAutomationRuns.response.200.runs.trigger`; string, required)
    - one of `"schedule"`, `"webhook"`, `"manual"`
  - `status` (`listAutomationRuns.response.200.runs.status`; string, required)
    - one of `"started"`, `"success"`, `"busy"`, `"needs_input"`, `"blocked"`, `"error"`
  - `startedAt` (`listAutomationRuns.response.200.runs.startedAt`; string, required)
  - `scheduledFor` (`listAutomationRuns.response.200.runs.scheduledFor`; string, optional)
  - `completedAt` (`listAutomationRuns.response.200.runs.completedAt`; string | null, optional)
  - `threadId` (`listAutomationRuns.response.200.runs.threadId`; string, optional)
  - `runId` (`listAutomationRuns.response.200.runs.runId`; string, optional)
  - `message` (`listAutomationRuns.response.200.runs.message`; string | null, optional)
- `nextCursor` (`listAutomationRuns.response.200.nextCursor`; string | null, required)


Source: https://docs.cloudraker.com/workspace/api/org-automations/list-automation-runs/index.md
