Skip to content

ExperimentRunDataset

Source code in docs_src/capo_cloudwatchomni/types/experiment_run_dataset.py
class ExperimentRunDataset(TypedDict, closed=True):
    source: "capo_cloudwatchomni.types.dataset_source_type.DatasetSourceType"
    """Where the dataset comes from."""
    id: NotRequired["str"]
    """The ID of the dataset, from 1 to 256 characters. Required for AGENTCORE datasets. FILE and OTHER datasets require an id or a name (DATASET_ID_REQUIRED)."""
    name: NotRequired["str"]
    """The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name."""
    version: NotRequired["str"]
    """The version of the dataset. For AGENTCORE datasets, a published version number. Required for hosted runs (FIELD_REQUIRED without it), and DRAFT is rejected. Optional and informational for reported runs."""
    case_count: NotRequired["int"]
    """The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs."""
    content_hash: NotRequired["str"]
    """A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>. Output only for hosted runs."""

case_count instance-attribute

case_count: NotRequired[int]

The number of cases the run will report. Cases that are never reported count as not run. Output only for hosted runs.

content_hash instance-attribute

content_hash: NotRequired[str]

A SHA-256 hash of the dataset's content, in the form sha256:<64 hex digits>. Output only for hosted runs.

id instance-attribute

id: NotRequired[str]

The ID of the dataset, from 1 to 256 characters. Required for AGENTCORE datasets. FILE and OTHER datasets require an id or a name (DATASET_ID_REQUIRED).

name instance-attribute

name: NotRequired[str]

The name of the dataset, from 1 to 256 characters. FILE and OTHER datasets require an id or a name.

source instance-attribute

Where the dataset comes from.

version instance-attribute

version: NotRequired[str]

The version of the dataset. For AGENTCORE datasets, a published version number. Required for hosted runs (FIELD_REQUIRED without it), and DRAFT is rejected. Optional and informational for reported runs.