@@ -35,6 +35,7 @@ def create(
3535 observation_id : typing .Optional [str ] = OMIT ,
3636 trace_id : typing .Optional [str ] = OMIT ,
3737 dataset_version : typing .Optional [dt .datetime ] = OMIT ,
38+ created_at : typing .Optional [dt .datetime ] = OMIT ,
3839 request_options : typing .Optional [RequestOptions ] = None ,
3940 ) -> HttpResponse [DatasetRunItem ]:
4041 """
@@ -63,6 +64,9 @@ def create(
6364 If provided, the experiment will use dataset items as they existed at or before this timestamp.
6465 If not provided, uses the latest version of dataset items.
6566
67+ created_at : typing.Optional[dt.datetime]
68+ Optional timestamp to set the createdAt field of the dataset run item. If not provided or null, defaults to current timestamp.
69+
6670 request_options : typing.Optional[RequestOptions]
6771 Request-specific configuration.
6872
@@ -81,6 +85,7 @@ def create(
8185 "observationId" : observation_id ,
8286 "traceId" : trace_id ,
8387 "datasetVersion" : dataset_version ,
88+ "createdAt" : created_at ,
8489 },
8590 request_options = request_options ,
8691 omit = OMIT ,
@@ -298,6 +303,7 @@ async def create(
298303 observation_id : typing .Optional [str ] = OMIT ,
299304 trace_id : typing .Optional [str ] = OMIT ,
300305 dataset_version : typing .Optional [dt .datetime ] = OMIT ,
306+ created_at : typing .Optional [dt .datetime ] = OMIT ,
301307 request_options : typing .Optional [RequestOptions ] = None ,
302308 ) -> AsyncHttpResponse [DatasetRunItem ]:
303309 """
@@ -326,6 +332,9 @@ async def create(
326332 If provided, the experiment will use dataset items as they existed at or before this timestamp.
327333 If not provided, uses the latest version of dataset items.
328334
335+ created_at : typing.Optional[dt.datetime]
336+ Optional timestamp to set the createdAt field of the dataset run item. If not provided or null, defaults to current timestamp.
337+
329338 request_options : typing.Optional[RequestOptions]
330339 Request-specific configuration.
331340
@@ -344,6 +353,7 @@ async def create(
344353 "observationId" : observation_id ,
345354 "traceId" : trace_id ,
346355 "datasetVersion" : dataset_version ,
356+ "createdAt" : created_at ,
347357 },
348358 request_options = request_options ,
349359 omit = OMIT ,
0 commit comments