local-file-groups

Start chunk deletion

Changed on

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 scope: `ingestion:manage`

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

Request

  • Base URL
    https://developer.qaip.com/api/v1
  • URL
    https://developer.qaip.com/api/v1/local-file-groups/{id}/chunk-deletions
  • Auth
    API key in header x-api-key

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

Changes

    • info

      added the non-success 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

    • 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

    • 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

    • 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

    • breaking

      removed the required property from the response with the status

    • info

      added the required property to the response with the status