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
+9-7Lines changed: 9 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,14 +32,14 @@ The `/batches` route gives information about the progress of batches of [asynchr
32
32
"startedAt": "2024-12-10T15:20:30.18182Z",
33
33
"finishedAt": "2024-12-10T15:20:30.432338Z",
34
34
"progress": {
35
-
"currentStep": [
35
+
"steps": [
36
36
{
37
-
"name": "extracting words",
37
+
"currentStep": "extracting words",
38
38
"finished": 2,
39
39
"total": 9,
40
40
},
41
41
{
42
-
"name": "document",
42
+
"currentStep": "document",
43
43
"finished": 30546,
44
44
"total": 31944,
45
45
}
@@ -62,15 +62,15 @@ The `/batches` route gives information about the progress of batches of [asynchr
62
62
### `progress`
63
63
64
64
**Type**: Object<br />
65
-
**Description**: Object containing two fields: `currentStep` and `percentage`. Once Meilisearch has fully processed a batch, its `progress` is set to `null`.
65
+
**Description**: Object containing two fields: `steps` and `percentage`. Once Meilisearch has fully processed a batch, its `progress` is set to `null`.
66
66
67
-
#### `currentStep`
67
+
#### `steps`
68
68
69
69
Information about the current operations Meilisearch is performing in this batch. A step may consist of multiple substeps.
|**`currentStep`**| A string describing the operation |
74
74
|**`total`**| The total number of operations in the step |
75
75
|**`finished`**| The number of operations Meilisearch has completed |
76
76
@@ -112,7 +112,7 @@ List of the number of tasks in the batch separated by the indexes they affect.
112
112
### `finishedAt`
113
113
114
114
**Type**: String<br />
115
-
**Description**: The date and time when the task finished `processing`, whether `failed`, `succeeded`, or `canceled`, in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format
115
+
**Description**: The date and time when the tasks finished `processing`, whether `failed`, `succeeded`, or `canceled`, in [RFC 3339](https://www.ietf.org/rfc/rfc3339.txt) format
116
116
117
117
## Get batches
118
118
@@ -176,6 +176,7 @@ For example, `?uids=0` returns a batch containing the task with a `taskUid` equa
0 commit comments