Skip to main content
GET
/
squads
/
:id
/
history
Squad History
curl --request GET \
  --url https://api.example.com/squads/:id/history

Documentation Index

Fetch the complete documentation index at: https://docs.orkeia.ai/llms.txt

Use this file to discover all available pages before exploring further.

Endpoint

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

Path Parameters

NameTypeRequiredDescriptionExample
idstringYesUnique identifier of the squad.SQUAD_1234

Example (cURL)

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

Responses

Response - Success

response
{
  "status": "OK",
  "data": [
    {
      "id": "hist_002",
      "squadId": "SQUAD_1234",
      "action": "updated squad",
      "type": "neutral",
      "date": "2024-07-01T13: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.
actionstringRegistered action (e.g., created squad, updated squad, deleted squad).
typestringEvent classification (success, fail, neutral).
dateDateDate and time of the change.