Skip to main content
  • Actions are applied in the order they are specified.
  • Actions are equivalent to the individual API requests of the same name.
This operation is subject to indexing rate limits.

Usage

// Initialize the client
var client = new SearchClient(new SearchConfig("ALGOLIA_APPLICATION_ID", "ALGOLIA_API_KEY"));

// Call the API
var response = await client.MultipleBatchAsync(
  new BatchParams
  {
    Requests = new List<MultipleBatchRequest>
    {
      new MultipleBatchRequest
      {
        Action = Enum.Parse<Action>("AddObject"),
        Body = new Dictionary<string, string> { { "key", "value" } },
        IndexName = "<YOUR_INDEX_NAME>",
      },
    },
  }
);
// >LOG

See the full API reference

For more details about input parameters and response fields.
I