huggingbay-xyz · Schema

DocumentExtractRequest

Artificial IntelligenceOpen SourceModelsPlatformMachine Learning

Properties

Name Type Description
content string Inline UTF-8 text or base64 document bytes, selected by content_encoding.
mime_type string Canonical supported document MIME type.
content_encoding string
filename object Optional basename used to reject MIME/extension conflicts.
max_chars object
max_rows object
has_header boolean CSV/TSV first-row header policy.
View JSON Schema on GitHub

JSON Schema

huggingbay-xyz-document-extract-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/huggingbay-xyz/json-schema/huggingbay-xyz-document-extract-request-schema.json",
  "title": "DocumentExtractRequest",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/huggingbay-xyz-document-api-openapi.yml#/components/schemas/DocumentExtractRequest",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 1406296,
      "minLength": 1,
      "title": "Content",
      "description": "Inline UTF-8 text or base64 document bytes, selected by content_encoding."
    },
    "mime_type": {
      "type": "string",
      "enum": [
        "application/vnd.openxmlformats-officedocument.wordprocessingml.document",
        "text/html",
        "text/markdown",
        "text/csv",
        "text/tab-separated-values"
      ],
      "title": "Mime Type",
      "description": "Canonical supported document MIME type."
    },
    "content_encoding": {
      "type": "string",
      "enum": [
        "utf-8",
        "base64"
      ],
      "title": "Content Encoding",
      "default": "utf-8"
    },
    "filename": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 255,
          "minLength": 1
        },
        {
          "type": "null"
        }
      ],
      "title": "Filename",
      "description": "Optional basename used to reject MIME/extension conflicts."
    },
    "max_chars": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 380000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Chars"
    },
    "max_rows": {
      "anyOf": [
        {
          "type": "integer",
          "maximum": 50000.0,
          "minimum": 1.0
        },
        {
          "type": "null"
        }
      ],
      "title": "Max Rows"
    },
    "has_header": {
      "type": "boolean",
      "title": "Has Header",
      "description": "CSV/TSV first-row header policy.",
      "default": true
    }
  },
  "additionalProperties": false,
  "type": "object",
  "required": [
    "content",
    "mime_type"
  ]
}

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/huggingbay-xyz-document-extract-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.