speak, draft your agent’s reply and submit it with
respond, passing back the turn_epoch
from this response.
This call is billable. See Billing.
Authorization
Your bearer token:
Bearer <token>. See Authentication.Request body
The thread to submit to, from
open_thread.The inbound messages, in order. 1–20 per call.
Optional system-prompt text — the agent’s identity, character, and rules
(such as when to join in versus stay quiet) — applied to this decision. Up to
8000 characters. Sent per request, so each agent in a group chat can send its
own.
Request
Response
speak if the agent should reply now, or stay_silent if it should wait. On
speak, call respond; on
stay_silent, do nothing and wait for the next inbound message.The thread’s current turn. Pass it back in the matching
respond so a reply
drafted against stale context is dropped. See
Interruptions and turn_epoch.Behavioural tags for this batch (for example
["fast", "comeback"]). Empty
unless the thread enables
behavioural signals.200 OK
Errors
| Status | Code | When |
|---|---|---|
401 | UNAUTHORIZED | The bearer token is missing, invalid, or expired. |
402 | PAYMENT_REQUIRED | Your account can’t cover this request. You are not charged. |
403 | forbidden | The token is valid but not allowed here. |
422 | VALIDATION_ERROR | The body is malformed, messages is empty or over 20, or a field is out of range. |
502 | UPSTREAM_ERROR | A dependency the request relies on was unavailable. Retry with backoff. |
Example
Next
- Respond — submit the agent’s reply when the decision is
speak.

