Get chunk
Retrieves one generated chunk by document and chunk IDs. Use it to inspect a known stored passage; use [List chunks](/docs/apis/rest/chunks/list-document-chunks) to discover chunk IDs or [Search documents](/docs/apis/rest/documents/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](/docs/platform/your-signalwire-api-space).
Authentication
AuthorizationBasic
SignalWire Basic Authentication using Project ID and API Token.
The client sends HTTP requests with the Authorization header containing
the word Basic followed by a space and a base64-encoded string of project_id:token.
The project ID will be used as the username and the API token as the password.
Example:
```
Authorization: Basic base64(project_id:token)
```
Path parameters
documentId
Unique ID of the parent Document.
chunkId
Unique ID of a Chunk.
Response
The request has succeeded.
id
Unique ID of the chunk.
datasphere_document_id
Unique ID of the chunk's datasphere document.
project_id
Unique ID of the project.
status
Status of the chunk.
content
Content of the chunk.
created_at
Chunk Creation Date.
updated_at
Chunk Update Date.
Errors
400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error