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

context_idunknown required
semantic_weightunknown required
bm25_weightunknown required
fetch_factorunknown required
use_rerankunknown required
reranker_providerunknown required
reranker_modelunknown required
embedding_modelunknown required
embedding_dimensionsunknown required
reinforce_enabledunknown
reinforce_max_boostunknown
reinforce_require_host_arbitrationunknown
routing_modeunknown
content_chunks_enabledunknown
content_chunks_can_changeunknown
content_chunks_supportedunknown
embedding_providerunknown
content_chunks_backfill_pendingunknown
content_chunks_effectiveunknown
content_chunks_limitunknown
content_chunks_in_useunknown
content_chunks_disabled_reasonunknown
llm_selector_enabledunknown
llm_selector_effectiveunknown
llm_selector_limitunknown
llm_selector_in_useunknown
llm_selector_disabled_reasonunknown
llm_selector_can_changeunknown
created_atunknown required
updated_atunknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.