@runloop/api-client - v1.4.0
    Preparing search index...

    Interface ScenarioRunView

    A ScenarioRunView represents a single run of a Scenario on a Devbox. When completed, the ScenarioRun will contain the final score and output of the run.

    interface ScenarioRunView {
        id: string;
        devbox_id: string;
        metadata: { [key: string]: string };
        scenario_id: string;
        state:
            | "timeout"
            | "running"
            | "completed"
            | "failed"
            | "canceled"
            | "scoring"
            | "scored";
        benchmark_run_id?: string
        | null;
        duration_ms?: number | null;
        environment_variables?: { [key: string]: string } | null;
        name?: string | null;
        purpose?: string | null;
        scoring_contract_result?: ScoringContractResultView | null;
        secrets_provided?: { [key: string]: string } | null;
        start_time_ms?: number;
    }
    Index

    Properties

    id: string

    ID of the ScenarioRun.

    devbox_id: string

    ID of the Devbox on which the Scenario is running.

    metadata: { [key: string]: string }

    User defined metadata to attach to the scenario run for organization.

    scenario_id: string

    ID of the Scenario that has been run.

    state:
        | "timeout"
        | "running"
        | "completed"
        | "failed"
        | "canceled"
        | "scoring"
        | "scored"

    The state of the ScenarioRun.

    benchmark_run_id?: string | null

    ID of the BenchmarkRun that this Scenario is associated with, if any.

    duration_ms?: number | null

    Duration scenario took to run.

    environment_variables?: { [key: string]: string } | null

    Environment variables used to run the scenario.

    name?: string | null

    Optional name of ScenarioRun.

    purpose?: string | null

    Purpose of the ScenarioRun.

    scoring_contract_result?: ScoringContractResultView | null

    The scoring result of the ScenarioRun.

    secrets_provided?: { [key: string]: string } | null

    User secrets used to run the scenario.

    start_time_ms?: number

    The time that the scenario started