Execute a hosted web search for a standalone runtime

Hosted fulfillment of the runtime’s WebSearcher capability seam. Executes the same search-API provider call the search flow step uses internally (Exa), resolving the search credential api-side (customer key or platform fallback). The credential never appears in the response. Requires an Enterprise plan: ineligible accounts receive 403 (code BYOC_PLAN_REQUIRED).

Authentication

AuthorizationBearer
API key or Clerk session token

Request

This endpoint expects an object.
providerstringRequired>=1 character

Search-API provider id. Supported: ‘exa’.

querystringRequired>=1 character
maxResultsintegerOptional>=1
optionsobjectOptional

Response

Provider-mapped search results (results + citations + metadata)

resultslist of objects
citationslist of objects
metadatamap from strings to any

Errors

400
Bad Request Error
401
Unauthorized Error
402
Payment Required Error
403
Forbidden Error
404
Not Found Error
429
Too Many Requests Error
500
Internal Server Error
502
Bad Gateway Error