Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-portkey-trace-id
string
x-portkey-span-id
string
x-portkey-parent-span-id
string
x-portkey-span-name
string
x-portkey-metadata
object

Body

application/json
model
string
required
state
required
questions
object
required

Response

200 - application/json
model
string
required
answers
object
required
usage
object
provider
string
Last modified on September 27, 2026