Deletes a specific chunk from the document
Deletes a specific chunk from the document. 409 (code source_busy) while a sync or page change on the source runs.
Personal access token scope: sources:write.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
id?stringThe document ID
chunk_id?stringThe ID of the chunk to delete
Success
curl -X DELETE 'http://localhost:7091/api/delete_chunk'Share a conversation POST
Share a conversation. Not available to [personal access tokens](/API/personal-access-tokens); call it from a signed-in session.
Return the cited chunk and its source GET
The chunk behind a citation, found by its content key, else by its excerpt, with what the reader needs about its source. 404 when the caller cannot see the source, or with reason chunk_missing when neither finds the chunk (the source was edited); 501 with reason unsupported when the vector store cannot look chunks up. Args: source_id: The source the citation names. Returns: Response: `{"success", "chunk", "source", "page_path"}`, or an error with `reason` `chunk_missing` (404) or `unsupported` (501) the reader tells apart from a source out of reach. [Personal access token](/API/personal-access-tokens) scope: `sources:read`.