Pular para o conteúdo principal
GET
/
squads
/
availables

Endpoint

GET https://gateway.orkeia.ai/squads/availables Autenticação
Requer cabeçalho authorization:  <seu_token>.

Exemplo (cURL)

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

Respostas

Response - Success

response
{
  "status": "OK",
  "data": [
    {
      "id": "SQUAD_1234",
      "name": "Equipe Alpha",
      "description": "Time responsável por integrações",
      "enabled": true,
      "createdAt": "2024-07-15T14:25:18.000Z"
    }
  ]
}

500 — Server Error

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

400 — Client Error

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

Campos

Campo      Tipo    Descrição                  
id          string  ID do squad                
name        string  Nome                      
descriptionstring  Descrição                  
enabled    booleanSe está habilitado        
createdAt  string  Data de criação (ISO 8601)