Skip to main content
All Valiqor data models are Python dataclass objects with to_dict() and from_dict(cls, data) methods for serialization. Paginated models support len() and iteration.

EvaluationResult

Returned by evaluate(), evaluate_trace(), and get_run().

JobHandle

Returned by evaluate_async(). Wraps an async evaluation job with status polling and result retrieval.

JobStatus

Status of an async evaluation job. Properties: is_running, is_completed, is_failed (all bool).

RunMetric

Per-metric score for an evaluation run.

EvalItemDetail

Per-item evaluation detail with scores and explanations.

EvalItemsPage

Paginated list of EvalItemDetail. Supports len() and iteration.

EvalTrendPoint

A single data point in an evaluation trend.

EvalRunComparison

Result of comparing multiple evaluation runs.

MetricInfo

Metric template or project metric configuration.

ProjectInfo

AuthInfo

CancelResponse