v1
latestOpenAPI 3.1.02026-07-1255227258.8 KBGet Document Chunk Content
Returns the content of a document chunk in the requested format. Can be used to stream media of the content for audio/video documents.
Path parameters
The id of the document.
The id of the document.
The ID of the chunk.
The ID of the chunk.
Query parameters
The desired media type of the content to return described as a mime type. An error will be returned if the requested media type is not supported for the chunk's document type.
The desired media type of the content to return described as a mime type. An error will be returned if the requested media type is not supported for the chunk's document type.
Whether to return the content as a file download or a raw stream. If set to true, the content will be returned as a named file for download.
Whether to return the content as a file download or a raw stream. If set to true, the content will be returned as a named file for download.
Headers
An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition.
An optional partition to scope the request to. If omitted, accounts created after 1/9/2025 will have the request scoped to the default partition, while older accounts will have the request scoped to all partitions. Older accounts may opt in to strict partition scoping by contacting support@ragie.ai. Older accounts using the partitions feature are strongly recommended to scope the request to a partition.
Response
Returns the source content of the document chunk.