/v1/databases/free-quotaReturns how many free-plan databases the account can still create. The limit is per
account (the workspace owner's account for workspace requests) and spans every engine
and workspace. Databases that are failed or deleted do not count.
Authentication
Send your API key as Authorization: Bearer <token>. The request is scoped to the workspace in X-Workspace-Slug.
Headers
X-Workspace-SlugstringRequiredSlug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.
Response
The free database quota.
successbooleanRequiredtrue when the request succeeded.
messagestringRequiredHuman-readable status message.
dataobjectShow attributesHide attributes
limitintegerRequiredMaximum number of active free-plan databases per account.
usedintegerRequiredFree-plan databases the account has now, excluding failed and deleted ones.
remainingintegerRequiredHow many more free-plan databases can be created. Never below 0.
Errors
| Status | Meaning |
|---|---|
401 | The API key is missing, invalid, expired or revoked. |
403 | You cannot access the workspace, your role does not allow this action, or the account is suspended. |
Errors use the standard error format.