Llamaindex · Schema

ParseRequest

Request body for parsing a document via JSON. Exactly one of file_id or source_url must be provided.

Properties

Name Type Description
file_id string Identifier of a previously uploaded file to parse. Mutually exclusive with source_url.
source_url string URL of a document to fetch and parse. Mutually exclusive with file_id.
http_proxy string Optional HTTP proxy to use when fetching the document from source_url.
tier string Parsing tier that determines the quality and speed trade-off. Fast outputs spatial text only. Cost-effective is optimized for text-heavy documents. Agentic handles images and diagrams. Agentic plus pr
version string API version to use. Use "latest" for the most recent version, or a specific version date string for production stability.
target_pages string Page range to parse using 1-based indexing (e.g., "1-5", "3,7,10").
agentic_options object Additional options for the agentic and agentic_plus tiers. Not supported by the fast tier.
View JSON Schema on GitHub

JSON Schema

llamaindex-parserequest-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ParseRequest",
  "title": "ParseRequest",
  "type": "object",
  "description": "Request body for parsing a document via JSON. Exactly one of file_id or source_url must be provided.",
  "required": [
    "tier",
    "version"
  ],
  "properties": {
    "file_id": {
      "type": "string",
      "description": "Identifier of a previously uploaded file to parse. Mutually exclusive with source_url."
    },
    "source_url": {
      "type": "string",
      "format": "uri",
      "description": "URL of a document to fetch and parse. Mutually exclusive with file_id."
    },
    "http_proxy": {
      "type": "string",
      "format": "uri",
      "description": "Optional HTTP proxy to use when fetching the document from source_url."
    },
    "tier": {
      "type": "string",
      "enum": [
        "fast",
        "cost_effective",
        "agentic",
        "agentic_plus"
      ],
      "description": "Parsing tier that determines the quality and speed trade-off. Fast outputs spatial text only. Cost-effective is optimized for text-heavy documents. Agentic handles images and diagrams. Agentic plus provides maximum fidelity for complex layouts."
    },
    "version": {
      "type": "string",
      "description": "API version to use. Use \"latest\" for the most recent version, or a specific version date string for production stability."
    },
    "target_pages": {
      "type": "string",
      "description": "Page range to parse using 1-based indexing (e.g., \"1-5\", \"3,7,10\")."
    },
    "agentic_options": {
      "type": "object",
      "description": "Additional options for the agentic and agentic_plus tiers. Not supported by the fast tier.",
      "additionalProperties": true
    }
  }
}

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/llamaindex-parserequest"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.