Ragtune

Delete a collection

Deletes an entire collection. If you need more fine-grained deletion controls (e.g., deleting specific records), use the /vectors endpoint.

post/ragtune/delete

Request

  • Base URL: https://apipie.ai
  • URL: https://apipie.ai/ragtune/delete
  • Auth: API key in header Authorization

Request body

collection_namestring
delete_allboolean
idsstring[]
filterobject

Example request

{
  "collection_name": "my-collection",
  "ids": [
    "id1",
    "id2"
  ],
  "filter": {
    "key": "value"
  }
}

Response

Collection deleted successfully

messagestring

Example response

{
  "message": "Collection or vectors deleted successfully"
}

Changes

No recorded changes to this operation across all 1 revision of this API.