---
title: "List the organization’s automations"
---

> 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 the organization’s automations

Path: CloudRaker Workspace API › Org Automations

`GET /organization/automations`

Lists every automation with its cadence, next fire time, last run and runtime badge. Trigger secrets are NEVER returned — `trigger.secretPreview` shows the last four characters only. Authorization: any organization member.

## Authentication

- `bearerAuth`, http, header `Authorization`

## Code samples

### cURL

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

### TypeScript

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

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

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

print(response.text)
```

## Responses

### 200

The organization’s automations.

#### Example

```json
{
  "automations": [
    {
      "_id": "string",
      "name": "string",
      "description": "string",
      "kind": "agent_task",
      "enabled": true,
      "playbookId": "string",
      "prompt": "string",
      "fileIds": [
        "string"
      ],
      "spaceId": "string",
      "threadId": "string",
      "threadPolicy": "reuse",
      "runAs": "string",
      "createdBy": "string",
      "organizationId": "string",
      "schedule": {
        "kind": "cron",
        "expression": "0 9 * * 1-5",
        "timezone": "Europe/Paris"
      },
      "nextRunAt": "string",
      "lastFiredAt": "string",
      "lastRunStatus": "started",
      "lastRunId": "string",
      "trigger": {
        "enabled": true,
        "secretPreview": "whsec_…9f3a",
        "secretRotatedAt": "string"
      },
      "originThreadId": "string",
      "createdAt": "string",
      "updatedAt": "string",
      "runtimeStatus": "idle",
      "cadence": "string",
      "triggerRef": "string"
    }
  ]
}
```

- `automations` (`listAutomations.response.200.automations`; array<object>, required)
  - `_id` (`listAutomations.response.200.automations._id`; string, required)
  - `name` (`listAutomations.response.200.automations.name`; string, required)
  - `kind` (`listAutomations.response.200.automations.kind`; string, required)
    - one of `"agent_task"`
  - `enabled` (`listAutomations.response.200.automations.enabled`; boolean, required)
  - `playbookId` (`listAutomations.response.200.automations.playbookId`; string, required)
  - `prompt` (`listAutomations.response.200.automations.prompt`; string, required)
  - `spaceId` (`listAutomations.response.200.automations.spaceId`; string, required)
  - `threadPolicy` (`listAutomations.response.200.automations.threadPolicy`; string, required)
    - one of `"reuse"`, `"new"`
  - `runAs` (`listAutomations.response.200.automations.runAs`; string, required)
  - `createdBy` (`listAutomations.response.200.automations.createdBy`; string, required)
  - `organizationId` (`listAutomations.response.200.automations.organizationId`; string, required)
  - `schedule` (`listAutomations.response.200.automations.schedule`; one of, required)
    - one of:
      - `object`
        - `kind` (`listAutomations.response.200.automations.schedule.1.kind`; string, required)
        - `expression` (`listAutomations.response.200.automations.schedule.1.expression`; string, required)
          - example `"0 9 * * 1-5"`
        - `timezone` (`listAutomations.response.200.automations.schedule.1.timezone`; string, required)
          - example `"Europe/Paris"`
      - `object`
        - `kind` (`listAutomations.response.200.automations.schedule.2.kind`; string, required)
        - `at` (`listAutomations.response.200.automations.schedule.2.at`; 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))$`; example `"2026-08-14T15:00:00.000Z"`
      - `object`
        - `kind` (`listAutomations.response.200.automations.schedule.3.kind`; string, required)
  - `nextRunAt` (`listAutomations.response.200.automations.nextRunAt`; string | null, required)
  - `trigger` (`listAutomations.response.200.automations.trigger`; object, required)
    - `enabled` (`listAutomations.response.200.automations.trigger.enabled`; boolean, required)
    - `secretPreview` (`listAutomations.response.200.automations.trigger.secretPreview`; string, required)
      - example `"whsec_…9f3a"`
    - `secretRotatedAt` (`listAutomations.response.200.automations.trigger.secretRotatedAt`; string, optional)
  - `createdAt` (`listAutomations.response.200.automations.createdAt`; string, required)
  - `updatedAt` (`listAutomations.response.200.automations.updatedAt`; string, required)
  - `runtimeStatus` (`listAutomations.response.200.automations.runtimeStatus`; string, required)
    - one of `"idle"`, `"disabled"`, `"needs_input"`, `"blocked"`, `"error"`
  - `cadence` (`listAutomations.response.200.automations.cadence`; string, required)
  - `triggerRef` (`listAutomations.response.200.automations.triggerRef`; string, required)
  - `description` (`listAutomations.response.200.automations.description`; string, optional)
  - `fileIds` (`listAutomations.response.200.automations.fileIds`; array<string>, optional)
  - `threadId` (`listAutomations.response.200.automations.threadId`; string, optional)
  - `lastFiredAt` (`listAutomations.response.200.automations.lastFiredAt`; string, optional)
  - `lastRunStatus` (`listAutomations.response.200.automations.lastRunStatus`; string, optional)
    - one of `"started"`, `"success"`, `"busy"`, `"needs_input"`, `"blocked"`, `"error"`
  - `lastRunId` (`listAutomations.response.200.automations.lastRunId`; string, optional)
  - `originThreadId` (`listAutomations.response.200.automations.originThreadId`; string, optional)


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