Getting started
Here's a guide to Exabase's REST API.
Exabase's API endpoint
https://api.exabase.io
Authentication
Exabase supports API keys.
Developer API key
The developer API key can create and manage delegated workspaces which can be used, for example, to store memories and notes for a specific user.
To authenticate your requests, you need to pass the API key with the header:
X-Api-Key: <API_KEY>.
To query a specific delegated workspace, you need to pass the workspace ID with the header:
X-Exabase-Workspace-Id: <WORKSPACE_ID>.
More on how to manage workspaces can be found here.
Important! Do not share or publish this key in your client-side code.
Example API key usage:
import { Exabase } from "@exabase/sdk";
const api = new Exabase({
apiKey: process.env.EXABASE_API_KEY!,
});
const response = await api.<endpoint>.<action>({
// request body
});
curl https://api.exabase.io/v2/<endpoint> \
--request POST \
--header 'Content-Type: application/json' \
--header 'X-Api-Key: YOUR_SECRET_TOKEN' \
--data '{}'
Available API endpoints
You can find documented endpoints under the API reference.
You can select your desired method of authentication and the client code language/library you're intending to use to get better code examples.