Skip to main content
POST
Preview one reply (spot check)

Authorizations

Authorization
string
header
required

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

Headers

Idempotency-Key
string

Any unique string (e.g. a UUID). Retrying with the same key within 24 hours replays the first response instead of repeating the change.

Path Parameters

Body

application/json
message
string
required
Maximum string length: 4000
Example:

"Do you deliver on Saturdays?"

systemPrompt
string

Answer with these instructions instead of the saved ones, for this turn only.

Maximum string length: 10000
modelId
string

Answer with this model id (from GET /v1/agents/{agentId}/models), for this turn only.

Response

reply
string
required
preview
object
required
steps
object[]
required

What the agent did before answering, in order.

model
object
required
durationMs
number
required
usage
object
required
messagesCharged
number
required

Messages billed, as for a dashboard preview.