curl --request PATCH \
--url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks/{chunk_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"embedding": [
123
],
"metadata": {}
}
'{
"_id": "<string>",
"text": "<string>",
"enabled": true,
"status": "pending",
"created": "<string>",
"updated": "<string>",
"metadata": {},
"created_by_id": "<string>",
"update_by_id": "<string>"
}curl --request PATCH \
--url https://api.orq.ai/v2/knowledge/{knowledge_id}/datasources/{datasource_id}/chunks/{chunk_id} \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"text": "<string>",
"embedding": [
123
],
"metadata": {}
}
'{
"_id": "<string>",
"text": "<string>",
"enabled": true,
"status": "pending",
"created": "<string>",
"updated": "<string>",
"metadata": {},
"created_by_id": "<string>",
"update_by_id": "<string>"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The unique identifier of the chunk
The unique identifier of the data source
The unique identifier of the knowledge base
Chunk successfully updated
The unique identifier of the chunk
The text content of the chunk
Whether the chunk is enabled
The status of the chunk
pending, processing, completed, failed, queued The date and time the chunk was created
The date and time the chunk was updated
The unique identifier of the user who created the chunk
The unique identifier of the user who updated the chunk
Was this page helpful?