Get a Chunk.
Get a Chunk.
Path Parameters
The ID of the corpus owning the chunk to retrieve.
The ID of the chunk to retrieve.
- 200
- default
OK
Schema
chunk object
An embedded subpiece of a Document.
The corpus this chunk belongs to.
The unique ID of this chunk.
The source ID and document ID of the document from which this chunk was originally derived, if it still exists.
When this chunk was initially created.
The text content of this chunk.
The number of embedded vectors that correspond to this chunk.
{
"chunk": {
"corpusId": "string",
"chunkId": "string",
"originalSourceId": "string",
"originalDocumentId": "string",
"created": "2024-03-07T22:56:08.191Z",
"content": "string",
"vectorsCount": 0
}
}
Default error response
Schema
- Array [
- ]
The status code, which should be an enum value of [google.rpc.Code][google.rpc.Code].
A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the [google.rpc.Status.details][google.rpc.Status.details] field, or localized by the client.
details object[]
A list of messages that carry the error details. There is a common set of message types for APIs to use.
The type of the serialized message.
{
"code": 0,
"message": "string",
"details": [
{
"@type": "string"
}
]
}