Skip to main content
POST
cURL
Related guide: Web search guide. See the Web search guide for a walkthrough with examples.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Search query and provider, with optional result limit, customer identity, and PII settings.

provider
enum<string>
required

Provider to run this search. Exa uses auto, Linkup uses standard depth, Tavily uses basic depth, and OpenAI runs one web_search tool call on gpt-5.6-luna. Workspace credentials are selected automatically for this provider.

Available options:
exa,
ceramic,
linkup,
tavily,
serper,
openai,
perplexity,
deepseek
query
string
required

Search text. Must not be blank or exceed 10,000 characters. Ceramic accepts at most 50 words and DeepSeek at most 128 characters.

Required string length: 1 - 10000
identity
object

Customer or end-user identity for attributing this search and its usage.

limit
integer
default:10

Maximum number of results to return, from 1 to 10. Defaults to 10. The provider may return fewer results.

Required range: 1 <= x <= 10
plugins
object[]

Optional PII Redaction configuration. At most one plugin is accepted, with id pii_redaction. Workspace and matching rule requirements still apply when this field is omitted.

Maximum array length: 1

Response

Search completed. Results may be empty or fewer than the requested limit.

items
object[]
required

Results in the provider's order, after any required PII redaction. Empty when no results are found.

metadata
object
required

Details about this search request.