Skip to main content
GET
/
squads
/
:id
/
version-control

Endpoint

GET https://gateway.orkeia.ai/squads/{id}/version-control 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/version-control" \
  -H "authorization:  <your_token>"

Responses

Response - Success

response
{
  "status": "OK",
  "data": [
    { "version": 1, "timestamp": "2024-07-01T12:00:00Z" },
    { "version": 2, "timestamp": "2024-07-10T09:30:00Z" }
  ]
}

500 — Server Error

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

400 — Client Error

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

Fields

FieldTypeDescription
versionnumberSequential number of the squad version.
timestampstringDate and time of version creation (ISO).