Docspeed · Schema
ClassificationResult
AP Invoice ExtractionBPOShared ServicesDocument AIFinancial ServicesProcurement Automation
Properties
| Name | Type | Description |
|---|---|---|
| doc_class | string | |
| input_type | string | |
| page_count | integer | |
| page_classifications | array | |
| document_identity_hints | object | |
| page_dimensions | array | |
| classification_metadata | object | |
| debug | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/docspeed-ai/json-schema/docspeed-ai-classification-result-schema.json",
"title": "ClassificationResult",
"x-generated": "2026-11-05",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/docspeed-ai-openapi.json#/components/schemas/ClassificationResult",
"properties": {
"doc_class": {
"type": "string",
"title": "Doc Class"
},
"input_type": {
"type": "string",
"enum": [
"markdown",
"image",
"pdf",
"text",
"auto"
],
"title": "Input Type",
"default": "auto"
},
"page_count": {
"type": "integer",
"title": "Page Count",
"default": 1
},
"page_classifications": {
"items": {
"$ref": "#/$defs/ClassificationPage"
},
"type": "array",
"title": "Page Classifications"
},
"document_identity_hints": {
"additionalProperties": true,
"type": "object",
"title": "Document Identity Hints"
},
"page_dimensions": {
"items": {
"$ref": "#/$defs/PageDimension"
},
"type": "array",
"title": "Page Dimensions"
},
"classification_metadata": {
"$ref": "#/$defs/ClassificationMetadata"
},
"debug": {
"anyOf": [
{
"$ref": "#/$defs/ClassificationDebug"
},
{
"type": "null"
}
]
}
},
"type": "object",
"required": [
"doc_class"
],
"$defs": {
"ClassificationDebug": {
"properties": {
"sampled_page_classifications": {
"items": {
"$ref": "#/$defs/ClassificationPage"
},
"type": "array",
"title": "Sampled Page Classifications"
}
},
"type": "object",
"title": "ClassificationDebug"
},
"ClassificationMetadata": {
"properties": {
"classification_scope": {
"type": "string",
"enum": [
"document",
"page"
],
"title": "Classification Scope",
"default": "document"
},
"verbosity": {
"type": "string",
"enum": [
"none",
"debug"
],
"title": "Verbosity",
"default": "none"
},
"budget_limited": {
"type": "boolean",
"title": "Budget Limited",
"default": false
},
"total_pages": {
"type": "integer",
"title": "Total Pages",
"default": 1
},
"processed_pages": {
"type": "integer",
"title": "Processed Pages",
"default": 1
},
"sampled_page_indexes": {
"items": {
"type": "integer"
},
"type": "array",
"title": "Sampled Page Indexes"
},
"class_count": {
"type": "integer",
"title": "Class Count",
"default": 0
}
},
"type": "object",
"title": "ClassificationMetadata"
},
"ClassificationPage": {
"properties": {
"page_index": {
"type": "integer",
"title": "Page Index"
},
"doc_class": {
"type": "string",
"title": "Doc Class"
},
"page_role": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Page Role"
},
"components_present": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"title": "Components Present"
},
"document_identity_hints": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Document Identity Hints"
},
"confidence": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Confidence"
}
},
"type": "object",
"required": [
"page_index",
"doc_class"
],
"title": "ClassificationPage"
},
"PageDimension": {
"properties": {
"page_index": {
"type": "integer",
"title": "Page Index"
},
"width": {
"type": "integer",
"title": "Width"
},
"height": {
"type": "integer",
"title": "Height"
}
},
"type": "object",
"required": [
"page_index",
"width",
"height"
],
"title": "PageDimension"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/docspeed-ai-classification-result"
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.