FlowChart AI · Schema

Generation

Artificial IntelligenceDiagramFlowchartProductivityAutomationCompany

Properties

Name Type Description
prompt string
max_credits integer Upper limit. A cap below the full-context estimate returns 409 max_credits_too_low with required_credits before generation. Never raise it without owner authorization. The accepted reservation may be
image string Optional PNG/JPEG/WebP base64 data URI, at most 2 MB decoded. Arbitrary URLs are not fetched.
diagram_id string Existing owned native file to edit; omit to create. Edits also require diagrams:read in addition to diagrams:write and diagrams:generate.
expected_version string Required when diagram_id is set. Read the latest file first.
View JSON Schema on GitHub

JSON Schema

flowchartai-org-generation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/flowchartai-org/json-schema/flowchartai-org-generation-schema.json",
  "title": "Generation",
  "x-generated": "2026-11-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/_original/flowchartai-org-v1-openapi.json#/components/schemas/Generation",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "prompt",
    "max_credits"
  ],
  "properties": {
    "prompt": {
      "type": "string",
      "minLength": 1,
      "maxLength": 12000
    },
    "max_credits": {
      "type": "integer",
      "minimum": 1,
      "maximum": 2000,
      "description": "Upper limit. A cap below the full-context estimate returns 409 max_credits_too_low with required_credits before generation. Never raise it without owner authorization. The accepted reservation may be lower; actual full-task provider usage is capped at that reservation."
    },
    "image": {
      "type": "string",
      "description": "Optional PNG/JPEG/WebP base64 data URI, at most 2 MB decoded. Arbitrary URLs are not fetched."
    },
    "diagram_id": {
      "type": "string",
      "description": "Existing owned native file to edit; omit to create. Edits also require diagrams:read in addition to diagrams:write and diagrams:generate."
    },
    "expected_version": {
      "type": "string",
      "pattern": "^[a-f0-9]{64}$",
      "description": "Required when diagram_id is set. Read the latest file first."
    }
  },
  "dependentRequired": {
    "diagram_id": [
      "expected_version"
    ]
  }
}

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/flowchartai-org-generation"
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. See our Privacy Policy and Terms.

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