Authorizations
Path Parameters
Response
Successful Response
Request to run a task.
Processor to use for the task.
"base"
Input to the task, either text or a JSON object.
"What was the GDP of France in 2023?"
"{\"country\": \"France\", \"year\": 2023}"
User-provided metadata stored with the run. Keys and values must be strings with a maximum length of 16 and 512 characters respectively.
Optional source policy governing preferred and disallowed domains in web search results. Source policy for web search results.
This policy governs which sources are allowed/disallowed in results.
Task specification. If unspecified, defaults to auto output schema. Specification for a task.
Auto output schemas can be specified by setting output_schema={"type":"auto"}
. Not
specifying a TaskSpec is the same as setting an auto output schema.
For convenience bare strings are also accepted as input or output schemas.