网络搜索

修改网络搜索服务设置

Changed on
patch/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

搜索服务 ID

Request body

descriptionstring

Description; empty clears it.

is_defaultboolean

Whether agents without an explicit provider use this service by default.

namestring

Display name; cannot be blank.

Response

OK

successboolean

Example response

{
  "success": true
}

Changes