Base URL
Conventions
- Auth: send
Authorization: Bearer dgz_live_YOUR_API_KEYon every request. - Content type: use
application/jsonfor request bodies. - IDs: every diagram has an
id. Pass it between endpoints. - Plans: both plans are unlimited and nothing is metered. On Free, replies carry
xml: nulland a link to a watermarked SVG. See Free plan replies. - Errors: a consistent envelope with
code,message, andrequest_id. See Errors. - Rate limits: per key and per IP. A
429means slow down. See Rate limits. - Idempotency: send
Idempotency-Keyon create calls. See Idempotency.
All endpoints
Diagrams
Async and versions
Warnings, gallery, prompts
Usage, meta, account
That is the complete surface: 27 operations.