> ## 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.

# Detail Squad

> Returns the details of a specific squad.

## Endpoint

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

**Authentication**\
Requires header `authorization:  <your_token>`.

## Path Parameters

| Name | Type   | Required | Description                    | Example     |
| ---- | ------ | -------- | ------------------------------ | ----------- |
| id   | string | Yes      | Unique identifier of the squad | SQUAD\_1234 |

## Example (cURL)

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

## Responses

### 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
}
```

## Fields

| Field       | Type    | Description              |
| ----------- | ------- | ------------------------ |
| id          | string  | ID of the squad          |
| name        | string  | Name                     |
| description | string  | Description              |
| enabled     | boolean | Whether it is enabled    |
| createdAt   | string  | Creation date (ISO 8601) |
