SVG AI · Schema

GenerationResponse

Artificial IntelligenceSVGGraphicsGenerator

Properties

Name Type Description
object string
id string
status string Processing while any variation is processing; completed when none are processing and at least one completed; failed when none completed. Inspect each svgs entry for its individual outcome.
svgs array
model string
credits_used number Credits charged or reserved for this request.
credits_remaining number Remaining account balance reported for the request.
poll_url string Relative authenticated polling URL, present when status is processing.
error object
View JSON Schema on GitHub

JSON Schema

svgai-org-generation-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/svgai-org/json-schema/svgai-org-generation-response-schema.json",
  "title": "GenerationResponse",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/svgai-org-openapi.json#/components/schemas/GenerationResponse",
  "allOf": [
    {
      "$ref": "#/$defs/GenerationStatus"
    },
    {
      "type": "object",
      "required": [
        "model",
        "credits_used",
        "credits_remaining"
      ],
      "properties": {
        "model": {
          "type": "string",
          "enum": [
            "classic",
            "ultra"
          ]
        },
        "credits_used": {
          "type": "number",
          "description": "Credits charged or reserved for this request."
        },
        "credits_remaining": {
          "type": "number",
          "description": "Remaining account balance reported for the request."
        },
        "poll_url": {
          "type": "string",
          "description": "Relative authenticated polling URL, present when status is processing."
        },
        "error": {
          "$ref": "#/$defs/ApiError"
        }
      }
    }
  ],
  "$defs": {
    "ApiError": {
      "type": "object",
      "required": [
        "type",
        "message"
      ],
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "invalid_request",
            "authentication_error",
            "permission_error",
            "insufficient_credits",
            "payment_required",
            "rate_limit_exceeded",
            "not_found",
            "generation_error",
            "server_error"
          ]
        },
        "message": {
          "type": "string",
          "description": "Human-readable explanation."
        },
        "retry_after_seconds": {
          "type": "number",
          "description": "Optional retry delay for rate_limit_exceeded."
        },
        "credits_remaining": {
          "type": "number",
          "description": "Optional available balance for insufficient_credits."
        },
        "credits_required": {
          "type": "number",
          "description": "Optional required credits for insufficient_credits."
        },
        "upgrade_url": {
          "type": "string",
          "format": "uri",
          "description": "Optional upgrade URL for payment_required."
        }
      }
    },
    "GeneratedSvg": {
      "type": "object",
      "required": [
        "design_id",
        "status",
        "svg"
      ],
      "properties": {
        "design_id": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "enum": [
            "completed",
            "processing",
            "failed"
          ]
        },
        "svg": {
          "type": [
            "string",
            "null"
          ],
          "description": "Complete SVG markup when available; null while processing or when unavailable."
        }
      }
    },
    "GenerationStatus": {
      "type": "object",
      "required": [
        "object",
        "id",
        "status",
        "svgs"
      ],
      "properties": {
        "object": {
          "type": "string",
          "const": "svg.generation"
        },
        "id": {
          "type": "string",
          "format": "uuid"
        },
        "status": {
          "type": "string",
          "description": "Processing while any variation is processing; completed when none are processing and at least one completed; failed when none completed. Inspect each svgs entry for its individual outcome.",
          "enum": [
            "completed",
            "processing",
            "failed"
          ]
        },
        "svgs": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/GeneratedSvg"
          }
        }
      }
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/svgai-org-generation-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.