Send agent message (sync)
Synchronously sends a message to the agent’s published version and blocks until the agent finishes (or timeoutSeconds expires). Auto-creates a conversation when conversationId is omitted. Response includes token usage and cost.
Autorizações
Parâmetros de caminho
Agent public ID
Corpo
Body for sending a message to an agent (sync or streaming).
Optional attachments to include with this message (max 10).
10Message text. May be empty when at least one attachment is provided.
32000"Hi, can you summarize my latest invoices?"
Continue this conversation. Omit to create a new conversation or reuse one for the externalUserId.
"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21"
Stable end-user identifier. Auto-generated UUID if omitted on a new conversation.
255"user_42"
Only honored when CREATING a new conversation. true excludes the conversation from the Studio inbox. Ignored when continuing an existing conversation.
false
Arbitrary JSON metadata; stored on the conversation (first message only).
Sync-only: max wall-clock seconds to block before returning 408. Ignored by the stream endpoint.
1 <= x <= 30060

