context-search-config
Reset Context Search Config
Reset context search configuration to defaults.
Resets all settings to default values:
- semantic_weight: 0.6
- bm25_weight: 0.4
- fetch_factor: 3
- use_rerank / reranker_provider / reranker_model: the deployment default (DEFAULT_USE_RERANK / DEFAULT_RERANKER_PROVIDER / DEFAULT_RERANKER_MODEL, #1572; unset: false / 'voyage' / 'rerank-2')
- content_chunks_enabled: false — while it is on, that is a change and takes the context owner or a workspace owner/admin (#2015)
- llm_selector_enabled: false — on the same rule (#2144)
Args: context_id: Context UUID current_user: Current authenticated user db: Database session
Returns: Reset ContextSearchConfigResponse
Raises: HTTPException: 403 if content_chunks_enabled or llm_selector_enabled is on and the caller is not the context owner, 404 if context not found, 500 on error
post/api/v1/contexts/{context_id}/search-config/reset
Request
- Base URL: https://memory.kagura-ai.com (the document declares no server; this is the origin it was published from)
- URL: https://memory.kagura-ai.com/api/v1/contexts/{context_id}/search-config/reset
- Auth: none declared
Path parameters
context_idstring uuid required
Headers
authorizationstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 2 revisions of this API.