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

    Interface BenchmarkJobView

    A BenchmarkJobView represents a benchmark job that runs a set of scenarios entirely on runloop.

    interface BenchmarkJobView {
        id: string;
        create_time_ms: number;
        name: string;
        state:
            | "timeout"
            | "initializing"
            | "queued"
            | "running"
            | "completed"
            | "failed"
            | "cancelled";
        benchmark_outcomes?: Runloop.BenchmarkJobView.BenchmarkOutcome[]
        | null;
        failure_reason?: string | null;
        in_progress_runs?: Runloop.BenchmarkJobView.InProgressRun[] | null;
        job_source?:
            | HarborJobSource
            | BenchmarkDefJobSource
            | ScenariosJobSource
            | null;
        job_spec?: Runloop.BenchmarkJobView.JobSpec
        | null;
    }
    Index

    Properties

    id: string

    The ID of the BenchmarkJob.

    create_time_ms: number

    Timestamp when job was created (Unix milliseconds).

    name: string

    The unique name of the BenchmarkJob.

    state:
        | "timeout"
        | "initializing"
        | "queued"
        | "running"
        | "completed"
        | "failed"
        | "cancelled"

    The current state of the benchmark job.

    benchmark_outcomes?: Runloop.BenchmarkJobView.BenchmarkOutcome[] | null

    Detailed outcome data for each benchmark run created by this job. Includes per-agent results and scenario-level details.

    failure_reason?: string | null

    Failure reason if job failed.

    in_progress_runs?: Runloop.BenchmarkJobView.InProgressRun[] | null

    Benchmark runs currently in progress for this job. Shows runs that have not yet completed.

    The source configuration that was used to create this job. Either Harbor YAML or benchmark definition reference.

    job_spec?: Runloop.BenchmarkJobView.JobSpec | null

    The resolved job specification. Contains scenarios, agents, and orchestrator config.