Skip to main content
GET
/
ai-models
/
history

Endpoint

GET https://gateway.orkeia.ai/ai-models/history

Headers

Requires header authorization: <your_token>.
authorization:  <your_token>
Content-Type: application/json

Query string

ParameterTypeRequiredDescriptionExample
laststringNoCursor/offset of the last page read"hist_010"
limitstringNoAmount per page"20"
fieldstringNoField for sorting"date"
directionasc/descNoSorting direction"desc"

Request Body

{
  "environment": {
    "company": "acme-inc",
    "sector": "engineering"
  }
}

Response (200)

{
"status": "ok", 
"data": {
  "items": [
    {
      "id": "hist_001",
      "responsible": "System",
      "responsibleId": "system",
      "action": "created ai model",
      "type": "neutral",
      "date": "2025-08-22T18:32:45.000Z",
      "versionControl": "v1.0.0"
    }
  ],
  "next": "hist_010"
}

Error Codes

500 — Server Error

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

400 — Client Error

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