All API endpoints expect requests with json formatted body and return json formatted responses.
To search or modify the data in your datasets through AnnDB's API you'll first need to create an API key for a specific dataset. API keys have three levels of access control: read only, write only and full. Read only keys are recommended for use in a publicly accessible codebase. Write only/full access keys can be used in your server-side code to modify data in the dataset.
All requests to https://api.anndb.com have to be authenticated with the key created above using the following headers (example values are used for the authorization header).