Delete Namespace
Namespaces
Delete Namespace
This endpoint deletes a namespace and ALL its resources including:
- All buckets (with S3 objects, batches, uploads)
- All collections (with Qdrant points, cache, webhooks)
- All clusters (with Ray jobs, executions, triggers, S3 artifacts)
- All retrievers (with executions, evaluations, interactions, cache)
- Remaining MongoDB collections (tasks, uploads, taxonomies, API keys, etc.)
- All S3 objects with namespace prefix
- Qdrant collection (namespace’s vector database)
- All namespace cache (across all scopes)
- Analytics data (ClickHouse tables)
- Namespace metadata
The deletion is performed asynchronously. Returns a task_id that can be used to poll for deletion progress via GET /v1/tasks/.
⚠️ WARNING: This operation is irreversible and will delete ALL data in the namespace!
DELETE
Delete Namespace
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Either the namespace name or namespace ID
Examples:
"my_namespace"
"ns_1234567890"
Query Parameters
Force deletion even if batches are still processing. Without this flag, the endpoint returns 409 when active batches exist.
Response
Successful Response

