API Reference
Execute Workflow
Execute a workflow definition.
This creates a WorkflowExecution and starts a Temporal workflow
that will dynamically load the steps and execute them.
Requires: X-API-Key header for authentication
Body (optional):
{
"input_config": {
"type": "single_file",
"file_url": "https://example.com/file.pdf"
}
}
or
{
"input_config": {
"type": "file_list",
"file_urls": ["https://example.com/file1.pdf", "https://example.com/file2.pdf"]
}
}
POST
Execute Workflow
Documentation Index
Fetch the complete documentation index at: https://documentation.datalab.to/llms.txt
Use this file to discover all available pages before exploring further.
Previous
Get Execution StatusGet the status and results of a workflow execution.
Returns execution status and step data keyed by unique_name.
For completed or failed steps, output data is provided as presigned URLs
since outputs can be large/complex.
Users can poll this endpoint until status is COMPLETED or FAILED.
Response:
{
"execution_id": 123,
"workflow_id": 456,
"status": "IN_PROGRESS" | "COMPLETED" | "FAILED" | "QUEUED" | "PENDING",
"created": "2025-10-22T10:00:00",
"updated": "2025-10-22T10:05:00",
"steps": {
"parse": {
"status": "COMPLETED",
"started_at": "2025-10-22T10:00:00",
"completed_at": "2025-10-22T10:02:00",
"output_url": "https://presigned-url-to-output.json"
},
"extract": {
"status": "IN_PROGRESS",
"started_at": "2025-10-22T10:02:00"
},
"segment": {
"status": "PENDING"
}
}
}
Next
Execute Workflow