Skip to main content
POST
Synchronous structured research

Authorizations

Authorization
string
header
required

API key ret_live_… created in Settings → API keys.

Body

application/json
query
string
required
Minimum string length: 1
output_schema
object

JSON Schema of the expected value.

instructions
string
max_steps
integer
default:30
Required range: 1 <= x <= 100
model
enum<string>
default:fast
deprecated

Deprecated: every run uses the same model. smart is accepted and runs as fast.

Available options:
fast,
smart
stream
boolean
default:false

Response

Result.

ok
boolean
status
string
value
any

Value conforming to output_schema.

usage
object