Zum Inhalt springen

Truncate a live-dataset table

DELETE
/api/ingest/{collectionName}/{tableName}
curl --request DELETE \
--url https://firma.company-gpt.com/companygpt/rag/api/api/ingest/example/example \
--header 'Authorization: Bearer <token>'

Delete all rows from a “live” dataset table. Requires admin (write) access to the collection.

collectionName
required
string

Collection’s technical name

tableName
required
string

Table truncated

Invalid table name

Unauthorized

Admin access required to ingest data

Dataset (or table) not found — also returned for any collection that is not a live dataset