- Send
querytoGET /v1/web/search, using the Python, JavaScript, or curl example in the web search reference. - Attach
Authorization: BearerwithSAN_API_KEYfrom your environment. Keep credentials and the endpoint outside model-controlled arguments. - Return parsed JSON to the agent. Handle failures using the retry guidance.
API essentials
Integrate SAN with your agent
Expose SAN’s HTTP endpoints as tools in your server-side agent runtime.
Register each SAN operation your agent needs as a tool in your server runtime. This minimal definition exposes web search with a required query:
Adapt this definition to your framework’s registration format, then bind a handler:
Was this page helpful?
