Skip to main content
PATCH
Transition Lifecycle

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

X-Namespace
string
header
required

Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.

Path Parameters

collection_identifier
string
required

Collection ID or name

Body

application/json
lifecycle_state
enum<string>
required

Target lifecycle state for the collection

Available options:
active,
cold,
archived
async_transition
boolean
default:true

If False, block until the transition completes

Response

Successful Response

collection_id
string
required
lifecycle_state
enum<string>
required
Available options:
active,
cold,
archived
s3_vector_index
string | null
vector_document_count
integer | null
s3_vector_count
integer | null
last_transitioned_at
string<date-time> | null
task_id
string | null
warning
string | null