v2

OpenAPI 3.1.02026-07-264960204.2 KB

Create Search Provider

Create a new search provider integration, validating connectivity first.

post/search-providers

Request body

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

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