Endpoint
Authentication
All requests must include a valid API key in theAuthorization header.
Query Parameters
Filter automations by direction. Accepted values are
incoming (automations that receive data into Stairoids) or outgoing (automations that push data to external tools).Filter by activation state. Pass
true to return only active automations, or false to return only paused ones. Omit to return all automations regardless of state.The maximum number of automations to return per page. Accepts values between
1 and 100. Defaults to 50.An opaque pagination cursor returned in the
next_cursor field of a previous response. Pass this value to retrieve the next page of results.Request Example
Response Fields
An ordered list of automation objects matching your query filters.
A cursor string to pass as the
cursor query parameter to fetch the next page. null when you have reached the last page.The total count of automations matching the applied filters, regardless of pagination.
Example Response
When
next_cursor is null in the response, you have retrieved all pages. Each cursor is valid for 10 minutes — begin a fresh request if your cursor expires.HTTP Status Codes
| Status | Meaning |
|---|---|
200 OK | Request succeeded. The automations array may be empty if no results match your filters. |
400 Bad Request | An invalid query parameter was supplied (e.g., unrecognised type value). |
401 Unauthorized | The API key is missing or invalid. |
429 Too Many Requests | You have exceeded the rate limit. Slow down and retry after the duration in Retry-After. |