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

# 인증

> 모든 클라이언트 요청에는 Bearer 토큰이 필요합니다.

모든 요청에 API 키를 Bearer 토큰으로 보내세요.

```bash theme={null}
curl "$BASE/v1/async/task/$TASK_ID" \
  -H "Authorization: Bearer $API_KEY"
```

키가 없거나 틀리면 `401`을 반환합니다.

```json theme={null}
{
  "success": false,
  "error": {
    "code": "UNAUTHORIZED",
    "message": "Invalid API key",
    "timestamp": "2026-07-09T04:12:00.000Z"
  }
}
```

## 인증이 필요한 엔드포인트

| 엔드포인트 | 인증 |
| - | - |
| `POST /v1/async/task` | Bearer |
| `POST /v1/async/task/batch` | Bearer |
| `GET /v1/async/task/{id}` | Bearer |
| `GET /stats` | Bearer |
| `GET /capacity` | Bearer |
| `GET /health` | 없음 (liveness 확인용) |
| `GET /ready` | 없음 (readiness 확인용) |

## 키 발급

키는 온보딩 과정에서 발급합니다. 접근을 요청하려면 [querying.ai](https://querying.ai)로 문의하세요.
