List branch queries
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 |
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.
Query parameters
Search query statistics by SQL pattern
Start time for filtering query statistics (ISO 8601 timestamp)
End time for filtering query statistics (ISO 8601 timestamp)
Time period for filtering query statistics
Field to sort by
Sort direction
Filter by tablet type
Filter by statement type
Specific fields to include in the response
If provided, specifies the page offset of returned results
If provided, specifies the number of returned results
Response
Returns query statistics summaries