Get database queries
Changed onReturns the database's current top queries from pg_stat_statements ranked by total execution time. Only data statements (SELECT, INSERT, UPDATE, DELETE, MERGE) are listed; statements Volcano runs to operate the database are left out.
SUPERAGENT plan required. This endpoint is only available to projects owned by users on the SUPERAGENT billing plan.
Request
- Base URL: https://api.volcano.dev
- URL: https://api.volcano.dev/projects/{id}/databases/{databaseName}/queries
- Auth: one of:
- HTTP bearer
- HTTP bearer
Path parameters
Project ID
Database name (unique within project, lowercase letters, numbers, and underscores only)
Query parameters
Maximum number of queries to return.
Response
Database query performance retrieved
Changes
- ○
the endpoint scheme security
ProjectAccessTokenwas added to the API
- ○
- ▲
added the new path request parameter
databaseName - ▲
added the new path request parameter
id - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ▲
the response's body type changed from no type to
objectfor status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the optional property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status - ○
added the required property
to the response with the status
- ▲