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 and suggest endpoints 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
DELETE/collections/{collection}/items/{id}Delete an item by ID
MethodPathDescription
GET/collections/{collection}/searchSearch documents matching a query
GET/collections/{collection}/suggestAutocomplete suggestions for a prefix

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.