superdocs-app · Schema

Base64UploadRequest

JSON request body for base64-encoded file uploads.

Artificial IntelligenceDocument EditingREST APIMCPSoftware-as-a-Service

Properties

Name Type Description
filename string Original filename with extension (e.g. 'contract.pdf'). Used for file type detection.
file_base64 string Base64-encoded file content.
session_id object Session ID. Auto-generated if not provided.
return_html boolean With a session_id: false (default) returns compact metadata only (chunks_count, version_id, page_setup) — the document is loaded into the session and you edit it via chat, keeping your context small;
View JSON Schema on GitHub

JSON Schema

superdocs-app-base64-upload-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/superdocs-app/json-schema/superdocs-app-base64-upload-request-schema.json",
  "title": "Base64UploadRequest",
  "description": "JSON request body for base64-encoded file uploads.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/superdocs-app-attachments-api-openapi.yml#/components/schemas/Base64UploadRequest",
  "properties": {
    "filename": {
      "type": "string",
      "maxLength": 512,
      "title": "Filename",
      "description": "Original filename with extension (e.g. 'contract.pdf'). Used for file type detection."
    },
    "file_base64": {
      "type": "string",
      "maxLength": 50000000,
      "title": "File Base64",
      "description": "Base64-encoded file content."
    },
    "session_id": {
      "anyOf": [
        {
          "type": "string",
          "maxLength": 256
        },
        {
          "type": "null"
        }
      ],
      "title": "Session Id",
      "description": "Session ID. Auto-generated if not provided."
    },
    "return_html": {
      "type": "boolean",
      "title": "Return Html",
      "description": "With a session_id: false (default) returns compact metadata only (chunks_count, version_id, page_setup) — the document is loaded into the session and you edit it via chat, keeping your context small; true returns the full parsed HTML inline. Ignored on the convert-only path (no session_id), which always returns the converted html.",
      "default": false
    }
  },
  "type": "object",
  "required": [
    "filename",
    "file_base64"
  ]
}

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/superdocs-app-base64-upload-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.