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>"
}

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

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