Docspeed · Schema

ParseResponse

AP Invoice ExtractionBPOShared ServicesDocument AIFinancial ServicesProcurement Automation

Properties

Name Type Description
doc_id object
version object
markdown string
pages array
regions array
chunks array
metadata object
View JSON Schema on GitHub

JSON Schema

docspeed-ai-parse-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/docspeed-ai/json-schema/docspeed-ai-parse-response-schema.json",
  "title": "ParseResponse",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/docspeed-ai-openapi.json#/components/schemas/ParseResponse",
  "properties": {
    "doc_id": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Doc Id"
    },
    "version": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Version"
    },
    "markdown": {
      "type": "string",
      "title": "Markdown"
    },
    "pages": {
      "items": {
        "$ref": "#/$defs/ParsePage"
      },
      "type": "array",
      "title": "Pages"
    },
    "regions": {
      "items": {
        "$ref": "#/$defs/GroundingRegion"
      },
      "type": "array",
      "title": "Regions"
    },
    "chunks": {
      "items": {
        "$ref": "#/$defs/ParseChunk"
      },
      "type": "array",
      "title": "Chunks"
    },
    "metadata": {
      "additionalProperties": true,
      "type": "object",
      "title": "Metadata"
    }
  },
  "type": "object",
  "required": [
    "markdown"
  ],
  "$defs": {
    "GroundingRegion": {
      "properties": {
        "region_id": {
          "type": "string",
          "title": "Region Id"
        },
        "page_index": {
          "type": "integer",
          "title": "Page Index"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Label"
        },
        "display_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Display Label"
        },
        "shape": {
          "additionalProperties": true,
          "type": "object",
          "title": "Shape"
        }
      },
      "type": "object",
      "required": [
        "region_id",
        "page_index",
        "shape"
      ],
      "title": "GroundingRegion"
    },
    "ParseChunk": {
      "properties": {
        "chunk_id": {
          "type": "string",
          "title": "Chunk Id"
        },
        "type": {
          "type": "string",
          "title": "Type",
          "default": "text"
        },
        "label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Label"
        },
        "display_label": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Display Label"
        },
        "markdown": {
          "type": "string",
          "title": "Markdown"
        },
        "page_index": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page Index"
        },
        "region_ids": {
          "items": {
            "type": "string"
          },
          "type": "array",
          "title": "Region Ids"
        },
        "bbox": {
          "anyOf": [
            {
              "items": {
                "type": "integer"
              },
              "type": "array"
            },
            {
              "type": "null"
            }
          ],
          "title": "Bbox"
        },
        "table_html": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Table Html"
        },
        "cells": {
          "items": {
            "additionalProperties": true,
            "type": "object"
          },
          "type": "array",
          "title": "Cells"
        },
        "render_grid": {
          "anyOf": [
            {
              "additionalProperties": true,
              "type": "object"
            },
            {
              "type": "null"
            }
          ],
          "title": "Render Grid"
        },
        "header_row_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Header Row Count"
        },
        "grid_row_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grid Row Count"
        },
        "grid_col_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Grid Col Count"
        },
        "mapping_quality": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "exact",
                "heuristic",
                "fallback"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Mapping Quality"
        }
      },
      "type": "object",
      "required": [
        "chunk_id",
        "markdown"
      ],
      "title": "ParseChunk"
    },
    "ParsePage": {
      "properties": {
        "page_index": {
          "type": "integer",
          "title": "Page Index"
        },
        "width": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Width"
        },
        "height": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Height"
        },
        "image_ref": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Image Ref"
        },
        "ocr_median_line_height": {
          "anyOf": [
            {
              "type": "number"
            },
            {
              "type": "null"
            }
          ],
          "title": "Ocr Median Line Height"
        }
      },
      "type": "object",
      "required": [
        "page_index"
      ],
      "title": "ParsePage"
    }
  }
}

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-parse-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. See our Privacy Policy and Terms.

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