Overview
Add Algolia to any ModuleX agent or workflow. Search and indexing platform for building fast, relevant search experiences via the Algolia REST API ({application_id}-dsn.algolia.net for reads, {application_id}.algolia.net for writes).
Categories : Developer Tools & Infrastructure · Search · Auth : Algolia API Credentials · Actions : 4
Authentication
Algolia API Credentials
Authenticate using your Algolia Application ID and API Key
Step 2
Navigate to Settings > API Keys
Step 3
Copy your Application ID and Admin API Key
Required Credentials
Field Description Required Format Application ID Your Algolia Application ID from the dashboard Yes ABCDEF1234Admin API Key Your Algolia Admin API Key (or a key with appropriate permissions) Yes xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Available Actions
browse_records — Browse for records in the given index
Parameters The name of the Algolia index to browse
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"hits" : {
"items" : {
"additionalProperties" : true ,
"type" : "object"
},
"title" : "Hits" ,
"type" : "array"
},
"cursor" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Cursor"
}
},
"required" : [
"success"
],
"title" : "BrowseRecordsOutput" ,
"type" : "object"
}
delete_records — Delete records from the given index by object IDs
Parameters The name of the Algolia index
List of object IDs (strings) to delete from the index
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"task_id" : {
"anyOf" : [
{
"type" : "integer"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Task Id"
},
"object_ids" : {
"items" : {
"type" : "string"
},
"title" : "Object Ids" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "DeleteRecordsOutput" ,
"type" : "object"
}
list_index_name_options — Retrieves available index names for the application
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"index_names" : {
"items" : {
"type" : "string"
},
"title" : "Index Names" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "ListIndexNameOptionsOutput" ,
"type" : "object"
}
save_records — Adds or updates records in the given index
Parameters The name of the Algolia index
List of JSON objects to save. Each must have an ‘objectID’ field.
Response {
"additionalProperties" : false ,
"properties" : {
"success" : {
"title" : "Success" ,
"type" : "boolean"
},
"error" : {
"anyOf" : [
{
"type" : "string"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Error"
},
"task_id" : {
"anyOf" : [
{
"type" : "integer"
},
{
"type" : "null"
}
],
"default" : null ,
"title" : "Task Id"
},
"object_ids" : {
"items" : {
"type" : "string"
},
"title" : "Object Ids" ,
"type" : "array"
}
},
"required" : [
"success"
],
"title" : "SaveRecordsOutput" ,
"type" : "object"
}
Limits & Quotas
Rate limits depend on the Algolia plan (Community, Standard, Premium). Community plans have lower indexing and search operation limits.
Search operations: typically thousands per second on paid plans.
Indexing operations: batch limits vary by plan (10 MB per batch maximum payload size).
Error model: non-2xx responses and timeouts are caught and returned as success=False + error rather than raising.
Links