Pular para o conteúdo principal
GET
/
agents
/
{id}
/
version-control

Endpoint

GET https://gateway.orkeia.ai/agents/{id}/version-control

Cabeçalhos

authorization:  <seu_token>
Content-Type: application/json

Parâmetros de caminho

{
  "id": "ID do agente (obrigatório)"
}

Exemplo (cURL)

curl -X GET "https://gateway.orkeia.ai/agents/agent123/version-control" \
  -H "authorization:  <seu_token>"

Respostas

Response - Success

{ "status": "OK",
  "data":[ {
    "id": "hist_001",
    "responsible": "Orkeia dev team",
    "responsibleId": "user_123",
    "action": "Criado agente de suporte",
    "type": "success",
    "date": "2025-08-22T18:32:45.000Z",
    "versionControl": "v1.0.0"
  }, {
    "id": "hist_002",
    "responsible": "Orkeia dev team",
    "responsibleId": "user_123",
    "action": "Deletado agente de suporte",
    "type": "success",
    "date": "2025-08-22T18:32:45.000Z",
    "versionControl": "v1.3.0"
  },
],
}

500 — Bad Request

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

400 — Client Error

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