Docspeed · Schema

ClassifyRequest

AP Invoice ExtractionBPOShared ServicesDocument AIFinancial ServicesProcurement Automation

Properties

Name Type Description
input object
execution_mode string
input_type string
classification_scope string
verbosity string
class_definitions array
View JSON Schema on GitHub

JSON Schema

docspeed-ai-classify-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docspeed-ai/json-schema/docspeed-ai-classify-request-schema.json",
  "title": "ClassifyRequest",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docspeed-ai-openapi.json#/components/schemas/ClassifyRequest",
  "properties": {
    "input": {
      "$ref": "#/$defs/InputSource"
    },
    "execution_mode": {
      "type": "string",
      "enum": [
        "async",
        "sync"
      ],
      "title": "Execution Mode",
      "default": "async"
    },
    "input_type": {
      "type": "string",
      "enum": [
        "markdown",
        "image",
        "pdf",
        "text",
        "auto"
      ],
      "title": "Input Type",
      "default": "auto"
    },
    "classification_scope": {
      "type": "string",
      "enum": [
        "document",
        "page"
      ],
      "title": "Classification Scope",
      "default": "document"
    },
    "verbosity": {
      "type": "string",
      "enum": [
        "none",
        "debug"
      ],
      "title": "Verbosity",
      "default": "none"
    },
    "class_definitions": {
      "items": {
        "$ref": "#/$defs/ClassDefinition"
      },
      "type": "array",
      "title": "Class Definitions"
    }
  },
  "type": "object",
  "required": [
    "input"
  ],
  "$defs": {
    "ClassDefinition": {
      "properties": {
        "label": {
          "type": "string",
          "title": "Label"
        },
        "description": {
          "type": "string",
          "title": "Description"
        }
      },
      "type": "object",
      "required": [
        "label",
        "description"
      ],
      "title": "ClassDefinition"
    },
    "InputSource": {
      "properties": {
        "file_id": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "File Id"
        },
        "text": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Text"
        },
        "markdown": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Markdown"
        },
        "image_base64": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Image Base64"
        },
        "pdf_base64": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Pdf Base64"
        },
        "filename": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Filename"
        }
      },
      "type": "object",
      "title": "InputSource"
    }
  }
}

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/docspeed-ai-classify-request"
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.