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
|**`primaryKey`**|`null`|[Primary key](/learn/getting_started/primary_key#primary-field) of the index |
258
258
|**`csvDelimiter`**|`","`| Configure the character separating CSV fields. Must be a string containing [one ASCII character](https://www.rfc-editor.org/rfc/rfc20). |
259
+
|**`customMetadata`**|`null`| An arbitrary string accessible via the [generated task object](/reference/api/tasks#custommetadata)|
259
260
260
261
<Warning>
261
262
Configuring `csvDelimiter` and sending data with a content type other than CSV will cause Meilisearch to throw an error.
@@ -378,6 +379,7 @@ This endpoint accepts the following content types:
|**`primaryKey`**|`null`|[Primary key](/learn/getting_started/primary_key#primary-field) of the documents |
380
381
|**`csvDelimiter`**|`","`| Configure the character separating CSV fields. Must be a string containing [one ASCII character](https://www.rfc-editor.org/rfc/rfc20). |
382
+
|**`customMetadata`**|`null`| An arbitrary string accessible via the [generated task object](/reference/api/tasks#custommetadata)|
381
383
382
384
<Warning>
383
385
Configuring `csvDelimiter` and sending data with a content type other than CSV will cause Meilisearch to throw an error.
@@ -451,6 +453,7 @@ curl \
451
453
|**`function`**|`null`| A string containing a RHAI function |
452
454
|**`filter`**|`null`| A string containing a filter expression |
453
455
|**`context`**|`null`| An object with data Meilisearch should make available for the editing function |
456
+
|**`customMetadata`**|`null`| An arbitrary string accessible via the [generated task object](/reference/api/tasks#custommetadata)|
454
457
455
458
#### `function`
456
459
@@ -487,6 +490,12 @@ Delete all documents in the specified index.
**Description**: If the task was replicated from another remote or to other remotes, `network` will contain information about the remote task uids corresponding to this task. Otherwise, missing in task object.
@@ -228,8 +226,6 @@ curl \
228
226
```
229
227
</Note>
230
228
231
-
232
-
233
229
### `duration`
234
230
235
231
**Type**: String<br />
@@ -250,6 +246,11 @@ curl \
250
246
**Type**: String<br />
251
247
**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
252
248
249
+
### `customMetadata`
250
+
251
+
**Type**: String<br />
252
+
**Description**: An arbitrary string optionally configured for tasks adding, updating, and deleting documents. Commonly used to keep track of which documents were processed in a specific task.
253
+
253
254
### Summarized task object
254
255
255
256
When an API request triggers an asynchronous process, Meilisearch returns a summarized task object. This object contains the following fields:
0 commit comments