Check the status of a triggered task run. Returns the current status and, if complete, the task response data.
Your Recoup API key. Learn more.
The unique identifier of the task run to check
Task run status retrieved successfully
The current status of the task run
pending, complete, failed The task type identifier (e.g. 'setup-sandbox', 'run-sandbox-command')
When the task run was created
The response data from the completed task. Only present when status is complete. Structure varies based on the task type.
Error message describing why the task run failed. Only present when status is failed.
Structured metadata emitted by the task during execution. Contains currentStep (string) and logs (string array) for real-time progress tracking.
When the task run started executing
When the task run finished (null if still running)
Total duration in milliseconds (null if still running)