Managed Databases
Get metrics history
Changed onTime-series metrics over a window, bucketed for charting: about 120 points, oldest first. window_hours is 1 to 168 (default 24); history is kept 7 days.
get/api/v1/databases/{database_id}/metrics/history
Request
- Base URLhttps://api.rafftechnologies.com
- URLhttps://api.rafftechnologies.com/api/v1/databases/{database_id}/metrics/history
- AuthAPI key in header X-API-Key
Path parameters
database_idstring required
Database ID (UUID) or short id (the database_id field, e.g. a1b2c3d4)
Query parameters
window_hoursinteger
History window in hours
Response
Metric points, oldest first
Changes
- info
endpoint added
- info