The POST /research method creates an asynchronous research task which can perform a comprehensive web research. This endpoint is currently in beta, it might be subject to changes.
GET /v1/research/:id to poll for
the result, or GET /v1/research
to list all your research tasks.outputType is set to structured, you may provide a JSON structuredOutputSchema to dictate
the response format.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The type of output you want to get. Use structured for a custom-formatted response defined by structuredOutputSchema.
sourcedAnswer, structured The natural language question for which you want to retrieve context.
"What is Microsoft's 2024 revenue?"
The domains you want to exclude of the search. By default, don't restrict the search.
["wikipedia.org"]The date from which the search results should be considered, in ISO 8601 format (YYYY-MM-DD). It must be before toDate, if provided, and later than 1970-01-01.
"2025-01-01"
The domains you want to search on. By default, don't restrict the search. You can provide up to 100 domains.
100["microsoft.com", "agolution.com"]Defines whether the API should include images in its results.
Required only when outputType is structured. Provide a JSON schema (as a string) representing the desired response format. The root must be of type object.
The date until which the search results should be considered, in ISO 8601 format (YYYY-MM-DD). It must be later than fromDate, if provided, or than 1970-01-01.
"2025-01-01"
Research task created successfully.
The date and time when the task was created.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2026-01-01T00:00:00.000Z"
The error message if the task failed.
The unique identifier of the task.
"01234-abcd-56789"
The current status of the task.
completed, failed, pending, processing "completed"
The date and time when the task status was last updated.
^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$"2026-01-01T00:00:00.000Z"
"research"