Skip to main content

Send a message and wait for the result

POST 

/api/v1/llm/send-message-sync

Sends a message and waits for a bounded interval, returning generated messages inline when available. Use it when you need the assistant reply in the HTTP response, such as structured output or a classification.

Inspect status even on HTTP 200: a queued message, a pause for client tools or the bounded wait ending can return before the run finishes. A transport timeout or unknown status does not authorize resending the message; reconcile the accepted run.

See Messages and run outcomes for status interpretation and recovery.

Request​

Responses​

Run status returned; generation may still be active or waiting

Document ID: DOC-MA-conversations-api-sendMessageSync. Section identities and revisions.

SectionStable reference
OverviewDOC-MA-conversations-api-sendMessageSync#overview
RequestDOC-MA-conversations-api-sendMessageSync#request
ResponsesDOC-MA-conversations-api-sendMessageSync#responses