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

# Autenticação de agentes

> Como autenticar chamadas na API server-to-server de agentes.

## Header obrigatório

Todas as chamadas usam `X-API-Key` com chave privada no formato `qts-sk-...`.

```bash theme={null}
curl https://api.quintus.tec.br/v1/agent/sessions \
  -H "X-API-Key: SUA_API_KEY"
```

<Note>
  Crie ou gerencie suas API keys em [app.quintus.tec.br/settings/api-keys](https://app.quintus.tec.br/settings/api-keys). Para a API server-to-server, use chaves privadas no formato `qts-sk-...`.
</Note>

## Recomendações

* Mantenha a chave apenas no backend.
* Separe chaves por ambiente e integração.
* Rotacione credenciais periodicamente.
* Honre `Retry-After` em respostas `429`.
