Search reports
const url = 'https://deeperesearch.com/v1/reports?q=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://deeperesearch.com/v1/reports?q=example' \ --header 'Authorization: Bearer <token>'Full-text search across every report in the organization.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Words to search for
Responses
Section titled “Responses”Matching reports
object
object
Null for a synthesis report
For a synthesis report: how it was made
object
The report in Markdown, citing sources as [n]
object
The number used in the report text, e.g. [3]
object
Signed URL, valid for one hour; null in search results
ISO 8601 timestamp, UTC
Example
{ "object": "list", "data": [ { "object": "report", "kind": "vendor", "merge": { "thinking": "off", "mode": "comprehensive" } } ]}Missing or invalid API key (unauthorized)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Invalid request; the message names the field (invalid_request, exceeds_max_cost, vendor_unavailable, …)
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}Rate limit, spending limit or quota reached (rate_limited, limit_reached, quota_exceeded). See Retry-After.
object
object
Stable, machine-readable error code. See Errors in the docs.
What went wrong, written for people
Example generated
{ "error": { "code": "example", "message": "example" }}