网络搜索

更新网络搜索 Provider

Changed on

更新指定 provider 的名称/描述/参数/是否默认

put/web-search-providers/{id}

Request

  • Base URL
    /api/v1 (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/v1/web-search-providers/{id}
  • Auth
    • API key in header Authorization
    • or API key in header X-API-Key

Path parameters

idstring required

Provider ID

Request body

descriptionstring
is_defaultboolean
namestring

Response

更新后的 Provider

created_atstring

Timestamps

descriptionstring

Description

idstring

Unique identifier (UUID, auto-generated)

is_defaultboolean

Whether this is the default provider for the workspace

namestring

User-friendly name, e.g., "Production Bing Search"

provider'brave' | 'bing' | 'google' | 'duckduckgo' | 'tavily' | 'ollama' | 'baidu' | 'searxng' | 'keenable' | 'zhipu' | 'exa' | 'metaso' | 'bocha' | 'serply'
tenant_idinteger

Workspace ID for scoping

updated_atstring

Changes