Description
This endpoint answers the user’s query with an LLM using web results (max 1 web search) to ground the answer. Use it for answering simple questions that involve a web search that require a low latency agent.Errors
The endpoint returns as a structured JSON object withstatus
, code
, title
, and detail
fields:
HTTP | Code | When it happens |
---|---|---|
400 | bad_request | Invalid request body (e.g., tools must be an array of objects) |
401 | unauthorized | Missing or invalid Authorization header (use a valid <API_KEY> ) |
403 | forbidden | You are not allowed to run this agent or the requested tool |
Authorizations
A unique API Key required to authorize API access. Ensure it is kept confidential. Get a free API Key at you.com/platform. Example: Authorization: Bearer $API_KEY
Body
application/json