Skip to content

Get the free database quota

GET/v1/databases/free-quota

Returns 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-SlugstringRequired

Slug of the workspace the request acts on. You can also pass it as the workspace_slug query parameter.

Response

200

The free database quota.

successbooleanRequired

true when the request succeeded.

messagestringRequired

Human-readable status message.

dataobject
Show attributes
limitintegerRequired

Maximum number of active free-plan databases per account.

usedintegerRequired

Free-plan databases the account has now, excluding failed and deleted ones.

remainingintegerRequired

How many more free-plan databases can be created. Never below 0.

Errors

StatusMeaning
401The API key is missing, invalid, expired or revoked.
403You cannot access the workspace, your role does not allow this action, or the account is suspended.

Errors use the standard error format.