DocsOverviewGetting startedPricingAuthentication & conceptsPostsDiagramsBrand & assetsTools & batchErrorsMCP server

Errors

Every error response is JSON: { "error": "machine_code", "message": "human-readable", "issues"?: [...] }. issues is present only on validation_error, one entry per invalid field.

HTTPerror codeMeaning
400validation_errorRequest body failed validation: check issues for which field.
401missing_api_key / invalid_api_keyNo x-api-key header, or the key doesn't match a live account.
403plan_requiredYour Pro or Developer plan has lapsed — renew to restore API/MCP access. Every active plan (Free, Pro, Developer) includes some level of API access, so this only fires on a lapsed subscription.
402free_limit_reachedFree-plan trial: you've used all 50 lifetime credits (shared with the web app). Upgrade to Pro or Developer for a real recurring monthly quota.
429api_quota_exceededYou've used your monthly API/MCP generation quota (200/mo on Pro, 900/mo on Developer). Resets next billing period; upgrade for a higher limit.
403forbiddenThat job/batch id exists but belongs to a different account.
404diagram_not_foundDiagram id doesn't exist, or belongs to a different account.
404not_foundJob or batch id doesn't exist (or has been cleaned up).
402insufficient_credits/logo only: your credit balance can't cover this generation.
429rate_limitedToo many requests. See Authentication & concepts, retry after RateLimit-Reset.
503image_service_unavailable / batch_unavailableGeneration is temporarily unavailable, retry shortly.
500various *_failed codesAn unexpected server-side failure. Safe to retry; contact support if it persists.

Full field-by-field spec: /api/v1/openapi.json