Insights
Per-query latency and throughput for the database, slowest first. Reports the instance’s latest drain (calls, total/mean time, p50/p99, rows read/written).
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The organization's id (UUID) or slug — either form is accepted.
The project's id (UUID) or slug — either form is accepted.
The database's id (UUID), from databases.list.
Query Parameters
Maximum queries returned (1-100). Defaults to 50.
Response
Query stats, slowest first.
Stable identifier of the normalized statement.
The statement with literals parameterized.
Times the statement ran in the window.
Total execution time across all calls, in milliseconds.
Mean execution time, in milliseconds.
Median (p50) execution time, in milliseconds.
99th-percentile execution time, in milliseconds.
Rows read across all calls.
Rows written across all calls.
When this drain was captured.