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

# Introduction

> Qontext API Reference

# Base URL

All requests contain the following base URL:

```bash theme={null}
https://api.qontext.ai/v1
```

## Authentication

For authentication, it’s required to include an `X-API-Key` header. The header should contain your API Key, for example:

```bash theme={null}
X-API-Key: q_sk_2fd[...]896c
```

## Response codes

Qontext employs conventional HTTP status codes to signify the outcome of your requests.
Typically, 2xx HTTP status codes denote success, 4xx codes represent failures related to the user, and 5xx codes signal infrastructure problems.

| Status | Description                                  |
| :----- | :------------------------------------------- |
| 200    | Request was successful.                      |
| 400    | Verify the correctness of the parameters.    |
| 401    | The API key was not provided.                |
| 404    | The requested resource could not be located. |
| 5xx    | Signifies a server error with Qontext.       |
