Skip to main content

Endpoint

Authentication

This endpoint requires authentication via API key. Include your API key in the X-API-Key header:

Path Parameters

Request Example

Response

Success Response

Status Code: 200 OK

Response Fields

Task Object Fields

Step Run Object Fields

Variable Object Fields

Used in both step_runs[].variables and the top-level variables array.

Error Responses

401 Unauthorized

Returned when authentication fails. See the authentication errors section for details.

404 Not Found

Returned when the task doesn’t exist or you don’t have access to it.

500 Internal Server Error

Returned when the request fails due to a server error.

Notes

Poll this endpoint periodically to monitor task progress. The status field can be one of: created, in_progress, pending, completed, cancelled, failed, archived, rejected, or on_hold.
Use current_step_id and current_step_type to understand which step the workflow is currently executing. If current_step_type is "approval", you can use the Get Approval Details endpoint for more information about the approval step.

Use Cases

This endpoint is useful for:
  • Status monitoring - Track workflow progress and completion
  • Variable retrieval - Get values collected during workflow execution
  • Step history - Review which steps have run and what data each collected
  • Debugging - Understand where a workflow is stuck or failed
  • User notifications - Display current workflow status in your application