Evaluation suites and runs
Connect pinned versions, prepare experiments, and inspect execution.
A suite connects a frozen dataset version to enabled target and evaluator columns. Use evaluation:create/evaluation:update to configure it, evaluation:read to inspect state, evaluation:run to prepare/start/retry, and evaluation:cancel to cancel.
Prepare and submit
Dataset/suite/evaluator/target IDs identify logical resources. Dataset/target/evaluator version IDs pin immutable configuration; they are not version numbers. Case creation takes a dataset ID plus datasetVersionId; case listing takes the version ID. A new target column returns { target: { id }, targetVersion: { id, version, columns }, column: { id } }. Use targetVersion.id for the pinned execution configuration; evaluator creation returns { evaluator: { id, name }, version: { id, version } }.
prepare requires a frozen dataset version attached to the suite and enabled columns referencing the selected target/evaluator versions. Supply those version IDs to targetVersionIds/evaluatorVersionIds; reuse them in runs.create's targetIds/evaluatorIds to avoid ambiguity. Preparation does not run inference. Run creation queues execution and returns { id, status }. Reuse the same experiment, input and idempotency key after an uncertain submission; a new submission needs a new key. The SDK has no wait helper.
Target inputMapping uses destination input key → dataset source string. Model/route chat targets accept user_message, input, question or messages; use one. Prompt targets instead use the names of their prompt variables and pin promptId plus string promptVersionId and an explicit model/route. Mapping values like "dataset.question" read case data, not metadata or tags. Evaluator bindings are separate objects under the evaluator column's config.inputMapping. See configuration contracts.
Bound polling and recovery
Run creation queues execution and returns an ID; it does not wait for completion. Poll runs.get(id) with a finite deadline and retain the run ID on HTTP failures. Cancel explicitly when your budget expires and confirm terminal state before archiving inputs.
runs.list and runs.summary read persisted management views. runs.get reads runtime state. A replacement run after changed configuration needs newly prepared pinned versions and a new submission key. See result interpretation for retry eligibility and failed trials.
Use the complete model evaluation or prompt evaluation example for submission, polling and result validation. Run methods contain request and response contracts.