> For the complete documentation index, see [llms.txt](https://docs.bitmind.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bitmind.ai/api-reference/authentication.md).

# Authentication

BitMind APIs use the same HTTP Bearer authentication format.

```http
Authorization: Bearer <YOUR_API_KEY>
```

## What changes between APIs

The header format is identical.

The accepted key type is different.

### API

`https://api.bitmind.ai`

Accepts standard API keys for normal platform usage.

These are typically universal service keys.

### Enterprise API

`https://enterprise.bitmind.ai`

Requires an enterprise API key.

These keys are enterprise-tier credentials.

Standard API keys are rejected with `401 Unauthorized`.

## API key authentication

Use API keys for server-to-server requests.

### Standard API example

```http
Authorization: Bearer your-api-key
```

### Enterprise API example

```http
Authorization: Bearer enterprise-your-key
```

## JWT authentication

Use JWTs for user-facing applications where supported.

```http
Authorization: Bearer your-jwt-token
```

## Headers

Some applications also send an application identifier header.

```http
x-bitmind-application: oracle-api
```

## Rate limits

* **API key users**: Based on subscription tier
* **JWT users**: `1` request/second with burst up to `5`

## Best practices

* Store tokens in environment variables or a secret manager.
* Never commit tokens to source control.
* Rotate long-lived credentials regularly.
* Use enterprise keys only against enterprise endpoints.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bitmind.ai/api-reference/authentication.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
