Update a retriever’s metadata.
Only metadata fields can be updated:
Core logic (input_schema, stages, collection_ids) is immutable. To modify core logic, use POST //clone instead.
REQUIRED: Bearer token authentication using your API key. Format: 'Bearer sk_xxxxxxxxxxxxx'. You can create API keys in the Mixpeek dashboard under Organization Settings.
REQUIRED: Namespace identifier for scoping this request. All resources (collections, buckets, taxonomies, etc.) are scoped to a namespace. You can provide either the namespace name or namespace ID. Format: ns_xxxxxxxxxxxxx (ID) or a custom name like 'my-namespace'
Retriever ID or name.
Request to update a retriever's metadata.
IMPORTANT: Partial Updates with Controlled Mutability
This endpoint allows updating ONLY metadata fields. Core retriever logic is immutable to ensure consistency for dependent resources (taxonomies, cached results, etc.).
✅ Fields You CAN Update (Metadata Only):
retriever_name: Rename the retrieverdescription: Update documentationtags: Update organization tags❌ Fields You CANNOT Update (Immutable Core Logic):
input_schema: Input field definitions (breaks dependent taxonomies)stages: Retriever stages and configurations (changes matching behavior)collection_ids: Target collections (changes data sources)Behavior:
Why This Design?
Updated retriever name. OPTIONAL - only provide if you want to rename the retriever.
1"product_search_v2"
Updated human-readable description. OPTIONAL - only provide if you want to update the description.
"Enhanced version with better caching"
Updated tags for organization and filtering. OPTIONAL - replaces existing tags if provided.
["production", "v2"]Successful Response
Response after updating a retriever.
Updated retriever configuration.