Queue message
Add a message to a session’s queue instead of interrupting the agent. Queued messages are sent automatically, in order. An eligible idle, completed, or failed session starts a turn immediately; a busy session consumes the message through its existing queue.
POST
cURL
What limits apply to the queue?
What limits apply to the queue?
Stops, approvals, and concurrency limits still apply. A session’s queue holds at most 20 messages. The returned queue can already be empty if delivery started.To interrupt the current turn and send a queued message immediately, use Send queued message now.
Authorizations
Path Parameters
ID of the session to queue the message on.
Body
application/json
The message to queue. Cannot be empty. Also accepted as message for backwards compatibility.
Example:
"Also check their latest funding round."