Skip to main content

Test Runs

A Test Run executes a test case and captures the agent’s output, performance metrics (latency, tokens, cost), and execution trace.

Quick Start

Run Results

Each run returns:
  • success - Whether test passed
  • output - Agent’s response
  • metrics - Latency, tokens, cost
  • trace_id - Execution trace link

Running Multiple Tests

By IDs or Tags

Async Mode

For long-running tests:

Compare Agent Versions

Next Steps

Evaluate runs with metrics:

Evaluations

Score runs with 29 built-in metrics

API Reference

Full API documentation