---
updatedAt: 2026-04-24T18:36:38.000Z
agentTools:
  projectIndex: https://docs.docupipe.ai/llms.txt
---

# Retrieve Detailed Processing Result

Access the fine grained document parsing result. This representation includes individual word locations on the page, as well as per-page handwriting detection. Available for PDF, image, Word, and HTML documents. Not available for table (xlsx/csv), text, or JSON documents.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "DocuPipe",
    "version": "1.0"
  },
  "paths": {
    "/document/{document_id}/detailed": {
      "get": {
        "summary": "Retrieve Detailed Processing Result",
        "operationId": "get_document_detailed",
        "security": [
          {
            "APIKeyHeader": []
          },
          {
            "HTTPBearer": []
          }
        ],
        "parameters": [
          {
            "name": "document_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "title": "Document Id"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "Successful Response",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/PublicDetailedDocumentParsing"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/ErrorResponse"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "description": "Validation Error",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/HTTPValidationError"
                }
              }
            }
          }
        },
        "description": "Access the fine grained document parsing result. This representation includes individual word locations on the page, as well as per-page handwriting detection. Available for PDF, image, Word, and HTML documents. Not available for table (xlsx/csv), text, or JSON documents.",
        "tags": [
          "Document"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "DocuPandaPagePublic": {
        "properties": {
          "words": {
            "items": {
              "$ref": "#/components/schemas/Element"
            },
            "type": "array",
            "title": "Words",
            "description": "List of words on the page."
          },
          "selections": {
            "items": {
              "$ref": "#/components/schemas/Element"
            },
            "type": "array",
            "title": "Selections",
            "description": "List of selection marks on the page (checkboxes)"
          },
          "orientation": {
            "$ref": "#/components/schemas/Orientation",
            "description": "Orientation of the page."
          },
          "angle": {
            "type": "number",
            "title": "Angle",
            "description": "Angle of the page."
          },
          "tables": {
            "items": {
              "$ref": "#/components/schemas/Element"
            },
            "type": "array",
            "title": "Tables",
            "description": "List of tables on the page. Note that table contents and words overlap - they're not a disjoint set"
          },
          "figures": {
            "items": {
              "$ref": "#/components/schemas/Element"
            },
            "type": "array",
            "title": "Figures",
            "description": "List of figures/images detected on the page, with bounding box coordinates",
            "default": []
          },
          "signatures": {
            "items": {
              "$ref": "#/components/schemas/Element"
            },
            "type": "array",
            "title": "Signatures",
            "description": "List of signatures on the page. This is only supported with our economy parser mode, reach out to docupipe support if you're interested in this feature",
            "default": []
          },
          "handwriting": {
            "type": "boolean",
            "title": "Handwriting",
            "description": "True if the page contains handwriting",
            "default": false
          }
        },
        "type": "object",
        "required": [
          "words",
          "selections",
          "tables"
        ],
        "title": "DocuPandaPagePublic"
      },
      "Element": {
        "properties": {
          "type": {
            "type": "string",
            "title": "Type"
          },
          "text": {
            "type": "string",
            "title": "Text"
          },
          "bbox": {
            "items": {
              "type": "number"
            },
            "type": "array",
            "title": "Bbox"
          },
          "metadata": {
            "additionalProperties": true,
            "type": "object",
            "title": "Metadata"
          }
        },
        "type": "object",
        "required": [
          "type",
          "bbox",
          "metadata"
        ],
        "title": "Element"
      },
      "ErrorResponse": {
        "properties": {
          "detail": {
            "type": "string",
            "title": "Detail",
            "description": "Details about the error"
          }
        },
        "type": "object",
        "required": [
          "detail"
        ],
        "title": "ErrorResponse"
      },
      "HTTPValidationError": {
        "properties": {
          "detail": {
            "items": {
              "$ref": "#/components/schemas/ValidationError"
            },
            "type": "array",
            "title": "Detail"
          }
        },
        "type": "object",
        "title": "HTTPValidationError"
      },
      "Orientation": {
        "type": "string",
        "enum": [
          "normal",
          "clockwise",
          "counter_clockwise",
          "upside_down"
        ],
        "title": "Orientation"
      },
      "PublicDetailedDocumentParsing": {
        "properties": {
          "documentId": {
            "type": "string",
            "title": "Documentid",
            "description": "Unique identifier for the document"
          },
          "pages": {
            "items": {
              "$ref": "#/components/schemas/DocuPandaPagePublic"
            },
            "type": "array",
            "title": "Pages",
            "description": "List of parsed pages with detailed information on word level location"
          },
          "language": {
            "type": "string",
            "title": "Language",
            "description": "Language of the document, e.g. en, fr, etc."
          },
          "handwriting": {
            "type": "boolean",
            "title": "Handwriting",
            "description": "True if the document contains handwriting"
          },
          "plaintext": {
            "type": "string",
            "title": "Plaintext",
            "description": "A textual representation of the entire document. This representation preserves the spatial arrangement of information in the document. It is designed to be both human-readable and LLM-redable. You can use this representation to prompt your own AI engines and build complex workflows around it."
          }
        },
        "type": "object",
        "required": [
          "documentId",
          "pages",
          "language",
          "handwriting"
        ],
        "title": "PublicDetailedDocumentParsing"
      },
      "ValidationError": {
        "properties": {
          "loc": {
            "items": {
              "anyOf": [
                {
                  "type": "string"
                },
                {
                  "type": "integer"
                }
              ]
            },
            "type": "array",
            "title": "Location"
          },
          "msg": {
            "type": "string",
            "title": "Message"
          },
          "type": {
            "type": "string",
            "title": "Error Type"
          },
          "input": {
            "title": "Input"
          },
          "ctx": {
            "type": "object",
            "title": "Context"
          }
        },
        "type": "object",
        "required": [
          "loc",
          "msg",
          "type"
        ],
        "title": "ValidationError"
      }
    },
    "securitySchemes": {
      "APIKeyHeader": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      },
      "HTTPBearer": {
        "type": "http",
        "scheme": "bearer"
      }
    }
  },
  "servers": [
    {
      "url": "https://app.docupipe.ai"
    }
  ]
}
```