GET
/
v1
/
organizations
/
{organizationSlug}
/
databases
/
{databaseName}
/
usage

Path Parameters

organizationSlug
string
required

The slug of the organization or user account.

databaseName
string
required

The name of the database.

Query Parameters

from
string

The datetime to retrieve usage from in ISO 8601 format. Defaults to the current calendar month if not provided. Example: 2023-01-01T00:00:00Z

to
string

The datetime to retrieve usage to in ISO 8601 format. Defaults to the current calendar month if not provided. Example: 2023-02-01T00:00:00Z

Response

200 - application/json
database
object

The database usage object, containg the total and individual instance usage for rows read and written, as well as the total storage size (in bytes).