Following the changes related to Meilisearch v1.12.0 mega issue
Add a feature introduced in Meilisearch v1.12.0: the batches API.
For more information refer to the docs:
For reference, here is how this works in JavaScript using meilisearch-js:
// Get all batches
const batches = await client.getBatches();
// Get one batch by ID
const batch = client.getBatch(BATCH_UID);
getBatch() and getBatches()).code-samples.meilisearch.yaml for the following keys, using the same examples as their curl counterpart:
get_batch_1get_all_batches_1