@@ -92,8 +92,11 @@ def list(
9292 environment_id : str | Omit = omit ,
9393 limit : int | Omit = omit ,
9494 model_id : str | Omit = omit ,
95+ schedule_id : str | Omit = omit ,
96+ skill_spec : str | Omit = omit ,
9597 source : RunSourceType | Omit = omit ,
9698 state : List [RunState ] | Omit = omit ,
99+ updated_after : Union [str , datetime ] | Omit = omit ,
97100 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
98101 # The extra values given here take precedence over values defined on the client or passed to this method.
99102 extra_headers : Headers | None = None ,
@@ -123,11 +126,17 @@ def list(
123126
124127 model_id: Filter by model ID
125128
129+ schedule_id: Filter runs by the scheduled agent ID that created them
130+
131+ skill_spec: Filter runs by skill spec (e.g., "owner/repo:path/to/SKILL.md")
132+
126133 source: Filter by run source type
127134
128135 state: Filter by run state. Can be specified multiple times to match any of the given
129136 states.
130137
138+ updated_after: Filter runs updated after this timestamp (RFC3339 format)
139+
131140 extra_headers: Send extra headers
132141
133142 extra_query: Add additional query parameters to the request
@@ -153,8 +162,11 @@ def list(
153162 "environment_id" : environment_id ,
154163 "limit" : limit ,
155164 "model_id" : model_id ,
165+ "schedule_id" : schedule_id ,
166+ "skill_spec" : skill_spec ,
156167 "source" : source ,
157168 "state" : state ,
169+ "updated_after" : updated_after ,
158170 },
159171 run_list_params .RunListParams ,
160172 ),
@@ -263,8 +275,11 @@ async def list(
263275 environment_id : str | Omit = omit ,
264276 limit : int | Omit = omit ,
265277 model_id : str | Omit = omit ,
278+ schedule_id : str | Omit = omit ,
279+ skill_spec : str | Omit = omit ,
266280 source : RunSourceType | Omit = omit ,
267281 state : List [RunState ] | Omit = omit ,
282+ updated_after : Union [str , datetime ] | Omit = omit ,
268283 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
269284 # The extra values given here take precedence over values defined on the client or passed to this method.
270285 extra_headers : Headers | None = None ,
@@ -294,11 +309,17 @@ async def list(
294309
295310 model_id: Filter by model ID
296311
312+ schedule_id: Filter runs by the scheduled agent ID that created them
313+
314+ skill_spec: Filter runs by skill spec (e.g., "owner/repo:path/to/SKILL.md")
315+
297316 source: Filter by run source type
298317
299318 state: Filter by run state. Can be specified multiple times to match any of the given
300319 states.
301320
321+ updated_after: Filter runs updated after this timestamp (RFC3339 format)
322+
302323 extra_headers: Send extra headers
303324
304325 extra_query: Add additional query parameters to the request
@@ -324,8 +345,11 @@ async def list(
324345 "environment_id" : environment_id ,
325346 "limit" : limit ,
326347 "model_id" : model_id ,
348+ "schedule_id" : schedule_id ,
349+ "skill_spec" : skill_spec ,
327350 "source" : source ,
328351 "state" : state ,
352+ "updated_after" : updated_after ,
329353 },
330354 run_list_params .RunListParams ,
331355 ),
0 commit comments