@@ -24,7 +24,7 @@ class Batch(BaseModel):
24
24
completion_window : str
25
25
"""The time frame within which the batch should be processed."""
26
26
27
- created_at : str
27
+ created_at : int
28
28
"""The Unix timestamp (in seconds) for when the batch was created."""
29
29
30
30
endpoint : str
@@ -41,33 +41,33 @@ class Batch(BaseModel):
41
41
]
42
42
"""The current status of the batch."""
43
43
44
- cancelled_at : Optional [str ] = None
44
+ cancelled_at : Optional [int ] = None
45
45
"""The Unix timestamp (in seconds) for when the batch was cancelled."""
46
46
47
- cancelling_at : Optional [str ] = None
47
+ cancelling_at : Optional [int ] = None
48
48
"""The Unix timestamp (in seconds) for when the batch started cancelling."""
49
49
50
- completed_at : Optional [str ] = None
50
+ completed_at : Optional [int ] = None
51
51
"""The Unix timestamp (in seconds) for when the batch was completed."""
52
52
53
53
error_file_id : Optional [str ] = None
54
54
"""The ID of the file containing the outputs of requests with errors."""
55
55
56
56
errors : Optional [Errors ] = None
57
57
58
- expired_at : Optional [str ] = None
58
+ expired_at : Optional [int ] = None
59
59
"""The Unix timestamp (in seconds) for when the batch expired."""
60
60
61
- expires_at : Optional [str ] = None
61
+ expires_at : Optional [int ] = None
62
62
"""The Unix timestamp (in seconds) for when the batch will expire."""
63
63
64
- failed_at : Optional [str ] = None
64
+ failed_at : Optional [int ] = None
65
65
"""The Unix timestamp (in seconds) for when the batch failed."""
66
66
67
- finalizing_at : Optional [str ] = None
67
+ finalizing_at : Optional [int ] = None
68
68
"""The Unix timestamp (in seconds) for when the batch started finalizing."""
69
69
70
- in_progress_at : Optional [str ] = None
70
+ in_progress_at : Optional [int ] = None
71
71
"""The Unix timestamp (in seconds) for when the batch started processing."""
72
72
73
73
metadata : Optional [builtins .object ] = None
0 commit comments