Pular para o conteúdo principal
GET
/
agents

Endpoint

GET https://gateway.orkeia.ai/agents

Cabeçalhos

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

Exemplo (cURL)

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

Respostas

Response - Success

[
  {
    "id": "agent123",
    "name": "Agente IA",
    "enabled": true, ...
  },
    {
    "id": "agent356",
    "name": "Agente IA 3",
    "enabled": true, ...
  },
    {
    "id": "agent678",
    "name": "Agente IA 2",
    "enabled": false, ...
  }
]

500 — Bad Request

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

400 — Client Error

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