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

# Runs List

GET https://signalcore.ai/v1/runs

The organization's runs, newest first; tests only with `by=test`.

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

## Authentication

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

## Request

### Query parameters

- `agent` (string, optional, nullable)
- `automation` (string, optional, nullable)
- `by` (enum, optional, nullable)
  - Allowed values: `schedule`, `webhook`, `event`, `platform`, `agent`, `test`
- `status` (list of enum, optional, nullable)
  - Allowed values: `running`, `waiting`, `done`, `failed`, `skipped`
- `since` (datetime, optional, nullable)
- `before` (datetime, optional, nullable)
- `limit` (integer, optional, default: 50)

## Response

### 200

Successful Response

- `list of RunOut`

## Errors

### 422 Automations Runs List Request Unprocessable Entity Error

Validation Error

- `detail` (list of ValidationError, optional)

## Types

### 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`).

### ValidationError

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

### 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)

### ValidationErrorLocItem

## Examples

**Response**

```json
[
  {
    "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/runs"

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

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

print(response.json())
```