Learn how to launch, monitor, filter, and manage your runs using the Captain Data API.
/v4/actions/{action-name}/async
) with your desired parameters.live
(synchronous), async
(asynchronous), or schedule
(scheduled/CRON).live
mode, use the input
field to send a single input at a time (one by one).async
and schedule
modes, use the inputs
field to send up to 100,000 inputs in a single request.GET /v4/runs
to retrieve a list of runs.status
(e.g., SUCCEEDED
, FAILED
, etc.)action_name
(filter by specific action)execution_mode
(LIVE
or ASYNC
)uid
, user_uid
(workspace member that triggered the Run), workspace_uid
(filter by unique identifiers)limit
(default: 10, max: 100) and offset
(default: 0).sort
parameter. Prefix a field with -
for descending order (e.g., -created_at
). You can sort by fields like created_at
, status
, or updated_at
.GET /v4/runs/{run_uid}
with the run UID to fetch detailed information about a specific run, including its status, execution mode, timestamps, and any errors.POST /v4/runs/{run_uid}/resume
.resume
).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.