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

# Listar Setores

> Retorna a lista de todos os setores cadastrados.

## Endpoint

`GET https://gateway.orkeia.ai/sectors`

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

## Exemplo (cURL)

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

## Respostas

### Response - Success

```json response theme={null}
{
  "status": "OK",
  "data": [
    {
      "id": "SECTOR_12345",
      "name": "Tecnologia",
      "description": "Setor de TI"
    }
  ]
}
```

### 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 setor   |
| name        | string | Nome do setor |
| description | string | Descrição     |
