Mantic · Schema

DocumentListResponse

Data IntegrationAPI ManagementFintechHealth TechIoTCompany

Properties

Name Type Description
items array
total integer
passages object
View JSON Schema on GitHub

JSON Schema

mantic-document-list-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/mantic/json-schema/mantic-document-list-response-schema.json",
  "title": "DocumentListResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/mantic-documents-api-openapi.yml#/components/schemas/DocumentListResponse",
  "properties": {
    "items": {
      "items": {
        "$ref": "#/$defs/DocumentSummary"
      },
      "type": "array",
      "title": "Items"
    },
    "total": {
      "type": "integer",
      "title": "Total"
    },
    "passages": {
      "additionalProperties": {
        "items": {
          "$ref": "#/$defs/DocumentPassage"
        },
        "type": "array"
      },
      "propertyNames": {
        "format": "uuid"
      },
      "type": "object",
      "title": "Passages"
    }
  },
  "type": "object",
  "required": [
    "items",
    "total"
  ],
  "$defs": {
    "DocumentPassage": {
      "properties": {
        "text": {
          "type": "string",
          "title": "Text"
        },
        "marks": {
          "items": {
            "prefixItems": [
              {
                "type": "integer"
              },
              {
                "type": "integer"
              }
            ],
            "type": "array",
            "maxItems": 2,
            "minItems": 2
          },
          "type": "array",
          "title": "Marks"
        },
        "page_start": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page Start"
        },
        "page_end": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page End"
        },
        "heading_path": {
          "type": "string",
          "title": "Heading Path"
        }
      },
      "type": "object",
      "required": [
        "text",
        "marks",
        "page_start",
        "page_end",
        "heading_path"
      ],
      "title": "DocumentPassage",
      "description": "One matching passage, with the matched spans as offsets rather than markup."
    },
    "DocumentSummary": {
      "properties": {
        "id": {
          "type": "string",
          "format": "uuid",
          "title": "Id"
        },
        "file_name": {
          "type": "string",
          "title": "File Name"
        },
        "title": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title"
        },
        "title_source": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Title Source"
        },
        "mime_type": {
          "type": "string",
          "title": "Mime Type"
        },
        "extension": {
          "type": "string",
          "title": "Extension"
        },
        "byte_size": {
          "type": "integer",
          "title": "Byte Size"
        },
        "status": {
          "type": "string",
          "title": "Status"
        },
        "scan_status": {
          "type": "string",
          "title": "Scan Status"
        },
        "failure_code": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Failure Code"
        },
        "failure_detail": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Failure Detail"
        },
        "page_count": {
          "anyOf": [
            {
              "type": "integer"
            },
            {
              "type": "null"
            }
          ],
          "title": "Page Count"
        },
        "char_count": {
          "type": "integer",
          "title": "Char Count"
        },
        "document_form": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "paper",
                "article",
                "book",
                "report",
                "memo",
                "letter",
                "presentation",
                "contract",
                "announcement",
                "dataset",
                "specification",
                "other"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Form"
        },
        "document_topic": {
          "anyOf": [
            {
              "type": "string",
              "enum": [
                "finance",
                "economics",
                "business",
                "legal",
                "politics",
                "technology",
                "science",
                "energy",
                "sports",
                "society",
                "media",
                "entertainment",
                "personal",
                "other"
              ]
            },
            {
              "type": "null"
            }
          ],
          "title": "Document Topic"
        },
        "primary_subject": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Primary Subject"
        },
        "source": {
          "type": "string",
          "title": "Source"
        },
        "has_thumbnail": {
          "type": "boolean",
          "title": "Has Thumbnail"
        },
        "usage_count": {
          "type": "integer",
          "title": "Usage Count"
        },
        "created_at": {
          "type": "string",
          "format": "date-time",
          "title": "Created At"
        },
        "updated_at": {
          "type": "string",
          "format": "date-time",
          "title": "Updated At"
        }
      },
      "type": "object",
      "required": [
        "id",
        "file_name",
        "title",
        "title_source",
        "mime_type",
        "extension",
        "byte_size",
        "status",
        "scan_status",
        "failure_code",
        "failure_detail",
        "page_count",
        "char_count",
        "document_form",
        "document_topic",
        "primary_subject",
        "source",
        "has_thumbnail",
        "usage_count",
        "created_at",
        "updated_at"
      ],
      "title": "DocumentSummary",
      "description": "A stored document as the library lists it, without its body text."
    }
  }
}

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/mantic-document-list-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.