You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 94f185d
Browse filesBrowse the repository at this point in the historyBrowse files
stlc-bot
committed
feat(batch): accept lightweight submissions and queue pending work (#2683)
@@ -163,7 +165,7 @@ class Data < ContextDev::Internal::Type::BaseModel
163
165
#
164
166
# @param results [ContextDev::Models::BatchListResponse::Data::Results, nil] Result download links; null until the batch finishes. Files are deleted 180 days
165
167
#
166
-
# @param status [Symbol, ContextDev::Models::BatchListResponse::Data::Status] Current state. `completed`, `cancelled`, and `failed` are final.
168
+
# @param status [Symbol, ContextDev::Models::BatchListResponse::Data::Status] Current state. `pending` means waiting for execution capacity or background vali
167
169
#
168
170
# @param tags [Array<String>] Tags stored on the batch at submission.
169
171
#
@@ -192,12 +194,16 @@ class Credits < ContextDev::Internal::Type::BaseModel
192
194
required:refunded,Integer
193
195
194
196
# @!attribute reserved
195
-
# Credits held when the batch was accepted.
197
+
# Credits held by background preparation before scraping starts. Zero while
@@ -145,7 +147,7 @@ class BatchRetrieveResponse < ContextDev::Internal::Type::BaseModel
145
147
#
146
148
# @param results [ContextDev::Models::BatchRetrieveResponse::Results, nil] Result download links; null until the batch finishes. Files are deleted 180 days
147
149
#
148
-
# @param status [Symbol, ContextDev::Models::BatchRetrieveResponse::Status] Current state. `completed`, `cancelled`, and `failed` are final.
150
+
# @param status [Symbol, ContextDev::Models::BatchRetrieveResponse::Status] Current state. `pending` means waiting for execution capacity or background vali
149
151
#
150
152
# @param tags [Array<String>] Tags stored on the batch at submission.
151
153
#
@@ -178,12 +180,16 @@ class Credits < ContextDev::Internal::Type::BaseModel
178
180
required:refunded,Integer
179
181
180
182
# @!attribute reserved
181
-
# Credits held when the batch was accepted.
183
+
# Credits held by background preparation before scraping starts. Zero while
@@ -102,7 +104,7 @@ class BatchSubmitResponse < ContextDev::Internal::Type::BaseModel
102
104
#
103
105
# @param created_at [String] When the batch was created.
104
106
#
105
-
# @param credits [ContextDev::Models::BatchSubmitResponse::Credits] What accepting this batch cost.
107
+
# @param credits [ContextDev::Models::BatchSubmitResponse::Credits] Credits are reserved after background validation, before scraping starts.
106
108
#
107
109
# @param formats [ContextDev::Models::BatchSubmitResponse::Formats] Outputs requested for each page. Matches input.data.formats on submission.
108
110
#
@@ -114,7 +116,7 @@ class BatchSubmitResponse < ContextDev::Internal::Type::BaseModel
114
116
#
115
117
# @param request_id [String] Unique ID of this request, also in `X-Request-Id`. Include it when contacting su
116
118
#
117
-
# @param status [Symbol, ContextDev::Models::BatchSubmitResponse::Status] Always `queued`. An accepted batch has not started yet.
119
+
# @param status [Symbol, ContextDev::Models::BatchSubmitResponse::Status] Current state. `pending` means waiting for execution capacity or background vali
118
120
#
119
121
# @param tags [Array<String>] Tags stored on the batch.
0 commit comments