Skip to main content
GET
/
squads
/
history

Endpoint

GET https://gateway.orkeia.ai/squads/history Authentication
Requires header authorization: <your_token>.

Example (cURL)

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

Responses

Response - Success

response
{
  "status": "OK",
  "data": [
    {
      "id": "hist_001",
      "squadId": "SQUAD_1234",
      "responsible": "[email protected]",
      "action": "created squad",
      "type": "success",
      "date": "2024-07-01T12:00:00Z"
    }
  ]
}

500 — Server Error

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

400 — Client Error

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

History Fields

NameTypeDescription
idstringUnique identifier of the history event.
squadIdstringIdentifier of the squad associated with the event.
responsiblestringName/username responsible for the change.
actionstringRegistered action (e.g., created squad, updated squad, deleted squad).
typestringEvent classification (success, fail, neutral).
dateDateDate and time of the change.