Create Search Provider

Changed on

Create a new search provider integration, validating connectivity first.

post/search-providers

Request

  • Base URL
    https://api.discolike.com (the document declares no server; this is the origin it was published from)
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

integration_namestring required

User-friendly name

providerstring required

LiteLLM provider key (tavily, serper, etc.)

search_modelstring required

LiteLLM model key for cost lookup (tavily/search, etc.)

api_keystring nullable

Plaintext API key (null to keep unchanged)

base_urlstring nullable

Custom endpoint URL for LiteLLM Proxy

Response

Successful Response

integration_idstring nullable

Integration UUID

integration_namestring required

User-friendly name

providerstring required

LiteLLM provider key (tavily, serper, etc.)

search_modelstring required

LiteLLM model key for cost lookup (tavily/search, etc.)

encrypted_api_keystring nullable

Encrypted API key from DB (null for free providers)

api_keystring nullable

Plaintext API key for create/update requests (null to keep unchanged)

base_urlstring nullable

Custom endpoint URL for LiteLLM Proxy

is_defaultboolean

Whether this is the org default search provider

cost_per_querynumber nullable

Cost per query from litellm.model_cost

Changes

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property