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

# Authentication

> Authenticate Agent API requests with an API key.

# Authentication

All Agent API requests require an API key.

```http theme={null}
Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
```

Use the same header for submit, task status, result, and file endpoints.

## Unauthorized Response

```json theme={null}
{
  "code": 401,
  "error": {
    "message": "Invalid or missing API key",
    "type": "unauthorized"
  }
}
```
