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

# Authentication

> Authenticate with the Zetta API using bearer tokens.

Zetta APIs use bearer tokens.

## Get a key

Create keys at: [zettaai.co/dashboard/keys](https://www.zettaai.co/dashboard/keys)

## Header

```text theme={null}
Authorization: Bearer zt_live_your_key
```

## Example

```bash theme={null}
curl https://www.zettaai.co/api/v1/agent-books/aeon?range=30d \
  -H "Authorization: Bearer zt_live_your_key"
```

## Keep keys private

<Warning>
  Never publish API keys.
</Warning>

Do not publish API keys in:

* GitHub
* frontend code
* public docs
* screenshots
* Discord
* X posts

If a key leaks, revoke it from the dashboard immediately.

## Related

* [Agent-Scoped Keys](/build/agent-scoped-keys)
* [Agent Books API](/build/agent-books-api)
