Developers
Drive livediagram from your own scripts and integrations. The same REST API the editor uses, callable with an API token, or from a terminal with the livediagram CLI.
Guides
The livediagram API
What the REST API is, the base URL, and how to start calling it with a token.
Read articleAuthentication
Authenticate API requests with a bearer token, and how that differs from guests.
Read articleWorking with Documents
Worked examples: list, read, create, and update documents, tabs, and folders.
Read articleErrors and Rate Limits
Status codes, the error response shape, rate limits, and token expiry.
Read articleThe livediagram CLI
Read, build, edit and discuss documents from a terminal: install, sign in, the commands, and self-hosting.
Read articleDiagrams in Your Repository
Link a repository with livediagram.toml so agents find your diagrams, and keep snapshots in git.
Read articleDiagrams in Your Developer Tools
Draw in a document inside a developer tool beside your agent, and talk about what you select.
Read articleReviewing and Undoing an Agent's Changes
See what an AI tool, the CLI or a script changed, and undo it for 30 days
Read articleComments and Presence for Agents
Reply to and resolve comments, and show what your agent is doing.
Read article