Creating bases
To create a base, use the Create base endpoint.
import { Exabase } from "@exabase/sdk";
const api = new Exabase({
apiKey: process.env.EXABASE_API_KEY!,
});
const base = await api.bases.create({
title: "Project Alpha",
});
curl https://api.exabase.io/v2/bases \
-X POST \
-H 'X-Api-Key: <EXABASE_API_KEY>' \
-H 'Content-Type: application/json' \
-d '{
"title": "Project Alpha"
}'
The base associated with your developer API key is automatically assigned as the parent base, so no additional configuration is required.