Both. Every diagram is native draw.io XML you can open and edit at app.diagrams.net, and you can export SVG. It is not a flat image, so an agent or a person can keep editing it.
Reads and the prompt helpers are free. Generate, edit, fix, re-layout, and fork cost credits. Every billable response returns a usage block. See Billing.
Use the MCP server to give an AI agent (Claude, Cursor) the ability to make diagrams in-loop. Use an SDK (Python or TypeScript) for app and CI code. Use the REST API directly from any other language.
Yes. dgz_test_ keys bill the same credits as a live key, at lower rate limits. Use them to validate an integration, not to avoid spend. See Authentication.
AWS, Azure, GCP, and general architecture. Call Meta at runtime for the authoritative list of providers, diagram types, and export formats.
Store it in a secret manager, use it server-side only, and never commit it. Keys are shown once, stored only as a hash, and can be revoked instantly. See Security.
You get a consistent envelope with a code, message, and request_id. See Errors. Quote the request_id to support.
Yes, per key and per IP. A 429 means back off and retry. See Rate limits.