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

# API Overview

RAX exposes internal API endpoints through Next.js API routes that power the dashboard and can be used for integration.

***

#### Current State <a href="#id-053c1f90-a522-4780-8447-97c793c2066e" id="id-053c1f90-a522-4780-8447-97c793c2066e"></a>

The API supports vault operations (create, deposit, withdraw, query state), allocation engine operations (evaluate, approve, reject, simulate), mandate management (create, update, read), and decision log retrieval.

The API is currently internal and authenticated through wallet connection. Endpoints follow the pattern:

/api/vault/\[action] /api/engine/\[action] /api/mandate/\[action]

All endpoints accept and return JSON.

***

#### Planned <a href="#d9a7cf02-f818-4e81-a676-89e9dd7b3189" id="d9a7cf02-f818-4e81-a676-89e9dd7b3189"></a>

A public API with formal authentication (API keys), rate limiting, versioning, and comprehensive endpoint documentation is planned. This will enable external integrations, third-party dashboards, and programmatic access to risk intelligence.
