Skip to content

Commit 31ebb2c

Browse files
feat: add archive / unarchive to benchmarks (#8391)
1 parent cd722b3 commit 31ebb2c

2 files changed

Lines changed: 9 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 124
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-73c5043b0241a05714822d00b348e6b467dc0c64d6fa1c0d490a8753e16b170a.yml
3-
openapi_spec_hash: c5d438e50b3bd850c6c8613eb063a15a
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/runloop-ai%2Frunloop-f32de1991bef7651f9b0970b503e2986c7a88708c4a408d54abe6d089795e9f9.yml
3+
openapi_spec_hash: d2005d48f75fba4a5368209cf49641dc
44
config_hash: a759c23a5a04ad26f8740acc7e094c01

src/runloop_api_client/types/benchmark_view.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
from typing import Dict, List, Optional
4+
from typing_extensions import Literal
45

56
from pydantic import Field as FieldInfo
67

@@ -26,6 +27,12 @@ class BenchmarkView(BaseModel):
2627
scenario_ids: List[str] = FieldInfo(alias="scenarioIds")
2728
"""List of Scenario IDs that make up the benchmark."""
2829

30+
status: Literal["active", "archived"]
31+
"""Whether the benchmark is active or archived.
32+
33+
Archived benchmarks are excluded from listings and cannot be run.
34+
"""
35+
2936
attribution: Optional[str] = None
3037
"""Attribution information for the benchmark."""
3138

0 commit comments

Comments
 (0)