Pular para o conteúdo principal
GET
/
ai-models
/
history

Endpoint

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

Cabeçalhos

Requer cabeçalho authorization: <seu_token>.
authorization:  <seu_token>
Content-Type: application/json

Query string

ParâmetroTipoObrigatórioDescriçãoExemplo
laststringNãoCursor/offset da última página lida"hist_010"
limitstringNãoQuantidade por página"20"
fieldstringNãoCampo para ordenação"date"
direction`asc/desc`NãoDireção da ordenação"desc"

Corpo da requisição

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

Resposta (200)

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

Códigos de erro

500 — Server Error

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

400 — Client Error

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