Skip to main content
GET
/
tasks
/
{taskId}
Get Task Result
curl --request GET \
  --url https://api.vexara.io/v1/tasks/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "taskId": "<string>",
  "agentId": "<string>",
  "status": "queued",
  "result": {},
  "cost": 123,
  "executionTime": 123,
  "createdAt": "2023-11-07T05:31:56Z",
  "completedAt": "2023-11-07T05:31:56Z"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Include the token in the Authorization header

Path Parameters

taskId
string
required

Response

200 - application/json

Task result retrieved

taskId
string
agentId
string
status
enum<string>
Available options:
queued,
processing,
completed,
failed
result
object

The output from the AI Agent

cost
number
executionTime
number

in milliseconds

createdAt
string<date-time>
completedAt
string<date-time>