/datasets/{dataset_id}/documents/{document_id}/segments/{segment_id}Get document chunk details
Retrieves the full details of a single chunk in a document in a knowledge base. Use the identifiers to select the knowledge base, document, and chunk whose details you need. The response includes the chunk details and the document’s chunking mode.
One documented failure
invalid_paramNo Embedding Model available. Please configure a valid provider in the Settings -> Model Provider.
invalid_param
One documented failure
forbiddenDataset api access is not enabled.
forbidden (api access)
One documented failure
not_foundDataset not found.
not_found
A 400 is returned when the embedding model is missing or misconfigured; a 403 is returned when dataset API access is disabled or the API key is not scoped to the knowledge base. A 404 is returned when the knowledge base, document, or chunk cannot be found. The dataset_id path parameter, document_id path parameter, and segment_id path parameter must be UUIDs.