Chats
Send a message and get a completion
Sends a user message to the clone and returns the assistant's response.
Set stream: true to receive the response as Server-Sent Events (SSE). SSE events: message.delta (incremental text), message.completed (final message), done (stream end).
post/public/v1/clones/{cloneId}/chats/{chatId}/completions
Path parameters
cloneIdstring required
chatIdstring required
Request body
Response
Completion response (JSON when stream is false, SSE when stream is true)