Create a new query patterns report
Query Insights reports
Create a new query patterns report
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_branch
OAuth Scopes
| Resource | Scopes |
|---|---|
| Organization | read_branches |
| Database | read_branches |
| Branch | read_branch |
POST
Create a new query patterns report
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
The name of the organization the branch belongs to
The name of the database the branch belongs to
The name of the branch
Response
The created query patterns download
The ID of the query patterns download
The state of the download
Available options:
pending, completed, failed When the download was created
When the download was finished
The URL to access the query patterns download
The URL to download the query patterns file

