Chunks
Get chunk
Retrieves one generated chunk by document and chunk IDs. Use it to inspect a known stored passage; use List chunks to discover chunk IDs or Search documents when starting from a natural-language query.
Permissions
The API token used to authenticate must have the following scope(s) enabled to make a successful request: DataSphere.
Learn more about API scopes.
get/api/datasphere/documents/{documentId}/chunks/{chunkId}
Path parameters
documentIdstring uuid required
Universal Unique Identifier.
Unique ID of the parent Document.
chunkIdstring uuid required
Universal Unique Identifier.
Unique ID of a Chunk.
Response
The request has succeeded.
Example response
{
"tags": [
"sports",
"football",
"game"
],
"content": "This is the content from the original document that was chunked.",
"created_at": "2024-05-06T12:20-12Z",
"updated_at": "2024-05-06T12:20-12Z"
}Changes
No changes found, but 3 of the 137 revisions have a changelog that could not be searched — this endpoint may have changed in one of them.