Search

Search With Provider

Search the web with the provider named in the path.

Same request and response as POST /v3/search, for clients whose body is fixed but whose endpoint URL is configurable (Open WebUI's perplexity_search engine: set its URL to /v3/search/tavily). A model in the body, if present, must name the same provider.

post/v3/search/{provider}

Request

  • Base URL
    https://api.edenai.run
  • Auth
    HTTP bearer

Path parameters

providerstring required

Request body

querystring required

The search query. At most 128 characters on deepseek.

modelstring nullable

Search provider, e.g. tavily. Optional when the provider is in the path (POST /v3/search/{provider}). List the ids with GET /v3/search/models.

max_resultsinteger

Most results to return (1-20). A provider may return fewer; on zai the results are cut to this number after the search.

search_domain_filterstring[] nullable

Domains to restrict results to, or, with a leading -, domains to exclude (-pinterest.com). Allow and deny entries cannot be mixed. Up to 20.

countrystring nullable

ISO 3166-1 alpha-2 country code to bias results toward, e.g. US.

Response

Successful Response

idstring required

Eden AI request id; quote it when reporting a problem.

providerstring required

Eden extension: provider that ran the search.

costnumber required

Eden extension: cost in USD.

Changes

No recorded changes to this operation across all 1 revision of this API.