Skip to main content

Generate the next message in a conversation

POST 

/api/v1/conversations/:conversation_id/generate

Generates the next message using the specified actor's linked agent or chat. On completed, the reply is persisted as a new ConversationMessage authored by that actor. On requires_action, nothing is persisted; the caller must submit tool outputs via the Agents module and re-invoke generate.

Request

Responses

Generation completed or requires action