Skip to main content
POST
10 or 100 credits See the guide for examples and usage.

Authorizations

Authorization
string
header
required

Send your API key as Authorization: Bearer <API_KEY>. Keys have full access unless restricted to specific permissions.

Body

application/json
task
string
required

What to research, in plain language, up to 2000 characters. Include domains or URLs to focus the research.

Required string length: 1 - 2000
mode
enum<string>

fast prioritizes speed and adds extra verification for people and companies; ultra searches and reads more sources for deeper research. Defaults to ultra.

Available options:
fast,
ultra
json_format
object

Example of the answer object to return, not a JSON Schema. Up to 8 levels deep, 500 values, and 16,000 characters. Values that cannot be found come back as null. Defaults to { "result": "" }.

controls
object

Limit which sites the research can search, read, and cite.

timeoutOpts
object

Request deadline and what to return when it passes.

zdr
enum<string>

enabled turns on zero data retention. Returns 403 ZDR_NOT_ENABLED unless your organization has ZDR.

Available options:
enabled,
disabled
tags
string[]

Labels for this request. Filter usage and request logs by them in the dashboard or with GET /org/logs.

Maximum array length: 20
Required string length: 1 - 50
Example:
policies
string[]

Access policy IDs to apply; each URL must pass all of them. Requires access policies enabled for your organization; otherwise returns ACCESS_POLICIES_NOT_ENABLED.

Example:

Response

The answer in your JSON shape, with its sources.

json_content
object
required

The answer, in the shape of json_format.

sources
string[]
required

URLs of the pages and company or profile records read for the answer, followed by URLs cited in json_content.

request_id
string<uuid>
required

Unique ID of this request, also in X-Request-Id. Include it when contacting support.

Example:

"3f1c2a6e-8b4d-4c1e-9f0a-2d7b5e6c8a91"

partial
boolean

true when the answer is incomplete because the deadline ended research or a requested list item has no researched values.

key_metadata
object

Credits this request used and your remaining balance.