Skip to content

API Reference

Complete list of all Aperio HTTP endpoints.

Authentication: All endpoints require an Authorization: <key> header, except GET /status which is public. Use the main API key for full access, or the search API key for search endpoint only. See Environment Variables for configuration.

Status

MethodPathDescription
GET/statusHealth check (public, no auth required)

Collections

MethodPathDescription
POST/collectionsCreate a new collection
GET/collectionsList all collections
GET/collections/{collection}Get collection metadata
DELETE/collections/{collection}Delete a collection and all its data

Items

MethodPathDescription
POST/collections/{collection}/itemsInsert or update an item
POST/collections/{collection}/items/bulkBulk insert or update multiple items
DELETE/collections/{collection}/items/{id}Delete an item by ID
MethodPathDescription
GET/collections/{collection}/searchSearch documents matching a query
GET/collections/{collection}/suggestSuggest indexed terms matching a prefix

Queue

MethodPathDescription
GET/queueReturns the number of documents waiting to be indexed

Backup

MethodPathDescription
POST/backup/exportExport a snapshot of the entire database to a file
POST/backup/importImport a snapshot from a file into the database

See the Import & Export guide for details and examples.