PUT
/
datastores
/
{datastore_id}
/
chunks
/
{chunk_id}
/
content
Edit Chunk Content
curl --request PUT \
  --url https://api.contextual.ai/v1/datastores/{datastore_id}/chunks/{chunk_id}/content \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "content": "<string>"
}'
{}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

datastore_id
string<uuid>
required

Datastore ID of the datastore containing the chunk

chunk_id
string<uuid>
required

Chunk ID of the chunk to edit

Body

application/json

Request body containing the new content text

content
string
required

The new content text for the chunk

Response

Successful Response

The response is of type object.