Skip to main content
DELETE
/
engine
/
v2
/
items
Delete Items
curl --request DELETE \
  --url https://platform.ai.gloo.com/engine/v2/items \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "item_ids": [
    "3c90c3cc-0d44-4b50-8888-8dd25736052a"
  ]
}
'
{
  "success": true,
  "mode": "<string>",
  "total_requested": 123,
  "total_deleted": 123,
  "total_failed": 123,
  "results": [
    {
      "item_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "success": true,
      "error": "<string>",
      "deleted_from": {
        "weaviate": true,
        "s3": true,
        "chunk_enrichments": true,
        "files": true,
        "database": true
      }
    }
  ],
  "message": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.gloo.com/llms.txt

Use this file to discover all available pages before exploring further.

Error Reference: Content Controls

Common errors: missing or invalid item IDs (400), unauthorized delete (403), validation errors (422), delete failures (500).

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
item_ids
string<uuid>[]
required
Required array length: 1 - 1000 elements

Response

Successful Response

success
boolean
required
mode
string
required
total_requested
integer
required
total_deleted
integer
required
total_failed
integer
required
results
DeleteItemResult · object[]
required
message
string
required