POST
/
workflows
/
run
{
  "workflow_run_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "task_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "workflow_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "status": "running",
    "outputs": {},
    "error": "<string>",
    "elapsed_time": 123,
    "total_tokens": 123,
    "total_steps": 0,
    "created_at": 123,
    "finished_at": 123
  }
}

Authorizations

Authorization
string
header
required

API Key authentication.

Body

application/json

Response

200
application/json

Successful workflow execution. Structure depends on response_mode.

  • blocking: application/json with WorkflowCompletionResponse.
  • streaming: text/event-stream with ChunkWorkflowEvent stream.

Response for blocking mode workflow execution.