Evaluate a trace directly using the evaluation engine.
This endpoint accepts a complete trace JSON (with messages, spans, retrievals) and evaluates it using the specified metrics. It extracts the evaluation context from the trace structure automatically.
Valiqor API key. Pass as Bearer token: Authorization: Bearer vq-xxxxxxxxxxxxxxxxxxxx
Request model for trace-based evaluation endpoint
Project name (will be created if doesn't exist)
Complete trace JSON data (with messages, spans, retrievals)
Metric keys to compute
Optional run name
Evaluation configuration
Additional metadata
Optional OpenAI key override
Successful Response