Exa
Exa’s neural index — search, contents, find-similar, and answer
Fronts the neural-search API of Exa. Its sibling endpoints all live on the one host api.exa.ai and are mounted under /exa:
Only POST is mounted. All controls live in the JSON body, which is relayed without modification.
Endpoints
Exactly these endpoints are admitted; anything else is refused with the gateway’s own 404 and never reaches Exa.
The async /research API on Exa’s side is intentionally left unexposed.
Credential handling
Exa honors two credential channels — an x-api-key header and, alternatively, a bearer token in Authorization. The gateway supplies the former and deletes the latter, closing off both:
x-api-keyis injected; a client-supplied value is overwritten.Authorizationis removed before the request goes upstream — which simultaneously shuts the second Exa auth channel; no key can be smuggled throughAuthorization.
Examples
Search
Answer
Responses arrive as Exa’s JSON, untouched. Field-level request and response detail lives in Exa’s documentation; the gateway modifies neither.