Skip to content

Search

Algolia Search mock API

Algolia Search REST API: records, search and browse, index settings, tasks, synonyms, rules and API keys.

At a glance

Operations
78
Stateful operations
36
Stateful resources
7
Webhook events
0
Vendor API version
1
Verification
Spec-verified

How it works

Use Algolia Search without calling Algolia SAS

x-algolia-api-key: 0123456789abcdef0123456789abcdef

State

Resources that remember

Writes persist per caller, so a create followed by a read returns what you created.

ResourceOperations
Records9
Search and browse4
Index settings and indices5
Tasks2
Synonyms6
Rules6
API keys6

Webhooks

Events your handlers can receive

This API sends no webhooks.

Coverage

78 operations

36 of them are stateful. The largest groups:

GroupOperations
Other operations40
Records9
API keys6
Rules6
Synonyms6
Index settings and indices5

Verification

Spec-verified

Generated operations are checked against the vendor OpenAPI description, which proves shape and routing. Stateful operations and scenario suites prove behaviour. Responses are not yet compared with a live vendor sandbox.

1 operations cannot be checked against the specification.

Source and limits

License, source and limits

Each collection holds up to 1 MiB per API key (records, search text, settings, synonyms, rules and keys are separate collections); writes beyond that are dropped (x-maxoperf-vs-state: capacity). State is isolated by the x-algolia-api-key header and only that header is checked (x-algolia-application-id is not). Records, batch (addObject, updateObject, partialUpdateObject and partialUpdateObjectNoCreate behave like partialUpdateObject, deleteObject), getObjects, partial updates (attribute merge plus Increment/Decrement), clear, deleteBy and index copy/move are stateful, and writing to an unknown index creates it. A record touched twice in one batch uses its pre-batch state for partial updates; multi-index batch (*/batch), dictionaries, clusters, logs, security sources and the SDK helper operations answer stateless samples. Search is a case-insensitive substring match over the string, number and boolean attributes (one level of nesting) with no typo tolerance, ranking, highlighting or facets in the response; it supports page/hitsPerPage (clamped to 1000, nbPages up to 511), the legacy params string, and filters/facetFilters made of up to two attribute:value equalities joined by AND. Multi-index queries return page 0 of each request; browse pages by a numeric cursor; facet value search lists distinct values of one attribute. Synonyms and rules are stored and searched by objectID but are not applied to search; settings are merged top-level. Every write allocates an increasing taskID per API key and tasks are published immediately; only the last 500 task ids are remembered, older or never issued ids answer 404. Generated API keys are 32 alphanumeric characters (not hex), keys are not validated on requests, and a deleted key can be restored. Error texts for a missing task, key and synonym/rule use the form '<thing> does not exist'; the 400 error for a batch without requests is not implemented because Algolia does not publish its text.

MaxoPerf is not affiliated with, endorsed by, or sponsored by Algolia SAS. Algolia Search is a trademark of its owner.