## Authentication

Placeholder for Hunter. One or two sentences on how every request is authenticated.

```text title="Authorization header"
Authorization: Bearer $ELLIPSIS_API_TOKEN
```

An invalid or revoked token returns `401`. A valid credential without access returns `403`.

## Create an API key

Create a key under **API > API keys** in the dashboard. Copy the secret when it is shown; it cannot be retrieved later.

Store the key in `ELLIPSIS_API_TOKEN`:

```bash
export ELLIPSIS_API_TOKEN="ellipsis_key_..."
```

[Authentication](/docs/api/authentication) covers permissions and revoking a key.

## Base URL

Placeholder for Hunter. One sentence on the base URL.

```text
https://api.ellipsis.dev/v1
```

## Guides

<span id="sdks" />
  - [Quick start](/docs/api/quick-start): Start your first agent session
  - [Authentication](/docs/api/authentication): Create and use an API key
  - [Python SDK](/docs/api/python-sdk): Handles, streaming, and typed errors
  - [TypeScript SDK](/docs/api/typescript-sdk): Handles, streaming, and typed errors
  - [MCP server](/docs/api/mcp): Use Ellipsis from Claude Code or Codex
  - [CLI](https://github.com/ellipsis-dev/cli#readme): Commands and flags
  - [Session events](/docs/api/session-events): Every event a session emits

## Reference

<span id="choose-a-resource" />
  - [Agents](/docs/api/agents): Create, edit, and start agents
  - [Sessions](/docs/api/sessions): Follow sessions and read their output
  - [Environments](/docs/api/environments): Define where agents run
  - [Secrets](/docs/api/secrets): Store credentials for environments
  - [Account](/docs/api/account): Check budgets, usage, and models
  - [Integrations](/docs/api/integrations): List connected services and repositories
  - [OpenAPI](/openapi.v1.json): Full schema, including dashboard endpoints
