Retrievers
Patch Retriever
Changed onUpdate a retriever's metadata.
Editable fields:
- name, description, tags, display_config: metadata
- collection_identifiers: re-points + re-validates stage feature URIs
- stages: edit stages in place on an UNPUBLISHED retriever (change a filter/operator/rerank without clone+repoint+delete); the full stage list is replaced + re-validated as on create. A PUBLISHED retriever's stages stay immutable — clone or unpublish to change them.
- input_schema: NON-BREAKING evolution only (add default/examples/description to a field, add a new optional field). Breaking changes — removing a field, changing a type, making a field newly required — are rejected with 422 naming each one; clone the retriever for those.
budget_limits remains immutable; use POST /{retriever_id}/clone.
patch/v1/retrievers/{retriever_id}
Request
- Base URL: https://api.mixpeek.com
- URL: https://api.mixpeek.com/v1/retrievers/{retriever_id}
- Auth: HTTP bearer and API key in header X-Namespace
Path parameters
retriever_idstring required
Retriever ID or name.
Request body
Example request
{
"retriever_name": "product_search_v2"
}Response
Successful Response
Example response
{
"retriever": {
"budget_limits": {
"max_credits": 100,
"max_time_ms": 60000
},
"collection_ids": [
"col_marketing_ads"
],
"input_schema": {
"query_text": {
"description": "Full-text query",
"type": "string"
}
},
"retriever_id": "ret_abc123",
"retriever_name": "executive_ads_search",
"stages": [
{
"config": {
"parameters": {
"field": "metadata.spend",
"operator": "gt",
"value": 1000
},
"stage_id": "attribute_filter"
},
"stage_name": "filter_high_spend",
"stage_type": "filter"
}
]
}
}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
- warning
- info
the endpoint scheme security
BearerAuth AND NamespaceHeaderwas added to the API
- info