@@ -24,7 +24,7 @@ class Batch(BaseModel):
2424 completion_window : str
2525 """The time frame within which the batch should be processed."""
2626
27- created_at : str
27+ created_at : int
2828 """The Unix timestamp (in seconds) for when the batch was created."""
2929
3030 endpoint : str
@@ -41,33 +41,33 @@ class Batch(BaseModel):
4141 ]
4242 """The current status of the batch."""
4343
44- cancelled_at : Optional [str ] = None
44+ cancelled_at : Optional [int ] = None
4545 """The Unix timestamp (in seconds) for when the batch was cancelled."""
4646
47- cancelling_at : Optional [str ] = None
47+ cancelling_at : Optional [int ] = None
4848 """The Unix timestamp (in seconds) for when the batch started cancelling."""
4949
50- completed_at : Optional [str ] = None
50+ completed_at : Optional [int ] = None
5151 """The Unix timestamp (in seconds) for when the batch was completed."""
5252
5353 error_file_id : Optional [str ] = None
5454 """The ID of the file containing the outputs of requests with errors."""
5555
5656 errors : Optional [Errors ] = None
5757
58- expired_at : Optional [str ] = None
58+ expired_at : Optional [int ] = None
5959 """The Unix timestamp (in seconds) for when the batch expired."""
6060
61- expires_at : Optional [str ] = None
61+ expires_at : Optional [int ] = None
6262 """The Unix timestamp (in seconds) for when the batch will expire."""
6363
64- failed_at : Optional [str ] = None
64+ failed_at : Optional [int ] = None
6565 """The Unix timestamp (in seconds) for when the batch failed."""
6666
67- finalizing_at : Optional [str ] = None
67+ finalizing_at : Optional [int ] = None
6868 """The Unix timestamp (in seconds) for when the batch started finalizing."""
6969
70- in_progress_at : Optional [str ] = None
70+ in_progress_at : Optional [int ] = None
7171 """The Unix timestamp (in seconds) for when the batch started processing."""
7272
7373 metadata : Optional [builtins .object ] = None
0 commit comments