> This page is for Referencia de la API.

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

# List 

GET https://signalcore.ai/v1/agents/{agent_id}/automations

Reference: https://signalcore.ai/docs/referencia/automatizaciones/list

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication of the form `Bearer <token>`, where token is your auth token.

## Request

### Path parameters

- `agent_id` (string, required)

## Response

### 200

Successful Response

- `list of AutomationOut`

## Errors

### 422 Automations List Request Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### AutomationOut

- `id` (string, required)
- `agent_id` (string, required)
- `name` (string, required)
- `title` (string, required)
- `summary` (string, required)
- `trigger` (TriggerView, required)
- `on` (boolean, required)
- `next_run_at` (datetime, required, nullable)
- `steps` (list of Step, required)
- `board` (Board, required, nullable) — What the automation moves: its table's rows counted by the value of one field.
- `state` (enum, required)
  - Allowed values: `active`, `paused`, `failing`
- `last_run` (RunOut, required, nullable)

### ValidationError

- `loc` (list of ValidationErrorLocItem, required)
- `msg` (string, required)
- `type` (string, required)
- `input` (any, optional)
- `ctx` (map from string to any, optional)

### TriggerView

- `kind` (enum, required)
  - Allowed values: `schedule`, `webhook`, `event`, `platform`
- `schedule` (string, required, nullable)
- `timezone` (string, required, nullable)
- `url` (string, required, nullable)
- `app` (string, required, nullable)
- `app_title` (string, required, nullable)
- `event` (string, required, nullable)
- `event_title` (string, required, nullable)
- `icon` (string, required, nullable)
- `decides` (boolean, optional, default: false)
- `channels` (list of string, optional, default: [])

### Step

- `name` (string, required)
- `uses` (list of Use, required)

### Board

What the automation moves: its table's rows counted by the value of one field.

- `table` (string, required)
- `title` (string, required)
- `field` (string, required)
- `counts` (list of Count, required)

### RunOut

- `id` (string, required)
- `agent_id` (string, required)
- `automation` (string, required)
- `title` (string, required)
- `by` (enum, required)
  - Allowed values: `schedule`, `webhook`, `event`, `platform`, `agent`, `test`
- `conversation_id` (string, required, nullable)
- `status` (enum, required)
  - Allowed values: `running`, `waiting`, `done`, `failed`, `skipped`
- `summary` (string, required, nullable)
- `error` (string, required, nullable)
- `dry` (boolean, required)
- `started_at` (datetime, required)
- `ended_at` (datetime, required, nullable)
- `tokens_in` (integer, required)
- `tokens_out` (integer, required)
- `opened` (list of string, required)
- `decision` (AppRunsDecisionOut, optional, nullable) — What a handler decided of a message (`sc.answer`, `sc.hold`, `sc.ignore`).

### ValidationErrorLocItem

### Use

- `kind` (enum, required)
  - Allowed values: `app`, `ai`, `agent`, `notify`, `send`, `data`, `http`
- `app` (string, required, nullable)
- `title` (string, required, nullable)
- `icon` (string, required, nullable)

### Count

- `value` (string, required)
- `count` (integer, required)

### AppRunsDecisionOut

What a handler decided of a message (`sc.answer`, `sc.hold`, `sc.ignore`).

- `kind` (enum, required)
  - Allowed values: `answer`, `hold`, `ignore`
- `reason` (string, required)

## Examples

**Response**

```json
[
  {
    "id": "id",
    "agent_id": "agent_id",
    "name": "name",
    "title": "title",
    "summary": "summary",
    "trigger": {
      "kind": "schedule",
      "schedule": "schedule",
      "timezone": "timezone",
      "url": "url",
      "app": "app",
      "app_title": "app_title",
      "event": "event",
      "event_title": "event_title",
      "icon": "icon",
      "decides": true,
      "channels": [
        "channels"
      ]
    },
    "on": true,
    "next_run_at": "2024-01-15T09:30:00Z",
    "steps": [
      {
        "name": "name",
        "uses": [
          {
            "kind": "app",
            "app": null,
            "title": null,
            "icon": null
          }
        ]
      }
    ],
    "board": {
      "table": "table",
      "title": "title",
      "field": "field",
      "counts": [
        {
          "value": "value",
          "count": 1
        }
      ]
    },
    "state": "active",
    "last_run": {
      "id": "id",
      "agent_id": "agent_id",
      "automation": "automation",
      "title": "title",
      "by": "schedule",
      "conversation_id": "conversation_id",
      "status": "running",
      "summary": "summary",
      "error": "error",
      "dry": true,
      "started_at": "2024-01-15T09:30:00Z",
      "ended_at": "2024-01-15T09:30:00Z",
      "tokens_in": 1,
      "tokens_out": 1,
      "opened": [
        "opened"
      ],
      "decision": {
        "kind": "answer",
        "reason": "reason"
      }
    }
  }
]
```

**SDK Code**

```python
import requests

url = "https://signalcore.ai/v1/agents/agent_id/automations"

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

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

print(response.json())
```