When to use live, async or schedule modes.
CREATED
: The run or schedule has been created but not yet queued for execution.INVALID
: The run or schedule is invalid (e.g., due to bad input or configuration).QUEUED
: The run is waiting in the queue to be executed.SCHEDULED
: The run is scheduled to execute at a future time (applies to scheduled/CRON jobs).BLOCKED
: The run is blocked, usually due to dependencies or resource limits.STOPPED
: The run was stopped before completion (manually or by the system).RUNNING
: The run is currently in progress.FAILED
: The run has failed.PARTIAL_SUCCEEDED
: The run completed with some errors, but partial results are available.SUCCEEDED
: The run completed successfully.429 Too Many Requests
response, you will need to implement your own retry logic to handle rate limiting and continue fetching results.
When using live
(synchronous) mode, you are responsible for implementing pagination in your integration. The API will return results in pages, and you must request subsequent pages as needed.
results
field, which contains the data you requested.async
and schedule
modes deliver results via the callback URL provided in your request.Consistent Format: All execution modes use the same action logic, so inputs and results are identical regardless of mode.Error Handling: Errors follow the standard API error format.Action | Method | Endpoint | Description |
---|---|---|---|
List all runs | GET | /v4/runs | Retrieve a list of all runs, with filtering and pagination options. |
Get a run | GET | /v4/runs/{run_uid} | Fetch detailed information and status for a specific run using its unique identifier. |
Resume a run | POST | /v4/runs/{run_uid}/resume | Resume a paused or stopped run. Provide the run UID and the desired action (e.g., resume ). |
schedule
mode, a CRON-job is created.0 9 * * 1-5
— Every weekday (Monday to Friday) at 9:00 AM30 2 * * *
— Every day at 2:30 AM0 0 1 * *
— On the first day of every month at midnight*/15 * * * *
— Every 15 minutesAction | Method | Endpoint | Description |
---|---|---|---|
List all schedules | GET | /v4/schedules | Retrieve a list of all schedules, with filtering and pagination options. |
Get a schedule | GET | /v4/schedules/{scheduled_run_uid} | Fetch detailed information and status for a specific schedule using its unique identifier. |
Manage a schedule | POST | /v4/schedules/{scheduled_run_uid}/{action} | Update, pause, resume, or delete a schedule. Provide the schedule UID and the desired action. |