---
title: "Block catalog"
description: "Every block kind an automation graph can contain: its config fields (required/optional, allowed values, meaning), its outputs (readable by later blocks as steps.<node_id>.output.<key>), and its outgoing handles — plus the condition operators and run-context path scopes. `GET /api/v1/automations/catalog`"
url: https://www.unitpost.com/docs/automations/get-automations-catalog
section: "Automations API reference"
updated: 2026-12-01
---
# Block catalog

`GET /api/v1/automations/catalog`

Every block kind an automation graph can contain: its config fields (required/optional, allowed values, meaning), its outputs (readable by later blocks as `steps.<node_id>.output.<key>`), and its outgoing handles — plus the condition operators and run-context path scopes. Read this before authoring a `definition`. With `automation_id` and `node_id` it adds `paths`: the exact data paths that block may read (your custom contact fields, the event's payload keys your backend has sent, earlier blocks' outputs). `limits` is every automation limit in force now (blocks per graph, action steps per run, runs per contact an hour, the frequency cap's defaults, the longest wait and run, runs in progress, backfill size and pace, archive retention, event names). Requires the `automations:read` capability.

## Parameters

| Name | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `automation_id` | query | string | no | With `node_id`: the automation whose block's readable `paths` to add. |
| `node_id` | query | string | no | With `automation_id`: the block id in its graph. |
| `section` | query | string | no | `paths` returns only the block's paths; `blocks` only the blocks. One of: `all`, `blocks`, `paths`. |

## Response fields (200)

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `limits` | object | no | The automation limits in force now (staff can change the runtime ones without a deploy): validate, publish and the engine check against these numbers. |

## Responses

| Status | Description |
| --- | --- |
| 200 | The block catalog. |
| 401 | Missing or invalid API key. |
| 403 | Insufficient scope. |
| 404 | `automation_id` isn't an automation in this workspace, or `node_id` isn't a block in its draft (the message lists its blocks). |
| 422 | `automation_id` without `node_id` (or the reverse), an unknown `section`, or a draft with no trigger chosen yet. |

## Example request

```bash
curl -X GET 'https://www.unitpost.com/api/v1/automations/catalog' \
  -H 'Authorization: Bearer YOUR_API_KEY' \
  -H 'User-Agent: my-app/1.0'
```

## Example response (200)

```json
{
  "limits": {
    "max_blocks_per_automation": 0,
    "max_action_steps_per_run": 0,
    "runs_per_contact_per_hour": 0,
    "runs_without_contact_per_hour": 0,
    "marketing_emails_per_contact_per_day": 0,
    "marketing_sms_per_contact_per_day": 0,
    "max_wait_days": 0,
    "max_run_lifetime_days": 0,
    "max_active_runs_per_automation": 0,
    "max_live_runs_per_workspace": 0,
    "backfill_max_contacts": 0,
    "backfill_per_minute": 0,
    "archive_retention_days": 0,
    "max_event_names": 0
  }
}
```

## Links

- HTML reference (with Node.js, Python, Ruby, PHP, Laravel, Go, Java, Rust, .NET and CLI examples): https://www.unitpost.com/docs/automations/get-automations-catalog
- OpenAPI 3.1 (full schemas): https://www.unitpost.com/api/v1/openapi.json
