Skip to navigation

Algolia Batch

Algolia’s batch writes with a Captain write key: addObject, updateObject, partialUpdateObject(NoCreate), deleteObject, clear and delete. taskID is the write’s seq.

Authentication

x-algolia-api-keystring

A Captain key, as Algolia clients send it: a search key for queries, a write key for writes.

x-algolia-application-idstring

Any value; the hostname selects the tenant.

Path parameters

indexstringRequired

Request

This endpoint expects an object.
requestslist of objectsRequired

Response

accepted
taskIDinteger or map from strings to anyOptional

the write’s seq (an object of index -> seq for the multi-index batch, /1/indexes/*/batch)

objectIDslist of stringsOptional