Skip to main content
GET
/
agents
/
{id}
/
history

Endpoint

GET https://gateway.orkeia.ai/agents/{id}/history

Headers

authorization:  <your_token>
Content-Type: application/json

Path Parameters

You need to pass the agent’s id via query params
{
  "id": "Agent ID (required)"
}

Example (cURL)

curl -X GET "https://gateway.orkeia.ai/agents/agent123/history" \
  -H "authorization:  <your_token>"

Responses

Response - Success

response
{
  "status": "OK",
  "data": {
    "id": "evt2",
    "agentId": "agent123",
    "action": "updated",
    "timestamp": "2024-07-01T13:00:00Z"
  }
}

500 — Bad Request

{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}

400 — Client Error

{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}