Get Database Metrics by ID
Databases
Get Database Metrics by ID
Retrieves metrics for a specific database by its ID over the last 24 hours.
GET
Get Database Metrics by ID
Documentation Index
Fetch the complete documentation index at: https://docs.vertracloud.app/llms.txt
Use this file to discover all available pages before exploring further.
The ID of the database to retrieve metrics for. If the database belongs to an workspace, include the workspace_id in the format
dbId-workspace_id.Response
An array of metric objects for the database over the last 24 hours.
Error Responses
The error code indicating the reason for failure. Possible values:
UNAUTHORIZED: The user is not authenticated or lacks sufficient permissions.FORBIDDEN: The user does not have permission to access the database.DATABASE_NOT_FOUND: The specified database does not exist.
A descriptive message providing additional details about the error.