Algolia API guide

algolia.com

Use Algolia to search indexed records, compare settings across indices, and check whether a query still returns an expected result.

Actions and inputs

indexes list-indices

List your application's indices with their record counts and sizes.

indexes query search-single-index

Run a search against one index.

Inputs index name, query

settings diff

Compare the settings of two indices field by field.

Inputs two index names

search check

Check whether a query returns the expected record.

Inputs index name, query, expected object ID

Algolia product index record

Create

Add a product record to your index.

Inputs index name, product title, category, description

Read

Retrieve a product record from your index.

Inputs index name, object ID

Update

Update the product's title, category, or description.

Inputs index name, object ID, changed attributes

Delete

Remove the product record from your index.

Inputs index name, object ID