> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# dbt

> How to set up the dbt connector, plus the actions that are available.

![dbt](https://stackone-logos.com/api/dbt/filled/svg)

Previewv0.1.0[See changelog](https://docs.stackone.com/connectors/dbt/changelog.md)

[108 actions](#actions) · 2 auth methods

## Getting Started

**1. Create or Select a Project**

Set up a new project or select an existing one. See [Organizations & Projects](https://docs.stackone.com/gateway/concepts/organizations-and-projects.md).

**2. Configure the Connector**

Enable the connector and create a Connector Profile in your project. See [Setup Connector Profile](https://docs.stackone.com/gateway/quickstart.md#setup-connector-profile).

> [card] [MCP (OAuth) · Connector Profile](https://docs.stackone.com/connectors/dbt/guides/connector-profile/mcp-oauth.md)
>
> Authorize through the dbt Cloud MCP server with an OAuth client you register with dbt. The server endpoints are discover...

> [card] [API Token · Connector Profile](https://docs.stackone.com/connectors/dbt/guides/connector-profile/api-token.md)
>
> Uses a dbt Cloud Service Token (account-scoped, recommended for integrations) or Personal Access Token (user-scoped). Th...

**3. Link an Account**

Link an account [from the dashboard](https://docs.stackone.com/connect/managing-connectors/linking-accounts.md#link-from-the-dashboard) (or via [StackOne Hub](https://docs.stackone.com/embed/account-linking/overview)).

See the guide for the authentication type chosen in the Connector Profile:

> [card] [MCP (OAuth) · Link Account](https://docs.stackone.com/connectors/dbt/guides/link-account/mcp-oauth.md)

> [card] [API Token · Link Account](https://docs.stackone.com/connectors/dbt/guides/link-account/api-token.md)

**4. Use Actions**

Connect an AI platform to the linked account's actions. See [AI Platforms](https://docs.stackone.com/ai-platforms/overview.md).

Other ways to call actions are listed in [Protocols & SDKs](https://docs.stackone.com/connect/protocols-and-sdks.md).

## Actions

Authentication type

Select all
|
Clear

API Token

MCP (OAuth)

No auth methods found

108 actions

ActionDescription

List Accounts`dbt_accounts_list`

List the dbt Cloud accounts accessible to the authenticated token.

Get Account`dbt_account_get`

Retrieve a single dbt Cloud account by its ID.

List Audit Log Events`dbt_audit_logs_list`

List recent audit log events for a dbt Cloud account.

Get Audit Log Export Status`dbt_audit_logs_export_status`

Get the status of a bulk audit log export for a dbt Cloud account.

List Connections`dbt_connections_list`

List the data-warehouse connections in a dbt Cloud project.

Get Connection`dbt_connection_get`

Retrieve a single warehouse connection by its ID.

Create Connection`dbt_connection_create`

Create a data-warehouse connection in a dbt Cloud project.

Update Connection`dbt_connection_update`

Update an existing warehouse connection.

Delete Connection`dbt_connection_delete`

Delete a warehouse connection from a dbt Cloud project.

List Credentials`dbt_credentials_list`

List the warehouse credentials in a dbt Cloud project.

Get Credential`dbt_credential_get`

Retrieve a single warehouse credential by its ID.

Create Credential`dbt_credential_create`

Create warehouse credentials in a dbt Cloud project.

Update Credential`dbt_credential_update`

Update existing warehouse credentials.

Delete Credential`dbt_credential_delete`

Delete warehouse credentials from a dbt Cloud project.

List Environments`dbt_environments_list`

List the environments in a dbt Cloud project.

Create Environment`dbt_environment_create`

Create a new environment in a dbt Cloud project.

Get Environment`dbt_environment_get`

Retrieve a single environment by its ID.

Update Environment`dbt_environment_update`

Update an existing environment (full replacement).

Delete Environment`dbt_environment_delete`

Delete an environment from a dbt Cloud project.

Get Extended Attributes`dbt_extended_attributes_get`

Retrieve a single extended attributes record by its ID.

List Groups`dbt_groups_list`

List the permission groups in a dbt Cloud account.

Get Group`dbt_group_get`

Retrieve a single group by its ID.

Create Group`dbt_group_create`

Create a permission group in a dbt Cloud account.

List Invites`dbt_invites_list`

List the pending user invites in a dbt Cloud account.

Get Invite`dbt_invite_get`

Retrieve a single user invite by its ID.

List IP Restrictions`dbt_ip_restrictions_list`

List the IP access restriction rules in a dbt Cloud account.

Get IP Restriction`dbt_ip_restriction_get`

Retrieve a single IP restriction rule by its ID.

Create IP Restriction`dbt_ip_restriction_create`

Create an IP access restriction rule in a dbt Cloud account.

List Jobs`dbt_jobs_list`

List the jobs defined in a dbt Cloud account.

Get Job`dbt_job_get`

Retrieve a single job definition by its ID.

Create Job`dbt_job_create`

Create a new job in a dbt Cloud account.

Update Job`dbt_job_update`

Update an existing job definition.

Delete Job`dbt_job_delete`

Delete a job definition from a dbt Cloud account.

Trigger Job Run`dbt_job_run_trigger`

Kick off a run of a dbt Cloud job.

Retry Failed Job`dbt_job_rerun`

Retry the most recent failed run of a job from its point of failure.

Get Job Artifact`dbt_job_artifact_get`

Fetch an artifact file produced by a job's most recent run.

List License Maps`dbt_license_maps_list`

List the license maps in a dbt Cloud account.

Get License Map`dbt_license_map_get`

Retrieve a single license map by its ID.

List Lineage Integrations`dbt_lineage_integrations_list`

List the lineage integrations in a dbt Cloud project.

Get Lineage Integration`dbt_lineage_integration_get`

Retrieve a single lineage integration by its ID.

Get Mart Models`dbt_get_mart_models`

Get the name and description of all mart models in the environment. A mart model is part of the presentation layer of th...

Get All Models`dbt_get_all_models`

Get a page of dbt model names and descriptions in the environment. Returns one source page in `result`, with \`pagination...

Get Details`dbt_get_node_details`

Retrieves full details for a dbt resource by type and name or unique ID. Use this tool when you need the full schema, de...

Get Model Details`dbt_get_model_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get Model Parents`dbt_get_model_parents`

\*\*DEPRECATED — use `get_lineage` instead.\*\* This tool will be removed in a future release. Call get\_lineage(unique\_id=.....

Get Model Children`dbt_get_model_children`

\*\*DEPRECATED — use `get_lineage` instead.\*\* This tool will be removed in a future release. Call get\_lineage(unique\_id=.....

Get Model Health`dbt_get_model_health`

\<instructions> Retrieves information about the health of a dbt model, including the last time it ran, the last test exec...

Get Model Performance`dbt_get_model_performance`

\<instructions> Retrieve execution performance metrics for a dbt model from historical runs. This tool queries the Discov...

Get Lineage`dbt_get_lineage`

Retrieves the lineage graph for a dbt resource. Returns the subgraph of nodes connected to the specified resource, inclu...

Get Exposures`dbt_get_exposures`

Get the id, name, description, and url of all exposures in the dbt environment. Exposures represent downstream applicati...

Get Exposure Details`dbt_get_exposure_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get All Sources`dbt_get_all_sources`

Get the name, description, and metadata of all dbt sources in the environment. Sources represent external data tables th...

Get Source Details`dbt_get_source_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get All Macros`dbt_get_all_macros`

Get the name, description, and package name of all dbt macros in the environment. Macros are reusable pieces of Jinja SQ...

Get Macro Details`dbt_get_macro_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get Seed Details`dbt_get_seed_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get Semantic Model Details`dbt_get_semantic_model_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get Snapshot Details`dbt_get_snapshot_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get Test Details`dbt_get_test_details`

\*\*DEPRECATED — use `get_node_details` instead.\*\* This tool will be removed in a future release.

Get Related Models`dbt_get_related_models`

Search the current environment for dbt models that are semantically similar to the given query. The search will consider...

List Metrics`dbt_list_metrics`

List metrics from the dbt Semantic Layer. The `result` field is a CSV string with a header row. Columns are dynamic: a c...

List Saved Queries`dbt_list_saved_queries`

List all saved queries from the dbt Semantic Layer. Saved queries are pre-defined queries that have been saved in the Se...

Get Dimensions`dbt_get_dimensions`

\<instructions> Get the dimensions for specified metrics Note: `metric_time` is a standard time dimension available on mo...

Get Entities`dbt_get_entities`

\<instructions> Get the entities for specified metrics Entities are real-world concepts in a business such as customers,...

Get Dimension Values`dbt_get_dimension_values`

\<instructions> Get the distinct values for a given dimension, optionally scoped to specific metrics. Use this tool to di...

Query Metrics`dbt_query_metrics`

\<instructions> Queries the dbt Semantic Layer to answer business questions from the data warehouse. This tool allows ord...

Compile SQL`dbt_get_metrics_compiled_sql`

\<instructions> Gets compiled SQL for given metrics and dimensions/entities from the dbt Semantic Layer. This tool genera...

Text To SQL`dbt_text_to_sql`

Generate a SQL query from a natural language description.

Execute SQL`dbt_execute_sql`

Run a single read-only SELECT query against the user's data warehouse. Omit the `visualize` param for exploratory or int...

List Projects`dbt_list_projects`

List all active projects in the dbt Cloud account. This tool retrieves projects from the dbt Admin API. Projects are the...

List Jobs`dbt_list_jobs`

List jobs in a project, a configured environment, or across the account. Jobs configure scheduled or triggered dbt runs....

Get Job Details`dbt_get_job_details`

Get detailed information for a specific dbt job. This tool retrieves comprehensive job configuration including execution...

Trigger Job Run`dbt_trigger_job_run`

\# Trigger Job Run Trigger a dbt job run with optional parameter overrides. This tool starts a new run for a specified jo...

List Jobs Runs`dbt_list_jobs_runs`

List all job runs in a dbt platform account with optional filtering. This tool retrieves runs from the dbt Admin API. Ru...

Get Job Run Details`dbt_get_job_run_details`

Get detailed information for a specific dbt job run. This tool retrieves comprehensive run information including executi...

Cancel Job Run`dbt_cancel_job_run`

Cancel a currently running or queued dbt run. This tool allows you to stop a run that is currently executing or waiting...

Retry Job Run`dbt_retry_job_run`

Retry a failed dbt job run from the point of failure. This tool allows you to restart a failed run, continuing from wher...

List Job Run Artifacts`dbt_list_job_run_artifacts`

List all available artifacts for a completed dbt job run. This tool retrieves the list of artifact files generated durin...

Get Job Run Artifacts`dbt_get_job_run_artifacts`

Get a specific artifact file from a dbt job run. This tool retrieves the content of a specific artifact file generated d...

Get Job Run Error`dbt_get_job_run_error`

Get focused error and/or warning information for a dbt job run. This tool retrieves and analyzes job runs to provide con...

Search Product Docs`dbt_search_product_docs`

Search the dbt product documentation at docs.getdbt.com for pages matching a query. Returns matching page titles, URLs,...

Get Product Doc Pages`dbt_get_product_doc_pages`

Retrieve the Markdown content of one or more dbt documentation pages from docs.getdbt.com. Pass a list of URLs or relati...

List Notifications`dbt_notifications_list`

List the job notification configurations in a dbt Cloud account.

Get Notification`dbt_notification_get`

Retrieve a single notification configuration by its ID.

Create Notification`dbt_notification_create`

Create a job notification configuration in a dbt Cloud account.

List OAuth Configurations`dbt_oauth_configurations_list`

List the OAuth configurations in a dbt Cloud account.

Get OAuth Configuration`dbt_oauth_configuration_get`

Retrieve a single OAuth configuration by its ID.

List Private Endpoints`dbt_private_endpoints_list`

List the PrivateLink endpoints in a dbt Cloud account.

Get Private Endpoint`dbt_private_endpoint_get`

Retrieve a single PrivateLink endpoint by its KSUID.

List Profiles`dbt_profiles_list`

List the connection profiles in a dbt Cloud project.

Get Profile`dbt_profile_get`

Retrieve a single connection profile by its ID.

List Projects`dbt_projects_list`

List the projects in a dbt Cloud account.

Get Project`dbt_project_get`

Retrieve a single project by its ID.

Create Project`dbt_project_create`

Create a new project in a dbt Cloud account.

Update Project`dbt_project_update`

Update an existing project.

Delete Project`dbt_project_delete`

Delete a project from a dbt Cloud account.

List Runs`dbt_runs_list`

List the runs in a dbt Cloud account.

Get Run`dbt_run_get`

Retrieve a single run by its ID.

Cancel Run`dbt_run_cancel`

Cancel an in-progress run.

Retry Run`dbt_run_retry`

Retry a failed run from its point of failure.

List Run Artifacts`dbt_run_artifacts_list`

List the artifact file paths produced by a run.

Get Run Artifact`dbt_run_artifact_get`

Fetch a single artifact file produced by a run.

List Semantic Layer Credentials`dbt_semantic_layer_credentials_list`

List the Semantic Layer credentials in a dbt Cloud account.

List SSH Tunnels`dbt_ssh_tunnels_list`

List the SSH tunnels in a dbt Cloud account.

Get SSH Tunnel`dbt_ssh_tunnel_get`

Retrieve a single SSH tunnel by its ID.

Create SSH Tunnel`dbt_ssh_tunnel_create`

Create an SSH tunnel for a warehouse connection in a dbt Cloud account.

List Users`dbt_users_list`

List the users in a dbt Cloud account.

Get User`dbt_user_get`

Retrieve a single dbt Cloud user by their ID.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.