Skip to main content

Conversations

A conversation represents a single interaction thread between a user and one or more AI agents.

Structure

Fields

name (optional)

A human-readable name for the conversation. Useful for identifying specific conversations in the UI.

description (optional)

Additional context about the conversation.

agents (optional)

Array of agent definitions. See Agents for details. Note: If no agents are provided, TurnWise will automatically create a default “basic agent” for the conversation. This ensures all conversations have at least one agent reference.

messages (required)

Array of message objects. See Messages for details.

meta (optional)

Custom metadata object for storing any additional information.

Example

Multiple Conversations

A single file can contain multiple conversations:
This is useful for batch importing data or organizing related conversations together.