Documents

Get chunk details

Changed on

Get a specific chunk by its ID

get/v1/default/chunks/{chunk_id}

Request

Path parameters

chunk_idstring required

Headers

authorizationstring nullable

Response

Successful Response

chunk_idstring required
document_idstring required
bank_idstring required
chunk_indexinteger required
chunk_textstring required
created_atstring required

Example response

{
  "bank_id": "user123",
  "chunk_id": "user123_session_1_0",
  "chunk_index": 0,
  "chunk_text": "This is the first chunk of the document...",
  "created_at": "2024-01-15T10:30:00Z",
  "document_id": "session_1"
}

Changes

    • warning

      removed the optional property // from the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status

    • info

      added the optional property // to the response with the status