Namespaces

Delete Namespace

Changed on

This endpoint deletes a namespace and ALL its resources including: - All buckets (with S3 objects, batches, uploads) - All collections (with vector 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 - The namespace's vectors in the vector store - All namespace cache (across all scopes) - The namespace's analytics events - Namespace metadata

The deletion is performed asynchronously. Returns a task_id that can be used
to poll for deletion progress via GET /v1/tasks/{task_id}.

⚠️  WARNING: This operation is irreversible and will delete ALL data in the namespace!
delete/v1/namespaces/{namespace_identifier}

Request

  • Base URL: https://api.mixpeek.com
  • URL: https://api.mixpeek.com/v1/namespaces/{namespace_identifier}
  • Auth: HTTP bearer

Path parameters

namespace_identifierstring required

Either the namespace name or namespace ID

Example:my_namespace

Query parameters

forceboolean

Force deletion even if batches are still processing. Without this flag, the endpoint returns 409 when active batches exist.

Response

Successful Response

unknown required

Changes

    • warning

      removed the optional property from the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the optional property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      the endpoint scheme security BearerAuth was added to the API