curl --request GET \ --url 'http://localhost:2003/api/v1/task/task_123/run/result?runId=run_456' \ --header 'x-api-key: <your-api-key>'
{ "success": true, "data": { "status": "completed", "error": null, "output": { "summary": "Task completed successfully" }, "dataTable": [ { "title": "Sample Data", "value": 123 } ] } }
Get the results of a specific task run
The ID of the task
"task_123"
The ID of the run. If not provided, returns results of the most recent run.
"run_456"
Successful response
Indicates if the request was successful
true
Show child attributes
Status of the run
scheduled
running
completed
error
"completed"
Error message if the run failed
null
Output data from the completed run
{ "summary": "Task completed successfully" }
Array of documents collected during the run
[{ "title": "Sample Data", "value": 123 }]
Error message if the request failed