# SELECT - [Quickstart guide](https://api-docs.select.dev/v2/introduction.md): Get started with the SELECT API v2 - [Metrics](https://api-docs.select.dev/v2/metrics-overview.md): Query cost and usage data with the metrics routes - [Export audit logs](https://api-docs.select.dev/v2-api-reference/audit-logs/export-audit-logs.md): Append-only, oldest-first stream of audit log records, designed for continuous polling (e.g. SIEM export). Records are immutable once written. - [Query insights by dimension and measure](https://api-docs.select.dev/v2-api-reference/insights/query-insights-by-dimension-and-measure.md): Returns one row per combination of the requested dimensions, carrying the requested measures. Each row is keyed by dimension and measure name. `row_count` is the number of rows in `items`: results are not paginated, so an aggregation with more rows than `limit` is cut short at `limit` rather than co… - [List insights](https://api-docs.select.dev/v2-api-reference/insights/list-insights.md) - [Get an insight](https://api-docs.select.dev/v2-api-reference/insights/get-an-insight.md) - [Update an insight](https://api-docs.select.dev/v2-api-reference/insights/update-an-insight.md) - [Record that the caller viewed an insight](https://api-docs.select.dev/v2-api-reference/insights/record-that-the-caller-viewed-an-insight.md): Records a view of the insight by the calling user: sets its first- and last-view times and increments its view count at most once per calendar day. Calls authenticated with an API key are accepted without recording a view. - [Generate a code change for an insight](https://api-docs.select.dev/v2-api-reference/insights/generate-a-code-change-for-an-insight.md): Suggests a rewrite of a query that applies one of the optimization opportunities SELECT detected on it. The rewrite is generated by a language model from the query and its execution profile: treat it as a suggestion and review it before running it. - [Analyze a query for optimization insights](https://api-docs.select.dev/v2-api-reference/insights/analyze-a-query-for-optimization-insights.md): Reports the optimization opportunities SELECT can find in a single query execution, by examining the query alongside the execution profile Snowflake recorded for it. An empty list means the query was examined and nothing was found. - [Query insight activity by dimension and measure](https://api-docs.select.dev/v2-api-reference/insights/query-insight-activity-by-dimension-and-measure.md): Returns one row per combination of the requested dimensions, carrying the requested measures. Each row is keyed by dimension and measure name. Activity is recorded per changed field, so an edit that changes several fields of an insight at once counts once for each. A view is recorded when it changes… - [List ticket links](https://api-docs.select.dev/v2-api-reference/ticket-links/list-ticket-links.md) - [Link a ticket or URL to a resource](https://api-docs.select.dev/v2-api-reference/ticket-links/link-a-ticket-or-url-to-a-resource.md): Links either an existing issue in a connected ticketing system (`kind: "ticket"`, the default) or a web address (`kind: "url"`) to a resource. A web address needs no ticketing integration. - [Create a ticket and link it to a resource](https://api-docs.select.dev/v2-api-reference/ticket-links/create-a-ticket-and-link-it-to-a-resource.md) - [Get the links on many resources](https://api-docs.select.dev/v2-api-reference/ticket-links/get-the-links-on-many-resources.md) - [Suggest ticket wording for a resource](https://api-docs.select.dev/v2-api-reference/ticket-links/suggest-ticket-wording-for-a-resource.md): Suggests a title and description for an issue about a SELECT resource, written by a language model from the details SELECT holds about that resource. Nothing is created or linked: treat the wording as a draft and review it before filing. - [Get a ticket link](https://api-docs.select.dev/v2-api-reference/ticket-links/get-a-ticket-link.md) - [Remove a ticket link](https://api-docs.select.dev/v2-api-reference/ticket-links/remove-a-ticket-link.md) - [List ticket integrations](https://api-docs.select.dev/v2-api-reference/ticket-integrations/list-ticket-integrations.md): List the ticketing systems your organization is connected to, oldest first. - [Connect a Jira site with an API token](https://api-docs.select.dev/v2-api-reference/ticket-integrations/connect-a-jira-site-with-an-api-token.md): Connect a Jira Cloud site using an Atlassian account's email and API token. - [Get a ticket integration](https://api-docs.select.dev/v2-api-reference/ticket-integrations/get-a-ticket-integration.md): Get a single ticket integration by id. - [Disconnect a ticket integration](https://api-docs.select.dev/v2-api-reference/ticket-integrations/disconnect-a-ticket-integration.md): Disconnect a ticket integration. - [Update a ticket integration](https://api-docs.select.dev/v2-api-reference/ticket-integrations/update-a-ticket-integration.md): Update a ticket integration. - [Start connecting a Jira site through OAuth](https://api-docs.select.dev/v2-api-reference/ticket-integrations/start-connecting-a-jira-site-through-oauth.md): Begin a browser-based OAuth connect and get the Atlassian consent URL. - [List Jira projects](https://api-docs.select.dev/v2-api-reference/ticket-integrations/list-jira-projects.md): List the projects on the integration's Jira site, read live from Jira. - [List Jira issue types for a project](https://api-docs.select.dev/v2-api-reference/ticket-integrations/list-jira-issue-types-for-a-project.md): List the kinds of issue that can be created in a Jira project. - [List Jira priorities](https://api-docs.select.dev/v2-api-reference/ticket-integrations/list-jira-priorities.md): List the priorities an issue on the integration's Jira site can be given. - [Search assignable Jira users](https://api-docs.select.dev/v2-api-reference/ticket-integrations/search-assignable-jira-users.md): Find the people who can be assigned issues in a Jira project. - [Search Jira epics in a project](https://api-docs.select.dev/v2-api-reference/ticket-integrations/search-jira-epics-in-a-project.md): Find the epics in a Jira project, most recently updated first. - [Search Jira issues](https://api-docs.select.dev/v2-api-reference/ticket-integrations/search-jira-issues.md): Find issues on the integration's Jira site by key or summary. - [Get a Jira issue](https://api-docs.select.dev/v2-api-reference/ticket-integrations/get-a-jira-issue.md): Get one issue on the integration's Jira site, read live from Jira. - [List usage group sets](https://api-docs.select.dev/v2-api-reference/usage-group-sets/list-usage-group-sets.md) - [Create a usage group set](https://api-docs.select.dev/v2-api-reference/usage-group-sets/create-a-usage-group-set.md) - [Get a usage group set](https://api-docs.select.dev/v2-api-reference/usage-group-sets/get-a-usage-group-set.md) - [Delete a usage group set](https://api-docs.select.dev/v2-api-reference/usage-group-sets/delete-a-usage-group-set.md) - [Update a usage group set](https://api-docs.select.dev/v2-api-reference/usage-group-sets/update-a-usage-group-set.md) - [List a usage group set's versions](https://api-docs.select.dev/v2-api-reference/usage-group-sets/list-a-usage-group-sets-versions.md): Every version of the set, newest first, each with the groups it holds. - [Create a usage group set version](https://api-docs.select.dev/v2-api-reference/usage-group-sets/create-a-usage-group-set-version.md): Record the set's current usage groups as a new version. - [Get a usage group set version](https://api-docs.select.dev/v2-api-reference/usage-group-sets/get-a-usage-group-set-version.md) - [List usage groups in a set](https://api-docs.select.dev/v2-api-reference/usage-group-sets/list-usage-groups-in-a-set.md) - [Replace all usage groups in a set](https://api-docs.select.dev/v2-api-reference/usage-group-sets/replace-all-usage-groups-in-a-set.md) - [Create a usage group](https://api-docs.select.dev/v2-api-reference/usage-group-sets/create-a-usage-group.md) - [Get a usage group](https://api-docs.select.dev/v2-api-reference/usage-group-sets/get-a-usage-group.md) - [Delete a usage group](https://api-docs.select.dev/v2-api-reference/usage-group-sets/delete-a-usage-group.md) - [Update a usage group](https://api-docs.select.dev/v2-api-reference/usage-group-sets/update-a-usage-group.md) - [List teams](https://api-docs.select.dev/v2-api-reference/teams/list-teams.md): List the teams in your organization. - [Create a team](https://api-docs.select.dev/v2-api-reference/teams/create-a-team.md): Create a team in your organization. - [Get a team](https://api-docs.select.dev/v2-api-reference/teams/get-a-team.md): Get a single team by id. - [Delete a team](https://api-docs.select.dev/v2-api-reference/teams/delete-a-team.md): Delete a team, along with its memberships and role grants. - [Update a team](https://api-docs.select.dev/v2-api-reference/teams/update-a-team.md): Update a team's name or default member role. - [Set team memberships for a batch of users](https://api-docs.select.dev/v2-api-reference/teams/set-team-memberships-for-a-batch-of-users.md): Set the explicit team memberships for one or more users. - [List team members](https://api-docs.select.dev/v2-api-reference/teams/list-team-members.md): List a team's explicit members — the users and SSO groups assigned to it. - [Add a team member](https://api-docs.select.dev/v2-api-reference/teams/add-a-team-member.md): Add a user or SSO group to a team. - [Remove a team member](https://api-docs.select.dev/v2-api-reference/teams/remove-a-team-member.md): Remove a user or SSO group from a team. - [Update a team member](https://api-docs.select.dev/v2-api-reference/teams/update-a-team-member.md): Update a team member's role. - [List roles granted to a team](https://api-docs.select.dev/v2-api-reference/teams/list-roles-granted-to-a-team.md): List the roles granted to a team, each with the scope it applies to. - [Grant a role to a team](https://api-docs.select.dev/v2-api-reference/teams/grant-a-role-to-a-team.md): Grant a role to a team, scoped to a resource or to the whole organization. - [Revoke a role from a team](https://api-docs.select.dev/v2-api-reference/teams/revoke-a-role-from-a-team.md): Revoke a role from a team. - [List users](https://api-docs.select.dev/v2-api-reference/users/list-users.md) - [Remove a user from the organization](https://api-docs.select.dev/v2-api-reference/users/remove-a-user-from-the-organization.md): Removes the user from the organization and deletes their SELECT login, along with any roles granted to them. This cannot be undone — the user must be invited again to regain access. - [Set direct role grants for a batch of users](https://api-docs.select.dev/v2-api-reference/users/set-direct-role-grants-for-a-batch-of-users.md): Set the direct role grants for one or more users, by email. - [Read roles for a batch of email addresses](https://api-docs.select.dev/v2-api-reference/users/read-roles-for-a-batch-of-email-addresses.md): Read every role for each address, excluding SSO-derived roles. - [Read teams for a batch of email addresses](https://api-docs.select.dev/v2-api-reference/users/read-teams-for-a-batch-of-email-addresses.md): Read every team membership for each address, including SSO memberships. - [List the roles a user holds](https://api-docs.select.dev/v2-api-reference/users/list-the-roles-a-user-holds.md): List every role a user holds, each with the scope it applies to. - [Grant a role to a user](https://api-docs.select.dev/v2-api-reference/users/grant-a-role-to-a-user.md): Grant a role to a user, scoped to a resource or to the whole organization. - [Get a role a user holds](https://api-docs.select.dev/v2-api-reference/users/get-a-role-a-user-holds.md): Get a single role the user holds, from any of its three sources. - [Revoke a role from a user](https://api-docs.select.dev/v2-api-reference/users/revoke-a-role-from-a-user.md): Revoke a role granted to this user directly. - [Update a role granted to a user](https://api-docs.select.dev/v2-api-reference/users/update-a-role-granted-to-a-user.md): Change the role level of a grant made to this user directly. - [List the teams a user belongs to](https://api-docs.select.dev/v2-api-reference/users/list-the-teams-a-user-belongs-to.md): List every team a user belongs to, and how. - [Get the insights a user can view](https://api-docs.select.dev/v2-api-reference/users/get-the-insights-a-user-can-view.md): Check which of the given insights a user can view, by their roles. - [List SSO groups](https://api-docs.select.dev/v2-api-reference/sso-groups/list-sso-groups.md): List the SSO groups mapped in your organization. - [Create an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/create-an-sso-group.md): Map a group from your identity provider and grant it its first roles. - [Get an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/get-an-sso-group.md): Get a single SSO group by id, which is its name. - [Delete an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/delete-an-sso-group.md): Delete an SSO group and every role it grants. - [Rename an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/rename-an-sso-group.md): Rename an SSO group, keeping the roles it grants. - [List roles granted to an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/list-roles-granted-to-an-sso-group.md): List the roles granted to a group, each with the scope it applies to. - [Grant a role to an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/grant-a-role-to-an-sso-group.md): Grant a role to a group, scoped to a resource or to the whole organization. - [Revoke a role from an SSO group](https://api-docs.select.dev/v2-api-reference/sso-groups/revoke-a-role-from-an-sso-group.md): Revoke a role from a group. - [List default role grants](https://api-docs.select.dev/v2-api-reference/default-roles/list-default-role-grants.md): List the roles every member of your organization holds by default. - [Create a default role grant](https://api-docs.select.dev/v2-api-reference/default-roles/create-a-default-role-grant.md): Grant a role to every member of your organization by default. - [Delete a default role grant](https://api-docs.select.dev/v2-api-reference/default-roles/delete-a-default-role-grant.md): Revoke a default role grant. Members stop holding it immediately. - [List invitations](https://api-docs.select.dev/v2-api-reference/invitations/list-invitations.md): Lists the organization's pending invitations, oldest first. An invitation leaves the list once it is accepted or revoked. - [Invite a user](https://api-docs.select.dev/v2-api-reference/invitations/invite-a-user.md): Emails an invitation to join the organization. The invitee joins with no roles until they are granted some. - [Revoke an invitation](https://api-docs.select.dev/v2-api-reference/invitations/revoke-an-invitation.md): Revokes a pending invitation, so its link no longer lets the invitee join. - [List Snowflake accounts](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/list-snowflake-accounts.md): List the Snowflake accounts in your organization, oldest first. - [Add a Snowflake account](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/add-a-snowflake-account.md): Add a Snowflake account to your organization. - [Get a Snowflake account](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/get-a-snowflake-account.md): Get a single Snowflake account by id. - [Delete a Snowflake account](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/delete-a-snowflake-account.md): Delete a Snowflake account and clean up the external resources it owned. - [Update a Snowflake account](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/update-a-snowflake-account.md): Update a Snowflake account. - [Get a Snowflake account's credential configuration](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/get-a-snowflake-accounts-credential-configuration.md): Read which authentication method and Snowflake user this account connects with. - [Test a Snowflake account configuration](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/test-a-snowflake-account-configuration.md): Validate a proposed Snowflake account configuration without adding it. - [Test an added Snowflake account](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/test-an-added-snowflake-account.md): Re-run validation against an already-added Snowflake account. - [Test Mode BI access for an account](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/test-mode-bi-access-for-an-account.md): Test Mode BI access for a Snowflake account. - [Get a Snowflake organization](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/get-a-snowflake-organization.md): Get a Snowflake organization by its name. - [Get the live status of a Snowflake warehouse](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/get-the-live-status-of-a-snowflake-warehouse.md): Get the state of a warehouse as Snowflake reports it now. - [Get the execution profile of a Snowflake query](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/get-the-execution-profile-of-a-snowflake-query.md): Get the operators of the execution plan of a query, with their statistics. - [Describe a Snowflake table](https://api-docs.select.dev/v2-api-reference/snowflake-accounts/describe-a-snowflake-table.md): Get the columns of a table, with how well the table is clustered on each. - [List connections](https://api-docs.select.dev/v2-api-reference/connections/list-connections.md): List the connections in your organization, oldest first. - [Get a connection](https://api-docs.select.dev/v2-api-reference/connections/get-a-connection.md): Get a single connection by id. - [Update a connection](https://api-docs.select.dev/v2-api-reference/connections/update-a-connection.md): Update a connection's Looker configuration. - [Test Looker BI access for a connection](https://api-docs.select.dev/v2-api-reference/connections/test-looker-bi-access-for-a-connection.md): Test Looker BI access for an existing connection. - [List Tableau connections](https://api-docs.select.dev/v2-api-reference/tableau-connections/list-tableau-connections.md): List the Tableau connections in your organization, oldest first. - [Add a Tableau connection](https://api-docs.select.dev/v2-api-reference/tableau-connections/add-a-tableau-connection.md): Add a Tableau connection to your organization. - [Get a Tableau connection](https://api-docs.select.dev/v2-api-reference/tableau-connections/get-a-tableau-connection.md): Get a single Tableau connection by id. - [Delete a Tableau connection](https://api-docs.select.dev/v2-api-reference/tableau-connections/delete-a-tableau-connection.md): Delete a Tableau connection and clean up the external resources it owned. - [Update a Tableau connection](https://api-docs.select.dev/v2-api-reference/tableau-connections/update-a-tableau-connection.md): Update a Tableau connection. - [Get a Tableau connection's credential configuration](https://api-docs.select.dev/v2-api-reference/tableau-connections/get-a-tableau-connections-credential-configuration.md): Get which personal access token a connection authenticates as. - [Test a Tableau connection configuration](https://api-docs.select.dev/v2-api-reference/tableau-connections/test-a-tableau-connection-configuration.md): Validate a proposed Tableau connection configuration without adding it. - [Test a Tableau connection](https://api-docs.select.dev/v2-api-reference/tableau-connections/test-a-tableau-connection.md): Re-run validation against an already-added Tableau connection. - [List BigQuery connections](https://api-docs.select.dev/v2-api-reference/bigquery-connections/list-bigquery-connections.md): List the BigQuery connections in your organization, oldest first. - [Add a BigQuery connection](https://api-docs.select.dev/v2-api-reference/bigquery-connections/add-a-bigquery-connection.md): Add a BigQuery connection to your organization. - [Get a BigQuery connection](https://api-docs.select.dev/v2-api-reference/bigquery-connections/get-a-bigquery-connection.md): Get a single BigQuery connection by id. - [Delete a BigQuery connection](https://api-docs.select.dev/v2-api-reference/bigquery-connections/delete-a-bigquery-connection.md): Delete a BigQuery connection and clean up the external resources it owned. - [Update a BigQuery connection](https://api-docs.select.dev/v2-api-reference/bigquery-connections/update-a-bigquery-connection.md): Update a BigQuery connection. - [Test a BigQuery connection configuration](https://api-docs.select.dev/v2-api-reference/bigquery-connections/test-a-bigquery-connection-configuration.md): Validate a proposed BigQuery connection configuration without adding it. - [Test an added BigQuery connection](https://api-docs.select.dev/v2-api-reference/bigquery-connections/test-an-added-bigquery-connection.md): Re-run validation against an already-added BigQuery connection. - [Test an added BigQuery connection, streamed](https://api-docs.select.dev/v2-api-reference/bigquery-connections/test-an-added-bigquery-connection-streamed.md): Re-run validation against an already-added BigQuery connection, streaming progress as server-sent events. - [Add a BigQuery connection, streamed](https://api-docs.select.dev/v2-api-reference/bigquery-connections/add-a-bigquery-connection-streamed.md): Add a BigQuery connection to your organization, streaming progress as server-sent events. - [Update a BigQuery connection, streamed](https://api-docs.select.dev/v2-api-reference/bigquery-connections/update-a-bigquery-connection-streamed.md): Update a BigQuery connection, streaming progress as server-sent events. - [List Databricks connections](https://api-docs.select.dev/v2-api-reference/databricks-connections/list-databricks-connections.md): List the Databricks connections in your organization, oldest first. - [Add a Databricks connection](https://api-docs.select.dev/v2-api-reference/databricks-connections/add-a-databricks-connection.md): Add a Databricks connection to your organization. - [Get a Databricks connection](https://api-docs.select.dev/v2-api-reference/databricks-connections/get-a-databricks-connection.md): Get a single Databricks connection by id. - [Delete a Databricks connection](https://api-docs.select.dev/v2-api-reference/databricks-connections/delete-a-databricks-connection.md): Delete a Databricks connection and clean up the external resources it owned. - [Update a Databricks connection](https://api-docs.select.dev/v2-api-reference/databricks-connections/update-a-databricks-connection.md): Update a Databricks connection. - [Get a Databricks connection's credential configuration](https://api-docs.select.dev/v2-api-reference/databricks-connections/get-a-databricks-connections-credential-configuration.md): Get which service principal a connection authenticates as. - [Test a Databricks connection configuration](https://api-docs.select.dev/v2-api-reference/databricks-connections/test-a-databricks-connection-configuration.md): Run every check against a proposed configuration, persisting nothing. - [Test a Databricks connection](https://api-docs.select.dev/v2-api-reference/databricks-connections/test-a-databricks-connection.md): Re-run validation against a stored connection's own configuration. - [List Databricks workspaces](https://api-docs.select.dev/v2-api-reference/databricks-workspaces/list-databricks-workspaces.md): List the Databricks workspaces SELECT has seen activity in. - [List Databricks rate sheets](https://api-docs.select.dev/v2-api-reference/databricks-rate-sheets/list-databricks-rate-sheets.md): Lists the organization's Databricks rate sheets, newest first. The response does not include a total row count. Requires `databricks_rate_sheets:read`. - [Create a Databricks rate sheet](https://api-docs.select.dev/v2-api-reference/databricks-rate-sheets/create-a-databricks-rate-sheet.md): Creates a rate sheet. SELECT recalculates the account's Databricks costs with the new rates in its next refresh. Requires `databricks_rate_sheets:write`, or `settings:write` on the Databricks account for a user. - [List billing entities for Databricks rates](https://api-docs.select.dev/v2-api-reference/databricks-rate-sheets/list-billing-entities-for-databricks-rates.md): Lists the billing origin products and SKU names in the organization's Databricks prices, for use in a rate's `billing_entities`. Runs a warehouse query, so it is slower than the other rate sheet reads. Requires `databricks_rate_sheets:read`. - [Get a Databricks rate sheet](https://api-docs.select.dev/v2-api-reference/databricks-rate-sheets/get-a-databricks-rate-sheet.md): Requires `databricks_rate_sheets:read`. - [Delete a Databricks rate sheet](https://api-docs.select.dev/v2-api-reference/databricks-rate-sheets/delete-a-databricks-rate-sheet.md): Deletes the rate sheet. SELECT recalculates the account's Databricks costs without its rates in its next refresh. Requires `databricks_rate_sheets:write`, or `settings:write` on the Databricks account for a user. - [Update a Databricks rate sheet](https://api-docs.select.dev/v2-api-reference/databricks-rate-sheets/update-a-databricks-rate-sheet.md): Applies a merge patch: a field the request omits is left unchanged, and an explicit null clears `end_time`. `rates` replaces the full list. The Databricks account cannot change. Requires `databricks_rate_sheets:write`, or `settings:write` on the Databricks account for a user. - [Query budgets by dimension and measure](https://api-docs.select.dev/v2-api-reference/budgets/query-budgets-by-dimension-and-measure.md) - [List budgets](https://api-docs.select.dev/v2-api-reference/budgets/list-budgets.md) - [Create a budget](https://api-docs.select.dev/v2-api-reference/budgets/create-a-budget.md): Creates a budget. Its `status` is null until the budget has been measured against spend — evaluate it to fill that in without waiting for the daily refresh. - [List budget spend summaries](https://api-docs.select.dev/v2-api-reference/budgets/list-budget-spend-summaries.md): `spend` and `forecast` come from the budget's daily refresh, not from a query run for this request, so a page of summaries costs no warehouse time. Only days that have finished loading count, and a day only finishes once, so the figures step forward daily rather than continuously. Both are null on a… - [Get a budget](https://api-docs.select.dev/v2-api-reference/budgets/get-a-budget.md) - [Delete a budget](https://api-docs.select.dev/v2-api-reference/budgets/delete-a-budget.md): Deletes the budget, and with it every monitor watching the budget. Spend already recorded is unaffected. - [Update a budget](https://api-docs.select.dev/v2-api-reference/budgets/update-a-budget.md): Applies a merge patch: a field the request omits is left unchanged, and an explicit null clears `team_id` or `filter_expression`. Changing `amount`, `period` or `filter_expression` clears the budget's evaluated `status`, `spend` and `forecast` — they measured the old definition — and lets a monitor… - [Get a budget's spend summary](https://api-docs.select.dev/v2-api-reference/budgets/get-a-budgets-spend-summary.md): `spend` and `forecast` come from the budget's daily refresh, not from a query run for this request, so a page of summaries costs no warehouse time. Only days that have finished loading count, and a day only finishes once, so the figures step forward daily rather than continuously. Both are null on a… - [Evaluate a budget's spend now](https://api-docs.select.dev/v2-api-reference/budgets/evaluate-a-budgets-spend-now.md): Measures the budget against the warehouse now and stores the result, rather than waiting for the daily refresh, then returns the summary it wrote. The one budget operation that runs a warehouse query, so it is slower than a read and costs warehouse time — call it when a budget has just been created… - [List dashboards](https://api-docs.select.dev/v2-api-reference/dashboards/list-dashboards.md): Lists dashboards in the selected organization, newest first. - [Create a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/create-a-dashboard.md): Creates a dashboard, optionally with its initial blocks. - [Query dashboards by dimension and measure](https://api-docs.select.dev/v2-api-reference/dashboards/query-dashboards-by-dimension-and-measure.md): Returns one row per combination of the requested dimensions, carrying the requested measures. Each row is keyed by dimension and measure name. `row_count` is the number of rows in `items`: results are not paginated, so an aggregation with more rows than `limit` is cut short at `limit` rather than co… - [Get a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/get-a-dashboard.md) - [Delete a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/delete-a-dashboard.md): Deletes a dashboard and removes related home selections, favorites, and scheduled digests. - [Update a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/update-a-dashboard.md): Applies a merge patch to a dashboard. Omitted fields remain unchanged; an explicit null clears a nullable field. Blocks are managed separately. - [Duplicate a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/duplicate-a-dashboard.md): Creates a private copy of the dashboard, owned by the caller, with new block ids and a fresh ETag. The source dashboard is unchanged. - [List a dashboard's blocks](https://api-docs.select.dev/v2-api-reference/dashboards/list-a-dashboards-blocks.md): Lists the blocks on a dashboard, oldest first. - [Add a block to a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/add-a-block-to-a-dashboard.md): Adds a block to a dashboard. Supply a position to place the block on the dashboard grid in the same request; omit it to add the block unplaced and set the dashboard's layout separately. - [Get a block](https://api-docs.select.dev/v2-api-reference/dashboards/get-a-block.md) - [Delete a block](https://api-docs.select.dev/v2-api-reference/dashboards/delete-a-block.md): Deletes a block and removes its position from the dashboard's layout. - [Update a block](https://api-docs.select.dev/v2-api-reference/dashboards/update-a-block.md): Applies a merge patch to a block. Omitted fields remain unchanged. `config` is replaced as a whole rather than merged field by field, so send the complete configuration the block should end up with. - [List a dashboard's digests](https://api-docs.select.dev/v2-api-reference/dashboards/list-a-dashboards-digests.md): Lists the scheduled digests configured on a dashboard, newest first. - [Create a dashboard digest](https://api-docs.select.dev/v2-api-reference/dashboards/create-a-dashboard-digest.md): Schedules a new digest on a dashboard — a recurring capture of the dashboard delivered to one or more destinations. - [Get a dashboard digest](https://api-docs.select.dev/v2-api-reference/dashboards/get-a-dashboard-digest.md) - [Delete a dashboard digest](https://api-docs.select.dev/v2-api-reference/dashboards/delete-a-dashboard-digest.md) - [Update a dashboard digest](https://api-docs.select.dev/v2-api-reference/dashboards/update-a-dashboard-digest.md): Applies a merge patch to a digest. Omitted fields remain unchanged; an explicit null clears a nullable field. - [Duplicate a dashboard digest](https://api-docs.select.dev/v2-api-reference/dashboards/duplicate-a-dashboard-digest.md): Creates a copy of a digest on the same dashboard, named " (Copy)". Run history is not copied. - [Send a dashboard](https://api-docs.select.dev/v2-api-reference/dashboards/send-a-dashboard.md): Captures a dashboard and delivers it to one or more destinations, independent of any digest's schedule. Completes asynchronously — a 202 response does not confirm delivery. - [Resolve a resource to its canonical SRN](https://api-docs.select.dev/v2-api-reference/srn/resolve-a-resource-to-its-canonical-srn.md) - [List actions](https://api-docs.select.dev/v2-api-reference/actions/list-actions.md) - [Create an action](https://api-docs.select.dev/v2-api-reference/actions/create-an-action.md): Record an action, and the savings the change it describes goes on to make. - [Create actions in a batch](https://api-docs.select.dev/v2-api-reference/actions/create-actions-in-a-batch.md): Record many actions at once, in request order, or none of them. - [Query actions by dimension and measure](https://api-docs.select.dev/v2-api-reference/actions/query-actions-by-dimension-and-measure.md) - [Get an action](https://api-docs.select.dev/v2-api-reference/actions/get-an-action.md) - [Delete an action](https://api-docs.select.dev/v2-api-reference/actions/delete-an-action.md) - [Update an action](https://api-docs.select.dev/v2-api-reference/actions/update-an-action.md) - [Query realized action savings](https://api-docs.select.dev/v2-api-reference/metrics/query-realized-action-savings.md): Returns one row per combination of the requested dimensions, carrying the requested measures. Each row is keyed by dimension and measure name. `row_count` is the number of rows in `items`: results are not paginated, so an aggregation with more rows than `limit` is cut short at `limit` rather than co… - [Query Snowflake workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-workloads.md): One row per group of Snowflake workload activity — the named units of work that run on a warehouse, such as dbt models, query patterns, tasks, stored procedures and BI-tool queries. Measures cover cost, credits, runtime, queueing and row throughput. Activity is grouped to the hour it ran in for a re… - [Query Snowflake warehouses](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-warehouses.md): One row per group of Snowflake warehouse utilization, spend and savings. Activity is grouped to the hour for a request that asks about hours, and to the day otherwise. `sql` in the response is populated for requests that read the hourly table and is null for requests that read the daily table. - [Query Snowflake warehouse query performance](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-warehouse-query-performance.md): One row per group of per-query warehouse performance statistics — executions, latency percentiles, bytes scanned and spillage. - [Query Snowflake warehouse clusters](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-warehouse-clusters.md): One row per group of Snowflake warehouse cluster utilization and spend. This model does not publish its SQL. - [Query Snowflake storage spend](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-storage-spend.md): One row per group of Snowflake storage spend. Activity is grouped to the hour for a request that asks about hours, and to the day otherwise. - [Query Snowflake storage summary](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-storage-summary.md): One row per group of Snowflake tables and their storage footprint, optionally joined to how those tables were read. A snapshot without read activity needs no date range; naming read-activity fields requires a bounded range on `day`, and `sql` is null when the workloads join is used. - [Query Snowflake query patterns](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-query-patterns.md): One row per group of Snowflake query-pattern workload activity. Activity is grouped to the hour for a request that asks about hours, and to the day otherwise. - [Query Snowflake queries](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-queries.md): One row per group of individual Snowflake queries enriched with workload context. This model does not publish its SQL. - [Query Snowflake dbt workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-dbt-workloads.md): One row per group of Snowflake queries attributed to dbt node runs. Nodes are models, tests, snapshots and seeds, so a request that wants models alone must filter on the node's resource type. - [Query Snowflake dbt invocations](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-dbt-invocations.md): One row per group of dbt invocations and their run-level cost. - [Query Snowflake tasks](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-tasks.md): One row per group of Snowflake task workload queries. - [Query Snowflake stored procedures](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-stored-procedures.md): One row per group of Snowflake stored-procedure workload queries. - [Query Snowflake Streamlit apps](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-streamlit-apps.md): One row per group of Snowflake Streamlit app sessions. A session's spend lands on the day it started. - [Query Snowflake notebooks](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-notebooks.md): One row per group of Snowflake notebook spend by hour. Warehouse spend lands on the hour a run started, and compute pool spend on the hour the pool billed it. - [Query Snowflake compute pools](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-compute-pools.md): One row per group of Snowflake compute pool spend by billed hour and part of the bill: Streamlit apps, notebooks and the remainder. - [Query Snowflake serverless spend](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-serverless-spend.md): One row per group of Snowflake serverless spend over a period. - [Query Snowflake automatic clustering](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-automatic-clustering.md): One row per group of Snowflake automatic-clustering workload spend. This model does not publish its SQL. - [Query Snowflake Snowpipe spend](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-snowpipe-spend.md): One row per group of Snowflake Snowpipe ingest spend. This model does not publish its SQL. - [Query Snowflake Looker workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-looker-workloads.md): One row per group of Snowflake queries attributed to Looker. - [Query Snowflake Mode workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-mode-workloads.md): One row per group of Snowflake queries attributed to Mode. - [Query Snowflake Hex workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-hex-workloads.md): One row per group of Snowflake queries attributed to Hex. - [Query Snowflake Sigma workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-sigma-workloads.md): One row per group of Snowflake queries attributed to Sigma. - [Query Snowflake Periscope workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-periscope-workloads.md): One row per group of Snowflake queries attributed to Periscope. - [Query Snowflake Fivetran workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-fivetran-workloads.md): One row per group of Snowflake queries attributed to Fivetran. - [Query Snowflake custom workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-custom-workloads.md): One row per group of Snowflake queries attributed to custom workloads. - [Query Snowflake dynamic tables](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-dynamic-tables.md): One row per group of Snowflake dynamic-table refresh queries. This model does not publish its SQL. - [Query Snowflake pipeline nodes](https://api-docs.select.dev/v2-api-reference/metrics/query-snowflake-pipeline-nodes.md): One row per group of nodes in Snowflake workload pipelines. Edges between nodes are not queryable on this endpoint. - [Query BigQuery storage](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-storage.md): One row per group of BigQuery tables, carrying storage size and cost as they stand now. A request that also asks how recently or how often the tables were read joins that activity in, and then requires a bounded range on `day`. - [Query BigQuery capacity commitments by scope](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-capacity-commitments-by-scope.md): One row per commitment scope: an administration project, region and edition, the boundary BigQuery draws around shared slot capacity. Carries both what the scope holds today and what it was billed over the requested range, which a date filter must bound. - [Query BigQuery capacity spend over time](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-capacity-spend-over-time.md): One row per commitment scope per day, with capacity cost split into the tiers that priced it. Group by a time dimension for a series, or by scope to total a window. - [Query BigQuery capacity commitments](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-capacity-commitments.md): One row per capacity commitment, each with its own term, rate and end date. Group by `capacity_commitment_id` for the inventory, or filter by `commitment_scope_id` for what one scope holds. - [Query BigQuery workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-workloads.md): One row per group of BigQuery jobs, carrying cost, slot time, bytes processed and duration alongside the workload that issued them. - [Query BigQuery compute by reservation](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-compute-by-reservation.md): One row per group of BigQuery jobs, by the reservation that ran them or by on-demand pricing, carrying job cost and usage alongside the reservation's capacity, utilization and cost. - [Query BigQuery jobs](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-jobs.md): One row per BigQuery job or group of jobs from enriched job history, carrying cost, slot time, bytes and runtime alongside query metadata. - [Query BigQuery query patterns](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-query-patterns.md): One row per normalized query pattern, carrying cost, slot time, bytes and execution counts aggregated across the jobs that share the pattern. - [Query BigQuery reservation timeline](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-reservation-timeline.md): One row per reservation and time bucket, carrying reserved and consumed slot capacity alongside concurrency signals for the reservation pool. - [Query BigQuery storage spend](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-storage-spend.md): One row per table and time bucket, carrying storage billing spend split by logical and physical tiers. - [Query BigQuery storage freshness](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-storage-freshness.md): One row per table and snapshot day, carrying how stale the table was and how its row count changed since the prior snapshot. - [Query BigQuery projects](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-projects.md): One row per billing project and pricing tier, carrying attributed cost and usage quantities for the project's share of capacity and on-demand spend. - [Query BigQuery dbt queries](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-dbt-queries.md): One row per dbt node run or group of runs, carrying warehouse cost and runtime alongside the dbt project, target and node that issued the jobs. - [Query BigQuery dbt invocations](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-dbt-invocations.md): One row per dbt invocation or group of invocations, carrying total spend, duration and node counts for each run. - [Query BigQuery Looker queries](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-looker-queries.md): One row per Looker-driven query or group of queries, carrying cost and runtime alongside the dashboard, look or explore that caused them. - [Query BigQuery custom workload queries](https://api-docs.select.dev/v2-api-reference/metrics/query-bigquery-custom-workload-queries.md): One row per custom workload run or group of runs, carrying cost and runtime alongside the app and workload id your integration supplied. - [Query Tableau workbooks](https://api-docs.select.dev/v2-api-reference/metrics/query-tableau-workbooks.md): One row per group of Tableau workbooks, carrying view counts and the queries each workbook issued against the connected warehouse. - [Query Tableau users](https://api-docs.select.dev/v2-api-reference/metrics/query-tableau-users.md): One row per group of Tableau users, carrying the site role each holds and the projects, workbooks and data sources they own. A user is described as they stand now rather than over a period. - [Query Tableau data sources](https://api-docs.select.dev/v2-api-reference/metrics/query-tableau-data-sources.md): One row per group of Tableau data sources, carrying whether each is certified, whether it materializes an extract, and the workbooks connected to it. - [Query Tableau view events](https://api-docs.select.dev/v2-api-reference/metrics/query-tableau-view-events.md): One row per group of Tableau view events — one event each time a user opened a view. This is the activity behind the view counts the workbooks model reports, so it is where a trend over time or a breakdown by viewer comes from. - [Query the warehouse queries Tableau issued](https://api-docs.select.dev/v2-api-reference/metrics/query-the-warehouse-queries-tableau-issued.md): One row per group of warehouse queries issued by Tableau, carrying the cost, runtime and row throughput of the work alongside the Tableau site, workbook, worksheet and user behind it. This is what attributes warehouse spend to the Tableau content that caused it. - [Query Databricks workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-workloads.md): One row per group of Databricks workloads — queries, jobs, dbt runs and cluster activity — carrying spend, runtime and throughput for the work that ran over the requested period. - [Query Databricks query patterns](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-query-patterns.md): One row per group of recurring Databricks query patterns, carrying the cost and execution statistics of the work each pattern represents over the requested period. - [Query Databricks queries](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-queries.md): One row per group of individual Databricks queries, carrying runtime, cost and metadata for each statement that ran over the requested period. - [Query Databricks job task runs](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-job-task-runs.md): One row per group of Databricks job task runs at hourly grain, carrying the cost and runtime of the work each task performed over the requested period. - [Query Databricks job cluster definitions](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-job-cluster-definitions.md): One row per group of job cluster definitions that Databricks jobs have declared, carrying the task keys that ran on each. The model has no date range. - [Query Databricks job node metrics](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-job-node-metrics.md): One row per group of node-level metrics for Databricks job clusters, carrying CPU, memory and disk utilization sampled over the requested period. - [Query Databricks job instance node metrics](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-job-instance-node-metrics.md): One row per group of per-instance node metrics for Databricks job clusters, carrying utilization sampled for each executor over the requested period. - [Query Databricks JCSS metrics](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-jcss-metrics.md): One row per group of Job Cluster Scaling Service samples, carrying worker counts and scheduler pressure signals used to evaluate automated job cluster scaling. - [Query Databricks clusters](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-clusters.md): One row per group of Databricks clusters, either as a configuration inventory or as spend and utilization over the requested period, depending on the fields the request names. - [Query Databricks cluster node metrics](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-cluster-node-metrics.md): One row per group of node-level metrics for interactive Databricks clusters, carrying CPU, memory and disk utilization sampled over the requested period. - [Query Databricks APC metrics](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-apc-metrics.md): One row per group of Automated Performance Cluster utilization samples, carrying worker and scheduler signals polled from live clusters over the requested period. - [Query Databricks APC savings](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-apc-savings.md): One row per group of estimated Automated Performance Cluster savings, carrying worker-minute and spend reductions attributed to APC automation over the requested period. - [Query Databricks SQL warehouses](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-sql-warehouses.md): One row per group of Databricks SQL warehouses, either as a configuration inventory or as spend over the requested period, depending on the fields the request names. - [Query Databricks SQL warehouse Automated Savings decisions](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-sql-warehouse-automated-savings-decisions.md): One row per group of the decisions that SELECT Automated Savings made for Databricks SQL warehouses, such as a scale-in or a suspension, counted over the requested period. - [Query Databricks dbt queries](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-dbt-queries.md): One row per group of processed dbt queries that ran on Databricks, carrying model metadata and warehouse cost for the work each node performed over the requested period. - [Query Databricks dbt invocations](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-dbt-invocations.md): One row per group of dbt invocations that ran on Databricks, carrying run-level metadata and aggregate cost for each invocation over the requested period. - [Query Databricks model serving](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-model-serving.md): One row per group of Databricks model serving endpoint requests, carrying request counts, token throughput and spend for the inference traffic each endpoint served over the requested period. - [Query Databricks served endpoints](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-served-endpoints.md): One row per group of Databricks model serving endpoints, carrying spend (split into request, idle and unattributed spend), request counts, error rate and token throughput for each endpoint with usage over the requested period, or the list of endpoints and their configuration when only configuration… - [Query Databricks served entities](https://api-docs.select.dev/v2-api-reference/metrics/query-databricks-served-entities.md): One row per group of the models and functions that Databricks model serving endpoints serve in their live config, carrying each one's compute type, concurrency, provisioned throughput, external provider and scale-to-zero setting. - [Query consolidated spend](https://api-docs.select.dev/v2-api-reference/metrics/query-consolidated-spend.md): One row per group of spend across every connected platform. Measures cover cost by service line, so a caller can attribute spend to a warehouse, a project, a workspace or an account without knowing which platform it came from. Spend is grouped to the hour it was incurred in for a request that asks a… - [Search resources](https://api-docs.select.dev/v2-api-reference/metrics/search-resources.md): One row per resource in the catalog across every connected platform — warehouses, tables, jobs, clusters, dbt projects and the rest. Free-text search is expressed as an `ilike` filter on the resource name, which matches anywhere in the name. - [Query lineage workloads](https://api-docs.select.dev/v2-api-reference/metrics/query-lineage-workloads.md): One row per workload node — a query, dbt model, job or similar — that participates in lineage on Snowflake or BigQuery. Measures summarize cost and execution over a rolling thirty-day window, so this model carries no date dimension to filter on. - [Query lineage tables](https://api-docs.select.dev/v2-api-reference/metrics/query-lineage-tables.md): One row per table node that participates in lineage on Snowflake or BigQuery, carrying storage bytes and annualized cost estimates. A field the other platform has no equivalent for is null rather than zero, so time travel and failsafe are null on BigQuery and long-term storage is null on Snowflake. - [Query lineage edges](https://api-docs.select.dev/v2-api-reference/metrics/query-lineage-edges.md): One row per directed edge between lineage workloads and tables on Snowflake or BigQuery. Direction is expressed by filtering the source or the target side rather than by a parameter. The `*_for_filters` dimensions resolve whichever side of an edge carries the value, and spell Snowflake's database an… - [Query data freshness](https://api-docs.select.dev/v2-api-reference/metrics/query-data-freshness.md): One row per connected service and connection, carrying the latest time data was ingested from that service. The table holds only the most recent snapshot, so it reports current freshness rather than a history of it, and has no measures to aggregate. - [Query workload metadata suggestions](https://api-docs.select.dev/v2-api-reference/metrics/query-workload-metadata-suggestions.md): One row per workload metadata key observed across the organization, with how often each was seen. Filter on `key_type` to ask about one family of keys — custom workload tags, dbt meta or dbt top-level configuration — and sort by `suggestion_count` to rank them. - [List metrics metadata](https://api-docs.select.dev/v2-api-reference/metrics-metadata/list-metrics-metadata.md): Lists the time range of the data that SELECT holds for each dataset of each connection in the organization. Use it to find the dates that a metrics query can return data for, or whether a dataset has data yet. Returns all matching records in one response, so `page_token` is always null. Requires `co… - [List favorites](https://api-docs.select.dev/v2-api-reference/favorites/list-favorites.md): List the caller's favorites, oldest first. - [Create a favorite](https://api-docs.select.dev/v2-api-reference/favorites/create-a-favorite.md): Create a new favorite for the caller. - [Get a favorite](https://api-docs.select.dev/v2-api-reference/favorites/get-a-favorite.md): Fetch a single favorite owned by the caller. - [Delete a favorite](https://api-docs.select.dev/v2-api-reference/favorites/delete-a-favorite.md): Delete a favorite owned by the caller. - [Reorder a favorite](https://api-docs.select.dev/v2-api-reference/favorites/reorder-a-favorite.md): Move a favorite to a new position, optionally into or out of a folder. - [List favorite folders](https://api-docs.select.dev/v2-api-reference/favorite-folders/list-favorite-folders.md): List the caller's favorite folders, oldest first. - [Create a favorite folder](https://api-docs.select.dev/v2-api-reference/favorite-folders/create-a-favorite-folder.md): Create a new favorite folder for the caller. - [Get a favorite folder](https://api-docs.select.dev/v2-api-reference/favorite-folders/get-a-favorite-folder.md): Fetch a single favorite folder owned by the caller. - [Delete a favorite folder](https://api-docs.select.dev/v2-api-reference/favorite-folders/delete-a-favorite-folder.md): Delete a favorite folder and all favorites it contains. - [Rename a favorite folder](https://api-docs.select.dev/v2-api-reference/favorite-folders/rename-a-favorite-folder.md): Rename a favorite folder owned by the caller. - [Reorder a favorite folder](https://api-docs.select.dev/v2-api-reference/favorite-folders/reorder-a-favorite-folder.md): Move a folder to a new position among the top-level items. - [Create a comment](https://api-docs.select.dev/v2-api-reference/comments/create-a-comment.md): Post a comment on a resource, as the caller. - [Delete a comment](https://api-docs.select.dev/v2-api-reference/comments/delete-a-comment.md): Permanently delete a comment that the caller wrote. - [Update a comment](https://api-docs.select.dev/v2-api-reference/comments/update-a-comment.md): Change the content of a comment that the caller wrote. - [List destinations](https://api-docs.select.dev/v2-api-reference/destinations/list-destinations.md): List your organization's destinations, oldest first. - [Create a destination](https://api-docs.select.dev/v2-api-reference/destinations/create-a-destination.md): Create a destination under one of your organization's alert integrations. - [Create destinations in a batch](https://api-docs.select.dev/v2-api-reference/destinations/create-destinations-in-a-batch.md): Create many destinations at once, in request order, or none of them. - [Delete destinations in a batch](https://api-docs.select.dev/v2-api-reference/destinations/delete-destinations-in-a-batch.md): Delete many destinations at once, or none of them. - [Test a destination before saving it](https://api-docs.select.dev/v2-api-reference/destinations/test-a-destination-before-saving-it.md): Send a test message to a destination you have not created yet. - [Get a destination](https://api-docs.select.dev/v2-api-reference/destinations/get-a-destination.md): Get a single destination by id. - [Delete a destination](https://api-docs.select.dev/v2-api-reference/destinations/delete-a-destination.md): Delete a destination. - [Update a destination](https://api-docs.select.dev/v2-api-reference/destinations/update-a-destination.md): Update a destination. - [Test a destination](https://api-docs.select.dev/v2-api-reference/destinations/test-a-destination.md): Send a test message to a destination. - [List alert integrations](https://api-docs.select.dev/v2-api-reference/alert-integrations/list-alert-integrations.md): List your organization's alert integrations, oldest first. - [Get an alert integration](https://api-docs.select.dev/v2-api-reference/alert-integrations/get-an-alert-integration.md): Get a single alert integration by id. - [Delete an alert integration](https://api-docs.select.dev/v2-api-reference/alert-integrations/delete-an-alert-integration.md): Delete an alert integration and the credentials SELECT holds for it. - [Start connecting a Slack workspace through OAuth](https://api-docs.select.dev/v2-api-reference/alert-integrations/start-connecting-a-slack-workspace-through-oauth.md): Begin a browser-based OAuth connect and get the Slack consent URL. - [Reinstall a Slack integration](https://api-docs.select.dev/v2-api-reference/alert-integrations/reinstall-a-slack-integration.md): Re-authorize a Slack integration's workspace and get the Slack consent URL. - [Enable email alerts](https://api-docs.select.dev/v2-api-reference/alert-integrations/enable-email-alerts.md): Enable sending alerts by email, and get the email alert integration. - [Enable Microsoft Teams webhook alerts](https://api-docs.select.dev/v2-api-reference/alert-integrations/enable-microsoft-teams-webhook-alerts.md): Enable posting alerts to Microsoft Teams, and get the webhook integration. - [List a Slack workspace's channels](https://api-docs.select.dev/v2-api-reference/alert-integrations/list-a-slack-workspaces-channels.md): List the public, unarchived channels of a connected Slack workspace. - [List Databricks SQL warehouses with their automated savings settings](https://api-docs.select.dev/v2-api-reference/automated-savings/list-databricks-sql-warehouses-with-their-automated-savings-settings.md): List the Databricks SQL warehouses that SELECT discovered, with their automated savings settings. - [Turn automated savings on or off for Databricks SQL warehouses](https://api-docs.select.dev/v2-api-reference/automated-savings/turn-automated-savings-on-or-off-for-databricks-sql-warehouses.md): Turn automated savings on or off for a batch of Databricks SQL warehouses. - [List Databricks all-purpose clusters](https://api-docs.select.dev/v2-api-reference/automated-savings/list-databricks-all-purpose-clusters.md): List the Databricks all-purpose clusters SELECT discovered, with their automated savings settings. - [Turn automated savings on or off for Databricks all-purpose clusters](https://api-docs.select.dev/v2-api-reference/automated-savings/turn-automated-savings-on-or-off-for-databricks-all-purpose-clusters.md): Apply the same automated savings settings to a batch of all-purpose clusters. - [List Databricks jobs with their automated savings settings](https://api-docs.select.dev/v2-api-reference/automated-savings/list-databricks-jobs-with-their-automated-savings-settings.md): List the Databricks jobs that SELECT found, with their automated savings settings. - [Turn automated savings on or off for a batch of Databricks jobs](https://api-docs.select.dev/v2-api-reference/automated-savings/turn-automated-savings-on-or-off-for-a-batch-of-databricks-jobs.md): Turn automated savings on or off for many Databricks jobs at once. - [List Snowflake warehouses with their automated savings settings](https://api-docs.select.dev/v2-api-reference/automated-savings/list-snowflake-warehouses-with-their-automated-savings-settings.md): List the current warehouses in the Snowflake accounts the caller can read. - [Turn automated savings on or off for Snowflake warehouses](https://api-docs.select.dev/v2-api-reference/automated-savings/turn-automated-savings-on-or-off-for-snowflake-warehouses.md): Turn SELECT automated savings on or off for a batch of warehouses. - [Change the generation of a Snowflake warehouse](https://api-docs.select.dev/v2-api-reference/automated-savings/change-the-generation-of-a-snowflake-warehouse.md): Change a standard warehouse to Gen1 or Gen2 in Snowflake. - [List saved views](https://api-docs.select.dev/v2-api-reference/saved-views/list-saved-views.md): List saved views the caller may see: their own personal views, every public view, and any team view they hold access to. - [Create a saved view](https://api-docs.select.dev/v2-api-reference/saved-views/create-a-saved-view.md) - [Get a saved view](https://api-docs.select.dev/v2-api-reference/saved-views/get-a-saved-view.md) - [Delete a saved view](https://api-docs.select.dev/v2-api-reference/saved-views/delete-a-saved-view.md) - [Update a saved view](https://api-docs.select.dev/v2-api-reference/saved-views/update-a-saved-view.md) - [Batch delete saved views](https://api-docs.select.dev/v2-api-reference/saved-views/batch-delete-saved-views.md) - [Query monitors by dimension and measure](https://api-docs.select.dev/v2-api-reference/monitors/query-monitors-by-dimension-and-measure.md): Aggregates the monitors the caller may see. Tally attention with the `triggered_count` and `failing_count` measures, and group by any dimension. Requires `monitors:read`. - [List monitors](https://api-docs.select.dev/v2-api-reference/monitors/list-monitors.md): Lists the organization's monitors, newest first by default. `row_count` counts every monitor matching the request, not just the page returned. Requires `monitors:read`. - [Create a monitor](https://api-docs.select.dev/v2-api-reference/monitors/create-a-monitor.md): Every query the monitor runs is checked against its query class, so a dimension, measure or filter the class does not have is rejected, naming the field, rather than failing the monitor's scheduled runs. Requires `monitors:write`. - [List monitor runs](https://api-docs.select.dev/v2-api-reference/monitors/list-monitor-runs.md): Lists the runs of every monitor the caller can read, newest first by default. `row_count` counts every run matching the request, not just the page returned. Requires `monitors:read`. - [List monitor query classes](https://api-docs.select.dev/v2-api-reference/monitors/list-monitor-query-classes.md): Lists every query class a monitor query can name in `query_class`, with the dimension and measure names each accepts and the `data_source` values it pairs with. Requires `monitors:read`. - [List a query class's columns](https://api-docs.select.dev/v2-api-reference/monitors/list-a-query-classs-columns.md): Lists the columns a table section's `columns` and a partition's `partition_columns` can name by title, with the dimensions and measures each reads. The organization's usage group sets and workload metadata keys add columns of their own, so renaming one changes the list. Requires `monitors:read`. - [Get a monitor](https://api-docs.select.dev/v2-api-reference/monitors/get-a-monitor.md): Requires `monitors:read`. - [Replace a monitor](https://api-docs.select.dev/v2-api-reference/monitors/replace-a-monitor.md): Replaces every setting of the monitor with the body, which takes the same shape as create. The monitor's run history and feed dismissals are kept. Every query the monitor runs is checked against its query class, so a dimension, measure or filter the class does not have is rejected, naming the field,… - [Delete a monitor](https://api-docs.select.dev/v2-api-reference/monitors/delete-a-monitor.md): Deletes the monitor and its run history. The destinations it notified are unaffected. Requires `monitors:write`. - [Update a monitor](https://api-docs.select.dev/v2-api-reference/monitors/update-a-monitor.md): Applies a merge patch: a field the request omits is left unchanged, and an explicit null clears `cron`, `team_id`, `budget_id`, `connection_id`, `snowflake_account_id` or `partition_config`. An object field is replaced whole. The monitor that results is checked as create would check it. Every query… - [List a monitor's runs](https://api-docs.select.dev/v2-api-reference/monitors/list-a-monitors-runs.md): Lists the monitor's runs, newest first by default. `row_count` counts every run matching the request, not just the page returned. Requires `monitors:read`. - [List the messages a monitor run sent](https://api-docs.select.dev/v2-api-reference/monitors/list-the-messages-a-monitor-run-sent.md): Lists the messages the run built, as email HTML: one on a run over the data as a whole, one per partition on a partitioned run. A run whose trigger did not fire, or that failed before building a message, has none and returns an empty list. Requires `monitors:read`. - [Preview a monitor's message for one of its runs](https://api-docs.select.dev/v2-api-reference/monitors/preview-a-monitors-message-for-one-of-its-runs.md): Renders the monitor's title and paragraph sections as they read for the run, against the period the run evaluated, and sends nothing. The run stores its outcome but not its message, so the message is rendered again with the monitor's current settings. A message template that fails to render is rejec… - [Test-send an unsaved monitor](https://api-docs.select.dev/v2-api-reference/monitors/test-send-an-unsaved-monitor.md): Renders the monitor's message against current data and sends it to the monitor's destinations now, with its title prefixed `[MONITOR PREVIEW]`, whether or not the trigger would fire. Nothing is recorded in the monitor's run history. A message that cannot be rendered or delivered is rejected with the… - [Validate an unsaved monitor](https://api-docs.select.dev/v2-api-reference/monitors/validate-an-unsaved-monitor.md): Checks a monitor exactly as create would, without saving it or running anything: the body takes the shape create takes. Every query the monitor runs is checked against its query class, so a dimension, measure or filter the class does not have is rejected, naming the field, rather than failing the mo… - [Preview an unsaved monitor's message](https://api-docs.select.dev/v2-api-reference/monitors/preview-an-unsaved-monitors-message.md): Renders the message a monitor would send against current data, whether or not its trigger would fire, and sends nothing. The body carries the monitor in the shape create takes, and it is not saved. A message template that fails to render is rejected, naming the template. Requires `monitors:read`. - [Generate a monitor title](https://api-docs.select.dev/v2-api-reference/monitors/generate-a-monitor-title.md): Suggests a title for a monitor, or for one of its chart or table sections, from how it is configured; `target` says which. The title is written by a language model, and falls back to one built from `data_source` and the schedule or lookback if none can be generated. Nothing is saved. Requires `monit… - [Run a SQL statement](https://api-docs.select.dev/v2-api-reference/monitors/run-a-sql-statement.md): Runs a SQL statement on a connection the way a custom SQL monitor runs its `custom_sql_query`, and returns the first 50 rows. Nothing is saved or sent. A statement the warehouse rejects is answered with its reason, and one still running after 10 minutes is stopped. A response that takes longer than… - [Run a SQL statement, streamed](https://api-docs.select.dev/v2-api-reference/monitors/run-a-sql-statement-streamed.md): Runs a SQL statement exactly as `run-sql` does, as a stream of server-sent events: a `running` event when the statement starts and every 15 seconds while it runs, then a `done` event carrying the result `run-sql` returns, or the problem it would have answered with. Closing the stream early cancels t… - [Duplicate a monitor](https://api-docs.select.dev/v2-api-reference/monitors/duplicate-a-monitor.md): Creates an enabled copy of a monitor named " (Copy)", with the same owner, schedule, trigger, message and destinations. A custom SQL section gets its own copy of the SQL, so editing one monitor's SQL leaves the other's unchanged. Run history and feed dismissals are not copied. Require… - [Test-send a monitor](https://api-docs.select.dev/v2-api-reference/monitors/test-send-a-monitor.md): Renders the monitor's message against current data and sends it to the monitor's destinations now, with its title prefixed `[MONITOR PREVIEW]`, whether or not the trigger would fire. Nothing is recorded in the monitor's run history. A message that cannot be rendered or delivered is rejected with the… - [Dismiss a monitor from the feed](https://api-docs.select.dev/v2-api-reference/monitors/dismiss-a-monitor-from-the-feed.md): Dismisses the monitor from the monitors feed; `dismissed: false` restores it. On a partitioned monitor, `partition_value` dismisses one partition's item, and a dismissal without it covers the item a failed run shows. A dismissal lasts until what it hides comes back: the partition fires again, the mo… - [Get the organization settings](https://api-docs.select.dev/v2-api-reference/organization-settings/get-the-organization-settings.md): Gets the settings that apply to the whole organization. Requires `organization_settings:read`. - [Update the organization settings](https://api-docs.select.dev/v2-api-reference/organization-settings/update-the-organization-settings.md): Applies a merge patch: a field the request omits is left unchanged, and an explicit null clears `periscope_account_id`, `home_dashboard_id` or `insight_filter_expression`. A list replaces the full list. Requires `organization_settings:write`, or `settings:write` on the organization for a user. - [Get the tag settings of a data platform](https://api-docs.select.dev/v2-api-reference/organization-settings/get-the-tag-settings-of-a-data-platform.md): Gets the tag keys that SELECT reads from the platform's resources. Requires `organization_settings:read`. - [Replace the tag settings of a data platform](https://api-docs.select.dev/v2-api-reference/organization-settings/replace-the-tag-settings-of-a-data-platform.md): Replaces the tag keys of the platform with the map in the body. The other platforms are unchanged. Requires `organization_settings:write`, or `settings:write` on the organization for a user. - [List tag keys found on a data platform](https://api-docs.select.dev/v2-api-reference/organization-settings/list-tag-keys-found-on-a-data-platform.md): Lists the tag keys on the platform's resources, keyed by tag domain, in alphabetical order. Every domain of the platform is a key, also when no tag key is found for it. Runs a warehouse query, so it is slower than the other tag settings reads. Requires `organization_settings:read`. - [List the activity on a resource](https://api-docs.select.dev/v2-api-reference/activity-feed/list-the-activity-on-a-resource.md): Lists the comments, changes and actions on a resource, oldest first. The list is never paged. Action entries need `actions:read` for an API key, and are limited to the teams a user may read actions for. Requires `activity_feed:read`. - [Get the caller's subscription to a resource](https://api-docs.select.dev/v2-api-reference/activity-feed/get-the-callers-subscription-to-a-resource.md): Lists the caller's subscription to the activity on a resource: always one item. For an API key, the subscription is the one of the user who created the key. Requires `activity_feed:read`. - [Subscribe to or unsubscribe from a resource](https://api-docs.select.dev/v2-api-reference/activity-feed/subscribe-to-or-unsubscribe-from-a-resource.md): Turns email digests of the activity on a resource on or off for the caller. For an API key, the subscription is the one of the user who created the key. Requires `activity_feed:write`. - [Quickstart guide](https://api-docs.select.dev/api-reference/introduction.md): Get started with the SELECT API - [List users](https://api-docs.select.dev/api-reference/users/list-users.md): Retrieve all users in an organization with pagination. - [Update Snowflake Account Credentials](https://api-docs.select.dev/api-reference/snowflake-accounts/update-snowflake-account-credentials.md) - [List usage group sets](https://api-docs.select.dev/api-reference/usage-group-sets/list-usage-group-sets.md): Retrieve all usage group sets within an organization that the API key has access to. - [Create a usage group set](https://api-docs.select.dev/api-reference/usage-group-sets/create-a-usage-group-set.md): Create a new usage group set within an organization. Usage group sets are collections of usage groups that help organize and categorize your Snowflake usage tracking. - [Get a usage group set](https://api-docs.select.dev/api-reference/usage-group-sets/get-a-usage-group-set.md): Retrieve a specific usage group set by its ID. - [Update a usage group set](https://api-docs.select.dev/api-reference/usage-group-sets/update-a-usage-group-set.md): Update an existing usage group set. Only the provided fields will be updated. - [Delete a usage group set](https://api-docs.select.dev/api-reference/usage-group-sets/delete-a-usage-group-set.md): Delete a usage group set and all its associated usage groups. - [List usage groups](https://api-docs.select.dev/api-reference/usage-group-sets/list-usage-groups.md): Retrieve all usage groups within a specific usage group set. - [Create a usage group](https://api-docs.select.dev/api-reference/usage-group-sets/create-a-usage-group.md): Create a new usage group within a usage group set. Usage groups define filters and budgets for tracking specific subsets of Snowflake usage. - [Get a usage group](https://api-docs.select.dev/api-reference/usage-group-sets/get-a-usage-group.md): Retrieve a specific usage group by its ID. - [Update a usage group](https://api-docs.select.dev/api-reference/usage-group-sets/update-a-usage-group.md): Update an existing usage group. Only the provided fields will be updated. - [Delete a usage group](https://api-docs.select.dev/api-reference/usage-group-sets/delete-a-usage-group.md): Delete a usage group from its usage group set. - [Get usage group set with usage groups](https://api-docs.select.dev/api-reference/usage-group-sets/get-usage-group-set-with-usage-groups.md): Retrieve a usage group set along with all its current usage groups in a single response. - [Create a new version of a usage group set](https://api-docs.select.dev/api-reference/usage-group-sets/create-a-new-version-of-a-usage-group-set.md): Create a new version of a usage group set with a copy of all current usage groups. This is useful when you want to preserve the current state before making changes. - [List teams](https://api-docs.select.dev/api-reference/teams/list-teams.md): Retrieve all teams within an organization - [Create a team](https://api-docs.select.dev/api-reference/teams/create-a-team.md): Create a new team within an organization. The team will be created without any members or roles initially. Use the dedicated member and role endpoints to add members and roles to the team. - [Get team details](https://api-docs.select.dev/api-reference/teams/get-team-details.md): Retrieve detailed information about a specific team with paginated members and roles. - [Update a team](https://api-docs.select.dev/api-reference/teams/update-a-team.md): Update an existing team's information. Currently only the team name can be updated. - [Delete a team](https://api-docs.select.dev/api-reference/teams/delete-a-team.md): Delete a team from the organization. This will also remove all team memberships and role assignments. - [List team members](https://api-docs.select.dev/api-reference/teams/list-team-members.md): Retrieve all members of a team including users and SSO groups - [Add team member](https://api-docs.select.dev/api-reference/teams/add-team-member.md): Add a user or SSO group to a team - [Update team member](https://api-docs.select.dev/api-reference/teams/update-team-member.md): Update a team member's role - [Remove team member](https://api-docs.select.dev/api-reference/teams/remove-team-member.md): Remove a user or SSO group from a team - [List user roles](https://api-docs.select.dev/api-reference/roles/list-user-roles.md): Retrieve direct, default, and team-inherited roles assigned to a user - [Create user role](https://api-docs.select.dev/api-reference/roles/create-user-role.md): Assign a new direct role to a user - [Get user role](https://api-docs.select.dev/api-reference/roles/get-user-role.md): Retrieve details of a specific user role assignment - [Update user role](https://api-docs.select.dev/api-reference/roles/update-user-role.md): Update a user's role level - [Delete user role](https://api-docs.select.dev/api-reference/roles/delete-user-role.md): Remove a direct role assignment from a user - [Get user summary](https://api-docs.select.dev/api-reference/roles/get-user-summary.md): Retrieve comprehensive information about a user - [List team roles](https://api-docs.select.dev/api-reference/roles/list-team-roles.md): Retrieve all roles granted to a team - [Create team role](https://api-docs.select.dev/api-reference/roles/create-team-role.md): Grant a new role to a team - [Delete team role](https://api-docs.select.dev/api-reference/roles/delete-team-role.md): Remove a role from a team - [List SSO group mappings](https://api-docs.select.dev/api-reference/sso/list-sso-group-mappings.md): Retrieve all SSO groups with their role assignments - [Create SSO group mapping](https://api-docs.select.dev/api-reference/sso/create-sso-group-mapping.md): Create a new SSO group with initial role assignments - [Update SSO group mapping](https://api-docs.select.dev/api-reference/sso/update-sso-group-mapping.md): Update an SSO group name - [Delete SSO group mapping](https://api-docs.select.dev/api-reference/sso/delete-sso-group-mapping.md): Remove all role assignments for an SSO group - [Add role to SSO group](https://api-docs.select.dev/api-reference/sso/add-role-to-sso-group.md): Add a new role assignment to an existing SSO group - [Remove role from SSO group](https://api-docs.select.dev/api-reference/sso/remove-role-from-sso-group.md): Remove a specific role assignment from an SSO group ## OpenAPI Specs - [public_openapi](https://api.select.dev/public_openapi) - [openapi](https://api.select.dev/v2/openapi.json) This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.