AI agent instructions
AI agent instructions
POST /search. See the request parameters below.
Quick start
search.py
Parameters
What to return:
searchResults: ranked URLs with name and content snippetssourcedAnswer: a written answer plus source URLsstructured: structured output when you also pass a schema
maxResults or includeDomains).
Response shapes
searchResults includes a results array. Each item has url, name, and content.
sourcedAnswer includes answer (string) and sources (list of supporting URLs).