Search

Run Exa search

Credit-gated Exa /search proxy. The request body is forwarded unchanged and the upstream JSON response is returned unchanged.

post/v1/search/exa

Request

  • Base URL: / (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /v1/search/exa
  • Auth: HTTP bearer

Headers

Idempotency-Keystring required

Required stable key for metered POST retries. Reusing the same key for the same user, route, and method reuses the same credit reservation anchor.

Request body

contentsobject

Optional Exa contents selector.

excludeDomainsstring[]

Optional domain deny-list.

includeDomainsstring[]

Optional domain allow-list.

numResultsinteger

Maximum result count requested from Exa.

querystring required

Natural-language or keyword search query.

typestring

Exa search type, for example neural or keyword.

Example request

{
  "excludeDomains": [
    "spam.example"
  ],
  "includeDomains": [
    "example.com"
  ],
  "numResults": 5,
  "query": "recent fintech accounts receivable trends",
  "type": "neural"
}

Response

Exa search response.

ExaSearchResponse required

Exa /search JSON response, proxied unchanged.

Changes

No recorded changes to this operation across all 50 revisions of this API.