Unstructured Partition API
Author: langgenius
Version: 0.0.1
Type: tool
Partition Input Parameters
The Unstructured Partition Endpoint provides parameters to customize the processing of documents.
The only required parameter is – the file you wish to process.
Main Parameters
Chunking Parameters
The following parameters only apply when a chunking strategy is specified. Otherwise, they are ignored.
Client-Specific Parameters (Not sent to server)
Notes
- For more details on each parameter, refer to the official documentation.
- Some parameters are only available in specific strategies or file types.
- Default values are shown where applicable.
API Response Structure
Top-Level Fields
Field Details
text
- Type: string
- Description:
The entire content, formatted in Markdown. This may include images, headings, bullet points, and other formatting for direct rendering.
files
- Type: array
- Description:
List of attached files. Typically empty in the current output.
json
- Type: array
- Description:
Structured JSON data for advanced use cases. Typically empty in the current output.
images
- Type: array of objects
- Description:
List of images found in the content. Each image object contains the following fields:
Example:
elements
- Type: array of objects
- Description:
List of structured content blocks. Each object represents a section, paragraph, image, or other content element.
metadata (object)
The field provides detailed information about the element's origin, layout, and context.
Possible fields include (not all fields are present in every element):
coordinates (object)
Describes the position and size of the element in the source file (if available):
Example Response
Notes
- The field is suitable for direct display in web or app frontends.
- The field is useful for structured processing, highlighting, or further analysis.
- The field provides all image resources for preview or download.
- The and fields are reserved for future use or advanced scenarios.
- The object in each element may contain additional fields depending on the extraction process and file type.