GET
/
task
/
{taskId}
/
run
/
result
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
      }
    ]
  }
}
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
      }
    ]
  }
}

Authorizations

x-api-key
string
header
required

Path Parameters

taskId
string
required

The ID of the task

Example:

"task_123"

Query Parameters

runId
string

The ID of the run. If not provided, returns results of the most recent run.

Example:

"run_456"

Response

200 - application/json
Successful response
success
boolean

Indicates if the request was successful

Example:

true

data
object
error
string

Error message if the request failed