Skip to main content
GET
/
v2
/
agents
/
{agent_key}
/
tasks
/
{task_id}
Retrieve a specific agent task
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": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

agent_key
string
required
task_id
string
required

Response

Agent task retrieved

id
string
required
contextId
string
required
kind
enum<string>
required
Available options:
task
status
object
required
history
any[]
required
artifacts
any[]
metadata
object