workspace-kg-extraction
workspace-kg-extraction

Patch Kg Extraction Settings

Update kg_extraction_model and/or kg_extraction_fallback_policy.

Both fields are optional in the PATCH — caller can update either or both. workspaces has a BEFORE UPDATE trigger (trg_workspaces_updated_at) that maintains updated_at automatically.

Model storage: workspaces.settings JSONB key, matches the generate_model pattern from /ai/generate-action so the same UI persistence story applies.

patch/api/workspace/kg-extraction/settings

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/workspace/kg-extraction/settings
  • Auth: none declared

Request body

kg_extraction_model'gpt-4o-mini' | 'gpt-4.1-mini' | 'claude-haiku-4-5-20251001' | 'deepseek-v4-flash-nothink' | 'deepseek-chat' nullable
kg_extraction_fallback_policy'prefer_quality' | 'prefer_byok' nullable
kg_extraction_enabledboolean nullable

Response

Successful Response

kg_extraction_model'gpt-4o-mini' | 'gpt-4.1-mini' | 'claude-haiku-4-5-20251001' | 'deepseek-v4-flash-nothink' | 'deepseek-chat' required
kg_extraction_fallback_policy'prefer_quality' | 'prefer_byok' required
kg_extraction_enabledboolean required

Changes

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