API reference and OpenAPI
Two HTTP APIs sit behind the SDK. Each has a full reference, every endpoint with its parameters, bodies, answers and a curl example, and an OpenAPI 3.1 file to download, generate a client from, or give to a coding agent.
API | Called by | Base URL | Reference | OpenAPI |
|---|---|---|---|---|
Partner API | Your server, with your project's secret key ( |
| ||
Public API | The CLI, the MCP server and your own scripts, with a personal API key |
|
The partner API creates users, links, frame addresses, sessions and demo accounts, and sends webhooks. Its pages, from the overview to limits and errors, explain each part with examples. Bodies and answers in @chartnaut/node use the API's own field names, so the file and the package's types read the same.
The public API runs scripts and manages developer projects for the CLI and the MCP server: see the API overview and Projects.
The terminal on your page has no HTTP API. Its commands and events go over postMessage, typed in @chartnaut/charts; The frame and embed.js describes the messages for pages without JavaScript tooling.
For coding agents
File | What it is |
|---|---|
An index of every docs page, the Terminal SDK first | |
Every docs page in one file, with code examples | |
The two APIs |
chartnaut init --project also writes a guide for coding agents into your project folder's AGENTS.md and CLAUDE.md, and a skill at .claude/skills/chartnaut-sdk/SKILL.md. Getting started
