Data Format Overview
TurnWise uses a hierarchical JSON format to represent AI agent conversations. This format captures the full context of conversations including messages, tool usage, and agent reasoning.Structure
Minimal Example
The simplest valid TurnWise file:sequence_number) and step order (step_order) are automatically inferred from array positions.
Required vs Optional Fields
Required Fields
Optional Fields
The meta Field
Every level supports an optional meta field for storing custom data:
Next Steps
Conversations
Learn about conversation structure
Messages
Understand message roles and content
Steps
Capture reasoning and tool usage
Agents
Define agent capabilities