Skip to main content
A turn is one shopper message in, one assistant reply out. POST /v1/conversations runs that turn. Omit conversation_id on the first message and Channel3 opens a conversation. Pass it on later turns to continue. Stream with createTurnStream (the quickstart path). Use createTurn when you want one JSON body instead of a stream — for example a backend job. One turn at a time per conversation. A second POST while a turn is still running returns 409.
The SDK sends your user id with x-user-id when you set it, so clicks and sales attach to your user. See context, filters, and streaming events.

One JSON reply

Set stream: false, or call createTurn. You get message (the full assistant reply) and usage (credits_charged, searches_run).