Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
curl --request GET \
  --url https://api.orq.ai/v2/agents/{agent_key}/tasks/{task_id} \
  --header 'Authorization: Bearer <token>'{
  "id": "<string>",
  "contextId": "<string>",
  "kind": "task",
  "status": {
    "state": "<string>",
    "timestamp": "<string>",
    "message": "<any>"
  },
  "history": [
    "<any>"
  ],
  "artifacts": [
    "<any>"
  ],
  "metadata": {}
}Retrieves detailed information about a specific task for a given agent, including execution status and results.
curl --request GET \
  --url https://api.orq.ai/v2/agents/{agent_key}/tasks/{task_id} \
  --header 'Authorization: Bearer <token>'{
  "id": "<string>",
  "contextId": "<string>",
  "kind": "task",
  "status": {
    "state": "<string>",
    "timestamp": "<string>",
    "message": "<any>"
  },
  "history": [
    "<any>"
  ],
  "artifacts": [
    "<any>"
  ],
  "metadata": {}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Was this page helpful?