Skip to main content
GET
List automations
Lists automations for a given program. Results are paginated and returned in reverse-chronological order. Use search to find automations by name. Without a status filter, the list excludes terminal statuses (COMPLETED, FAILED, ARCHIVED); pass status explicitly to see them. Filter by trigger (the trigger.type), scope, status, and source. The source filter distinguishes automations created through the API (API), by a SCHEDULE_EVENT or BROADCAST rule action (RULE_ACTION), and by Scrip for tasks such as tier expiration (SYSTEM). The default list returns API and RULE_ACTION rows only; pass source=SYSTEM to see system rows. When you combine filters, results must match all of them.
For usage patterns and examples, see the Automations guide.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

program_id
string<uuid>
required

The program's id.

Query Parameters

trigger
enum<string>

Return only automations with this trigger type

Available options:
CRON,
ONE_TIME,
PARTICIPANT_STATE
scope
enum<string>

Return only automations with this scope

Available options:
PROGRAM,
PARTICIPANTS
status
enum<string>

Return only automations with this status

Available options:
ACTIVE,
PAUSED,
COMPLETED,
FAILED,
ARCHIVED
source
enum<string>

Return only automations created this way

Available options:
API,
RULE_ACTION,
SYSTEM

Search by automation name (partial match, ignoring case; % and _ match themselves)

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

created_after
string<date-time>

Return only records created after this time, RFC 3339.

created_before
string<date-time>

Return only records created before this time, RFC 3339.

Response

Paginated automations

One page of automations, with the pagination details for the next page.

data
object[]

The automations on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.