Skip to content

Commit 2145304

Browse files
feat: Add server run runtime to agent API
1 parent 5a09dfd commit 2145304

2 files changed

Lines changed: 8 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: 23
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-532e80ed769a2649b85798696c2c988d05a2c940c61425a6d6caaf6206beeb28.yml
3-
openapi_spec_hash: 018332ffca594f453bfd0fb348560946
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/warp-bnavetta/warp-api-af9105bfe35368bc3c9d1437d7aea1864735e0152afd117a816c5f289d8a7c21.yml
3+
openapi_spec_hash: da3c45f9d8a0cf9ff6c46e674b447463
44
config_hash: 236823a4936c76818117c16aa5c188df

src/oz_agent_sdk/types/agent/run_item.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,12 @@ class RunItem(BaseModel):
182182
request_usage: Optional[RequestUsage] = None
183183
"""Resource usage information for the run"""
184184

185+
run_time: Optional[str] = None
186+
"""Total runtime as an ISO 8601 duration (e.g.
187+
188+
"PT2M30S"), computed server-side from run executions.
189+
"""
190+
185191
schedule: Optional[Schedule] = None
186192
"""
187193
Information about the schedule that triggered this run (only present for

0 commit comments

Comments
 (0)