Developers
Build with DrawSQL
Use DrawSQL from your own tools. Read diagrams through the REST API, generate clients from the OpenAPI document, or give AI agents machine-readable schema instructions.
REST API guide
Authentication, endpoints, pagination, conditional requests, rate limits, and error codes, with copy-paste curl examples.
MCP server
Connect Claude Code, Cursor, Windsurf, or VS Code to DrawSQL. The hosted server turns SQL DDL or a schema patch into an editable diagram. No authentication required.
API reference
Explore every endpoint, schema, and response from the OpenAPI spec. Send test requests from the built-in 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 contain
machine-readable instructions for generating editable diagrams from SQL. No account required.
The API is available on paid plans. Create a token under Account → API tokens.