Retrieve query statistics
Authorization
A service token or OAuth token must have at least one of the following access or scopes in order to use this API endpoint:
Service Token Accesses
read_databases, read_database
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | read_databases |
| Database | read_database |
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Organization name slug from list_organizations. Example: acme.
Database name slug from list_databases. Example: app-db.
Branch name from list_branches. Example: main.
The query fingerprint
Query Parameters
The keyspace to filter by
Start time for filtering query statistics (ISO 8601 timestamp)
End time for filtering query statistics (ISO 8601 timestamp)
Time period for filtering query statistics (e.g., '1h', '24h')
If provided, specifies the page offset of returned results
If provided, specifies the number of returned results
Response
Returns detailed query statistics
The response type. Always "list" for paginated responses.
The current page number
The next page number, or null when this is the last page
The next page of results, or null when this is the last page
The previous page number, or null when this is the first page
The previous page of results, or null when this is the first page

