Block catalog
GET/api/v1/automations/catalog
curl -X GET 'https://www.unitpost.com/api/v1/automations/catalog' \
-H 'Authorization: Bearer YOUR_API_KEY' \
-H 'User-Agent: my-app/1.0'{
"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
}
}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.
Parameters3 fields
| Field | Type | Description |
|---|---|---|
automation_id | string · query | With `node_id`: the automation whose block's readable `paths` to add. |
node_id | string · query | With `automation_id`: the block id in its graph. |
section | string · query | `paths` returns only the block's paths; `blocks` only the blocks. |
Response · 200 fields1 field
| Field | Type | Description |
|---|---|---|
limits | object | The automation limits in force now (staff can change the runtime ones without a deploy): validate, publish and the engine check against these numbers. |