An experiment can run multiple times. Each run has its own ID for inspecting cases, stopping execution and exporting a report.First select an evaluation workspace and set WORKSPACE_ID to its ID. Use resource IDs and revisions returned in that workspace. For the complete example files and variable assignments, see Run an evaluation and export its report.
eval experiment create
Bind fixed dataset and evaluator releases to an experiment. Data mode scores existing answers. Inference mode calls a validated target first.
Option
Description
Default
--dataset-id <value>
Dataset ID in the workspace
—
--dataset-version-id <value>
VersionId of a fixed dataset release
—
--description <value>
Resource or version description
—
--evaluation-mode <value>
Data scores existing answers. Inference calls the target and scores its output Data, Inference
—
--evaluators <json|@file|->
Published evaluator bindings with EvaluatorId, VersionId and FieldMappings. Map inference output from $.experiment_output
—
--input-path <value>
Path in the HTTP request body for the input. The root is $
—
--max-concurrency <number>
Inference only, from 1 to 20
5
--name <value>
Resource name
—
--space-id <value>
Required only for A2AAgent. Use the source platform space ID
—
--target-agent-id <value>
Validated source ID for inference, or the saved target ID for custom HTTP
—
--target-type <value>
Target type for inference A2AAgent, RuntimeAgent, CustomHttpAgent
—
--target-version <value>
Exact platform resource version. For a runtime use a canonical decimal i32 string, including 0. Omit for CustomHttpAgent
—
--target-input-field <value>
Inference only. Case-sensitive dataset field to pass as target input
input
--run-now <boolean>
Use true to start a run at creation, false to create only the experiment. Required.
Generate a new CSV snapshot. Omit filters to export the whole run. Check Result.IsPartial, download before ExpiresAt and verify the file size and SHA256 digest.
Option
Description
Default
--client-token <value>
Required export token of 1–64 printable ASCII characters without spaces. Reusing a token still creates a new file. Required.
—
--experiment-id <value>
Experiment ID. Required.
—
--case-duration-gt-seconds <number>
Exclusive lower duration bound in seconds, up to three fractional digits
—
--case-duration-lt-seconds <number>
Exclusive upper duration bound in seconds, up to three fractional digits
—
--case-statuses <value...>
Filter by case execution status, including failures without scores NotStarted, Pending, Running, Succeeded, Failed, Stopped
—
--conditions <json|@file|->
Per-evaluator filter conditions, mutually exclusive with simple evaluator ID, score and label filters
—
--detail-mode <value>
Evaluator details to include in the export SelectedEvaluators, MatchedOnly
SelectedEvaluators
--evaluator-ids <value...>
List of evaluator IDs
—
--labels <value...>
Match output labels exactly
—
--match <value>
Match any or all supplied conditions Any, All
All
--score-gte <number>
Inclusive lower score bound. Select a single evaluator on multi-evaluator runs
—
--score-lte <number>
Inclusive upper score bound. Select a single evaluator on multi-evaluator runs
—
--run-id <value>
Run ID from Result.Run.RunId in the start response. Required.
Validate the target in the same workspace and confirm that Result.Validation.Status is Passed. Use the returned SourceReference.Id and SourceReference.Version for the runtime target. In the earlier evaluators.json, change the answer’s SourceField to $.experiment_output and save it as inference-evaluators.json. The dataset release must include an inference input field, named input by default.