AI agent instructions
AI agent instructions
POST /search. Full schema: Search Web.
Quick start
search.py
Parameters
string
required
The search query.
string
default:"standard"
How thorough the search is:
standard, fast, or deep.string
default:"searchResults"
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).