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
Copy file name to clipboardExpand all lines: reference/api/batches.mdx
+26-2Lines changed: 26 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,12 @@ The `/batches` route gives information about the progress of batches of [asynchr
48
48
},
49
49
"progressTrace": { … },
50
50
"writeChannelCongestion": { … },
51
-
"internalDatabaseSizes": { … }
51
+
"internalDatabaseSizes": { … },
52
+
"embedderRequests": {
53
+
"total": 12,
54
+
"failed": 5,
55
+
"lastError": "runtime error: received internal error HTTP 500 from embedding server\n - server replied with `{\"error\":\"Service Unavailable\"}`"
56
+
}
52
57
},
53
58
"duration": "PT0.250518S",
54
59
"startedAt": "2024-12-10T15:20:30.18182Z",
@@ -123,6 +128,12 @@ Object containing information on write operations computed during indexing. Can
123
128
124
129
Size of each internal database, including by how much it changed after a batch was processed.
125
130
131
+
#### `embedderRequests`
132
+
133
+
Object containing the total number of requests made to the embedder. Also displays the number of failed requests, if any, along with the error message for the most recent failure.
134
+
135
+
Only present in batches with at least one task querying an embedder. This field continuously updates until Meilisearch finishes processing the batch.
136
+
126
137
### `duration`
127
138
128
139
**Type**: String<br />
@@ -219,7 +230,12 @@ For example, `?uids=0` returns a batch containing the task with a `taskUid` equa
219
230
},
220
231
"progressTrace": { … },
221
232
"writeChannelCongestion": { … },
222
-
"internalDatabaseSizes": { … }
233
+
"internalDatabaseSizes": { … },
234
+
"embedderRequests": {
235
+
"total": 12,
236
+
"failed": 5,
237
+
"lastError": "runtime error: received internal error HTTP 500 from embedding server\n - server replied with `{\"error\":\"Service Unavailable\"}`"
238
+
}
223
239
},
224
240
"duration": "PT0.110083S",
225
241
"startedAt": "2024-12-10T15:49:04.995321Z",
@@ -270,6 +286,14 @@ Get a single batch.
270
286
},
271
287
"indexUids": {
272
288
"INDEX_NAME": 1
289
+
},
290
+
"progressTrace": { … },
291
+
"writeChannelCongestion": { … },
292
+
"internalDatabaseSizes": { … },
293
+
"embedderRequests": {
294
+
"total": 12,
295
+
"failed": 5,
296
+
"lastError": "runtime error: received internal error HTTP 500 from embedding server\n - server replied with `{\"error\":\"Service Unavailable\"}`"
0 commit comments