Dataset Variables
Access any dataset column by its type or column name. These variables are available for all entity types:dataset.input- Input column (same asrun.input)dataset.output- Output columndataset.expectedOutput- Expected output columndataset.scenario- Scenario columndataset.expectedSteps- Expected steps columndataset.expectedToolCalls- Expected tool calls columndataset.columns["column name"]- Any custom column by name
Run Variables
Access run-specific data using therun. prefix. Available options depend on your entity type (prompt or workflow).
Prompt Variable Mapping
Single-Turn Prompts
Access prompt version data using theversion. prefix:
version.messages(JSON) - All messages in the prompt version, including saved messagesversion.systemMessage(String) - System message from the saved versionversion.userMessages(JSON) - User messages combining saved version messages and run input
run.input(String) - Input variablerun.output(String) - Output variablerun.retrieval(String) - Retrieved context based on your selectionrun.toolCalls(JSON) - Tool calls with name, arguments, and results
Multi-Turn Prompts
Variable mapping works the same as single-turn prompts: Version variables:version.messages(JSON) - All messages in the prompt versionversion.systemMessage(String) - System messageversion.userMessages(JSON) - Combined user messages
run.input(String) - Input variablerun.output(String) - Output variablerun.retrieval(String) - Retrieved contextrun.toolCalls(JSON) - Tool calls with details
Workflow Variable Mapping
Single-Turn Workflows
Access workflow response data using theresponse. prefix:
run.input(String) - Input variablerun.output(String) - Output variablerun.retrieval(String) - Retrieved contextrun.response(JSON/any) - Workflow response with nested field access via dropdown or dot notation for objects, index notation for arrays
Multi-Turn Workflows
For simulation runs, map variables from the conversation:run.session(JSON) - Complete conversation session
Voice agent Variable Mapping
For voice agent simulation runs, map variables from the conversation:run.session(JSON) - Complete conversation sessionrun.recordingUrl(String) - Call recording url of the call
No-code agent Variable Mapping
Access no-code agent run data:run.input(String) - Input variablerun.output(String) - Output variablerun.retrieval(String) - Retrieved context based on your selectionrun.toolCalls(JSON) - Tool calls with name, arguments, and results