---
url: /build/rest-api.md
description: Why there is no public REST API with keys today, and what to build on.
---

# REST API

Planned

DutyGraph's app runs on about 500 server routes. They are made for the app itself: they use the browser's sign-in cookie and a CSRF token, not API keys.

::: warning No public REST API with keys today
Build on [MCP](mcp.md) or the [CLI](cli.md). Both run with your own access and are supported for outside use.
:::

A keyed REST API with an OpenAPI reference is a roadmap item. When it exists, its reference lives on this page.

The engineering inventory of the app's routes is in the repository at `docs/API-REFERENCE.md`. Treat those routes as internal: they can change without notice.
