Skip to main content
GET
/
sectors
/
history

Endpoint

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

Example (cURL)

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

Responses

Response - Success

response
{
  "status": "OK",
  "data": [
    {
      "id": "hist_001",
      "sectorId": "SECTOR_12345",
      "responsible": "[email protected]",
      "action": "created sector",
      "type": "success",
      "date": "2024-07-22T14:25:18.000Z"
    }
  ]
}

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.
sectorIdstringIdentifier of the sector associated with the event.
responsiblestringName/username responsible for the change.
actionstringRegistered action (e.g., created sector, updated sector, deleted sector)
typestringClassification of the event (success, fail, neutral).
dateDateDate and time of the change.