Developers
Build with DrawSQL
Pull your diagrams and schemas out of DrawSQL programmatically. Everything here is token-authenticated and described by an OpenAPI document you can point tooling at.
REST API guide
Authentication, endpoints, pagination, conditional requests, rate limits, and error codes — with copy-paste curl examples.
API reference
Interactive reference rendered from the OpenAPI spec — every endpoint, schema, and response, with a request console.
OpenAPI 3.1 spec
The raw contract at /openapi.yaml.
Generate typed clients or plug it into your own API explorer.
For AI agents
llms.txt and
llms-full.txt —
machine-readable instructions, including how to generate editable diagram links
from SQL with no signup.
The API is available on paid plans. Create a token under Account → API tokens.