Database Usage
Get database usage metrics
Returns usage metrics for the specified database.
get/v1/databases/{databaseId}/usage
Request
- Base URL: https://api.prisma.io
- URL: https://api.prisma.io/v1/databases/{databaseId}/usage
- Auth: one of:
- OAuth 2 (authorization code, authorization URL https://auth.prisma.io/authorize, token URL https://auth.prisma.io/token, scopes: workspace:admin, offline_access)
- HTTP bearer
Path parameters
databaseIdstring required
Query parameters
startDatestring date-time
Start date for metrics query. Defaults to start of current month if not provided.
endDatestring date-time
End date for metrics query. Will be set to end of day if a future date is provided. Defaults to current date if not provided.
Response
Returned usage metrics for the given database.
Changes
No recorded changes to this operation across all 1 revision of this API.