v52

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-0393116227.2 KB
local-file-groups

Start chunk deletion

Initiates an asynchronous job that deletes chunk rows whose text contains any of the given substrings (subtractive delete), without recomputing embeddings. The source group itself is preserved and remains searchable during deletion.

The response returns a chunk deletion job id; poll GET /local-file-groups/{id}/chunk-deletions/{chunk_deletion_id} to check the job status.

Required roles: All

post/local-file-groups/{id}/chunk-deletions

Path parameters

idstring required

Source group ID

Request body

text_containsstring[] required

OR list of substrings. Chunk rows whose text (raw JSONL line) contains any of these substrings (literal match) are deleted. Raw SQL is not accepted.

Response

Chunk deletion job successfully started

source_group_idstring required

The ID of the source group whose chunks are being deleted

idstring required

The id of the started chunk deletion job, used to poll its status