> ## Documentation Index
> Fetch the complete documentation index at: https://docs.orkeia.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Detalhar Squad

> Retorna os detalhes de um squad específico.

## Endpoint

`GET https://gateway.orkeia.ai/squads/{id}`

**Autenticação**\
Requer cabeçalho `authorization:  <seu_token>`.

## Parâmetros de Caminho

| Nome | Tipo   | Obrigatório | Descrição                    | Exemplo     |
| ---- | ------ | ----------- | ---------------------------- | ----------- |
| id   | string | Sim         | Identificador único do squad | SQUAD\_1234 |

## Exemplo (cURL)

```bash theme={null}
curl -X GET "https://gateway.orkeia.ai/squads/SQUAD_1234" \
  -H "authorization:  <seu_token>"
```

## Respostas

### Response - Success

```json response theme={null}
{
  "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

```json theme={null}
{
  "status": "ERROR",
  "code": "server/error",
  "data": null
}
```

### 400 — Client Error

```json theme={null}
{
  "status": "ERROR",
  "code": "client/error",
  "data": null
}
```

## Campos

| Campo       | Tipo    | Descrição                  |
| ----------- | ------- | -------------------------- |
| id          | string  | ID do squad                |
| name        | string  | Nome                       |
| description | string  | Descrição                  |
| enabled     | boolean | Se está habilitado         |
| createdAt   | string  | Data de criação (ISO 8601) |
