StartExperimentRunInput
¶
Source code in docs_src/capo_cloudwatchomni/types/start_experiment_run_input.py
client_token
instance-attribute
¶
client_token: NotRequired[ClientToken]
Idempotency token for safe retries. Repeated requests with the same token return the original run instead of starting another.
control
instance-attribute
¶
control: NotRequired[ControlSource]
An optional control to compare the run with. A target control starts a second run on the same dataset alongside this one, which uses a second AgentCore batch evaluation and counts toward the experiment's run quota. Required by rules that use vsControl or paired metrics (RULE_CONTROL_REQUIRED).
dataset
instance-attribute
¶
dataset: ExperimentRunDataset
The dataset to run, with source AGENTCORE, an id and a published version. Fails with FIELD_REQUIRED without a version, and the version cannot be DRAFT. Omit caseCount and contentHash.
description
instance-attribute
¶
description: NotRequired[Description]
An optional description of the run, up to 1024 characters with no control characters. Cannot be changed after the run starts.
evaluators
instance-attribute
¶
evaluators: ExperimentEvaluatorList
The evaluators to score the run with, from 1 to 10 for a hosted run. The run's rule can reference only these evaluators.
experiment_id
instance-attribute
¶
experiment_id: ExperimentId
The ID of the experiment to start the run in.
metadata
instance-attribute
¶
metadata: NotRequired[RunMetadataMap]
Additional details about what the run tested, beyond the target and dataset versions.
rule
instance-attribute
¶
rule: NotRequired[ExperimentRule]
An optional rule. When present, the run gets a verdict when it ends.
target
instance-attribute
¶
target: TargetConfig
The version of the experiment's target to run. Hosted runs support only agentCoreRuntime.