← Tools Reference

Algolia

Algolia integration (Developer Tools, Data). Imported from open-connector.

API key9 toolshttps://{application_id}.algolia.net
GET
algolia_list_indices
List Algolia indices accessible to the current API key.

/1/indexes

2 parameters
ParamTypeRequiredDescription
pageintegeroptionalThe zero-based page number.
hitsPerPageintegeroptionalThe number of hits to return per page.
POST
algolia_search_index
Search a single Algolia index with the most common search parameters.

/1/indexes/{indexName}/query

20 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
querystringoptionalThe search query string.
pageintegeroptionalThe zero-based page number.
hitsPerPageintegeroptionalThe number of hits to return per page.
filtersstringoptionalThe filter expression using Algolia's SQL-like syntax.
facetFiltersstringoptionalAn Algolia filter expression in string or array form.
numericFiltersstringoptionalAn Algolia filter expression in string or array form.
tagFiltersstringoptionalAn Algolia filter expression in string or array form.
facetsarrayoptionalA list of non-empty strings.
attributesToRetrievearrayoptionalA list of non-empty strings.
attributesToHighlightarrayoptionalA list of non-empty strings.
attributesToSnippetarrayoptionalA list of non-empty strings.
aroundLatLngstringoptionalThe geolocation point in `lat,lng` form.
aroundRadiusintegeroptionalThe geolocation radius restriction.
insideBoundingBoxstringoptionalBounding box coordinates used to restrict the search area.
insidePolygonstringoptionalPolygon coordinates used to restrict the search area.
clickAnalyticsbooleanoptionalWhether to include click analytics information.
analyticsbooleanoptionalWhether to send the search to Algolia analytics.
getRankingInfobooleanoptionalWhether to include ranking information in the response.
sumOrFiltersScoresbooleanoptionalWhether to sum OR filter scores instead of taking the maximum.
POST
algolia_browse_index
Browse records from a single Algolia index, optionally continuing with a cursor.

/1/indexes/{indexName}/browse

9 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
cursorstringoptionalThe cursor returned by the previous browse response.
querystringoptionalAn optional browse query string.
filtersstringoptionalThe filter expression using Algolia's SQL-like syntax.
facetFiltersstringoptionalAn Algolia filter expression in string or array form.
numericFiltersstringoptionalAn Algolia filter expression in string or array form.
tagFiltersstringoptionalAn Algolia filter expression in string or array form.
attributesToRetrievearrayoptionalA list of non-empty strings.
hitsPerPageintegeroptionalThe number of hits to return per page.
GET
algolia_get_record
Retrieve a single record from an Algolia index by objectID.

/1/indexes/{indexName}/{objectID}

3 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
objectIDstringrequiredThe Algolia record objectID.
attributesToRetrievearrayoptionalA list of non-empty strings.
PUT
algolia_add_or_replace_record
Add a new record or replace an existing Algolia record using its objectID.

/1/indexes/{indexName}/{objectID}

4 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
recordobjectrequiredThe Algolia record payload.
forwardToReplicasbooleanoptionalWhether to forward the write operation to replicas.
objectIDstringrequiredPath parameter: objectID
POST
algolia_update_record_partially
Partially update an existing Algolia record by objectID.

/1/indexes/{indexName}/{objectID}/partial

5 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
objectIDstringrequiredThe Algolia record objectID.
attributesToUpdateobjectrequiredThe partial Algolia record attributes to update.
createIfNotExistsbooleanoptionalWhether to create the record if it doesn't exist.
forwardToReplicasbooleanoptionalWhether to forward the write operation to replicas.
POST
algolia_delete_records_by_filter
Delete Algolia records that match a filter expression.

/1/indexes/{indexName}/deleteByQuery

2 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
filtersstringoptionalThe filter expression used to select records to delete.
PUT
algolia_save_rule
Save a single Algolia rule by objectID.

/1/indexes/{indexName}/rules/{objectID}

4 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
ruleobjectrequiredThe Algolia rule payload.
forwardToReplicasbooleanoptionalWhether to forward the write operation to replicas.
objectIDstringrequiredPath parameter: objectID
PUT
algolia_save_synonym
Save a single Algolia synonym by objectID.

/1/indexes/{indexName}/synonyms/{objectID}

4 parameters
ParamTypeRequiredDescription
indexNamestringrequiredThe Algolia index name.
synonymobjectrequiredThe Algolia synonym payload.
forwardToReplicasbooleanoptionalWhether to forward the write operation to replicas.
objectIDstringrequiredPath parameter: objectID