dbt Cloud
dbt_clouddbt Cloud provides administrative, metadata discovery, and Semantic Layer APIs for operating analytics projects and querying governed data products.
Acciones disponibles (20)
Cada acción es una operación que el agente puede ejecutar contra este conector. Haz clic en una acción para ver sus parámetros.
Admin API DeleteDBT_CLOUD_ADMIN_API_DELETEAcciónIrreversibly delete one selected dbt Cloud administrative resource using a fixed documented Admin API operation from the official v2 or v3 OpenAPI specification. Operation values are provider operation IDs. Deleted resources and configuration cannot be recovered by this action.
DBT_CLOUD_ADMIN_API_DELETEAcciónIrreversibly delete one selected dbt Cloud administrative resource using a fixed documented Admin API operation from the official v2 or v3 OpenAPI specification. Operation values are provider operation IDs. Deleted resources and configuration cannot be recovered by this action.
Parámetros de entrada
queryobjectOptional scalar query parameters for the selected operation.
operationstringObligatorioenumExact documented dbt Cloud Admin API DELETE operation ID. Use the matching operation in the official v2 or v3 OpenAPI specification for its exact path and query parameters.
admin_v3_destroy_adapteradmin_v3_delete_account_connection_deleteadmin_v2_destroy_ssh_tunneladmin_v3_delete_credentialsadmin_v3_destroy_projects_environment_variableadmin_v3_destroy_projects_environment_variables_bulkadmin_v3_delete_environment_sao_cacheadmin_v3_destroy_environmentadmin_v3_destroy_extended_attributesadmin_v3_delete_ip_restrictionadmin_v2_destroy_jobadmin_v3_destroy_license_map+11path_paramsobjectPath parameters required by the selected operation. Do not include account_id; it is always taken from the connected account.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Admin API ReadDBT_CLOUD_ADMIN_API_READAcciónPerform one documented dbt Cloud Admin read selected by operation, using its documented path and optional query parameters from the official v2 and v3 OpenAPI specifications. Operation values are provider operation IDs. This broad read is Bearer-token only because the mapped set includes operations with no official OAuth scope.
DBT_CLOUD_ADMIN_API_READAcciónPerform one documented dbt Cloud Admin read selected by operation, using its documented path and optional query parameters from the official v2 and v3 OpenAPI specifications. Operation values are provider operation IDs. This broad read is Bearer-token only because the mapped set includes operations with no official OAuth scope.
Parámetros de entrada
queryobjectDocumented query parameters for the selected operation.
operationstringObligatorioenumDocumented dbt Cloud Admin API GET operation ID. Use the matching operation in the official v2 or v3 OpenAPI specification to determine its exact path and query parameters.
admin_v2_list_account_license_allocationsadmin_v2_list_invitesadmin_v2_list_notificationsadmin_v2_list_ssh_tunnelsadmin_v2_list_usersadmin_v2_retrieve_accountadmin_v2_retrieve_inviteadmin_v2_retrieve_job_artifactadmin_v2_retrieve_notificationadmin_v2_retrieve_run_stepadmin_v2_retrieve_ssh_tunneladmin_v2_retrieve_user+54path_paramsobjectValues for the selected operation's documented path placeholders. Do not supply account_id; it always comes from the connection.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Admin API WriteDBT_CLOUD_ADMIN_API_WRITEAcciónExecute one predeclared dbt Cloud Administrative API POST, PATCH, or PUT operation. Selected operations may create or mutate administrative resources; review the matching provider OpenAPI operation, path parameters, query, and body before execution. Operation values are provider operation IDs. This action is bearer-token only because the operation set includes routes outside dbt Cloud's officially documented OAuth scopes.
DBT_CLOUD_ADMIN_API_WRITEAcciónExecute one predeclared dbt Cloud Administrative API POST, PATCH, or PUT operation. Selected operations may create or mutate administrative resources; review the matching provider OpenAPI operation, path parameters, query, and body before execution. Operation values are provider operation IDs. This action is bearer-token only because the operation set includes routes outside dbt Cloud's officially documented OAuth scopes.
Parámetros de entrada
bodyobjectDocumented JSON request body; omit when the operation takes no body.
queryobjectDocumented query parameters as JSON values.
operationstringObligatorioenumDocumented dbt Cloud Admin operation ID. Use the matching operation in the official v2 or v3 OpenAPI specification for exact path, query, and JSON body fields.
admin_v2_create_jobadmin_v2_create_notificationadmin_v2_create_ssh_tunneladmin_v2_partial_update_accountadmin_v2_retry_failed_jobadmin_v2_unsubscribe_from_notificationsadmin_v2_update_accountadmin_v2_update_jobadmin_v2_update_license_permissionsadmin_v2_update_notificationadmin_v2_update_ssh_tunneladmin_v2_update_user+48path_paramsobjectExact non-account path parameters required by the selected operation.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Cancel RunDBT_CLOUD_CANCEL_RUNAcciónIrreversibly request cancellation of a queued, starting, or running dbt Cloud run. This mutates the selected run's execution state and does not delete its run record. The response is the run record returned after the cancellation request.
DBT_CLOUD_CANCEL_RUNAcciónIrreversibly request cancellation of a queued, starting, or running dbt Cloud run. This mutates the selected run's execution state and does not delete its run record. The response is the run record returned after the cancellation request.
Parámetros de entrada
run_idintegerObligatorioNumeric ID of the queued, starting, or running dbt Cloud run to cancel.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Download Run ArtifactDBT_CLOUD_DOWNLOAD_RUN_ARTIFACTAcciónDownload one artifact file from a completed dbt Cloud run using a path returned by List Run Artifacts.
DBT_CLOUD_DOWNLOAD_RUN_ARTIFACTAcciónDownload one artifact file from a completed dbt Cloud run using a path returned by List Run Artifacts.
Parámetros de entrada
stepintegerOne-based run step index. Omit it to download the artifact compiled for the run's last step.
run_idintegerObligatorioNumeric ID of the dbt Cloud run that produced the artifact.
artifact_pathstringObligatorioArtifact path exactly as returned by List Run Artifacts, such as manifest.json or metadata/telemetry-1-otel.parquet.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Find Semantic Saved QueriesDBT_CLOUD_FIND_SEMANTIC_SAVED_QUERIESAcciónList or search saved Semantic Layer queries, or return one exact saved query by name.
DBT_CLOUD_FIND_SEMANTIC_SAVED_QUERIESAcciónList or search saved Semantic Layer queries, or return one exact saved query by name.
Parámetros de entrada
searchstringSubstring for listing saved queries; mutually exclusive with saved_query_name.
page_sizeintegerMaximum saved queries in this page (1-100).
next_cursorstringOpaque cursor returned by a previous list call; omit for page one.
environment_idintegerObligatorioSemantic Layer production environment to query.
saved_query_namestringExact saved-query name to retrieve; omit to list or search.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get JobDBT_CLOUD_GET_JOBAcciónReturn one dbt Cloud job definition and optionally selected related execution context.
DBT_CLOUD_GET_JOBAcciónReturn one dbt Cloud job definition and optionally selected related execution context.
Parámetros de entrada
job_idintegerObligatorioJob to retrieve.
include_relatedstring[]Related job objects to include in the response.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get RunDBT_CLOUD_GET_RUNAcciónReturn one dbt Cloud run with optional job, environment, step, retry, audit, or log context.
DBT_CLOUD_GET_RUNAcciónReturn one dbt Cloud run with optional job, environment, step, retry, audit, or log context.
Parámetros de entrada
run_idintegerObligatorioRun to retrieve.
include_relatedstring[]Related run objects to include in the response.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Get Run Failure DetailsDBT_CLOUD_GET_RUN_FAILURE_DETAILSAcciónReturn dbt Cloud status and step logs for a failed run. This action only reads the run record and never starts or enqueues a retry.
DBT_CLOUD_GET_RUN_FAILURE_DETAILSAcciónReturn dbt Cloud status and step logs for a failed run. This action only reads the run record and never starts or enqueues a retry.
Parámetros de entrada
run_idintegerObligatorioFailed run whose failure diagnostics to retrieve.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List EnvironmentsDBT_CLOUD_LIST_ENVIRONMENTSAcciónReturn one page of environments for a dbt Cloud project, with optional deployment and name filters.
DBT_CLOUD_LIST_ENVIRONMENTSAcciónReturn one page of environments for a dbt Cloud project, with optional deployment and name filters.
Parámetros de entrada
limitintegerMaximum environments in this page (1-100).
project_idintegerObligatorioProject whose environments to list.
next_cursorstringOpaque cursor returned by a previous call; omit for the first page and pass it back unchanged to continue.
name_containsstringCase-insensitive substring to match against environment names.
deployment_typestringenumRestrict results to production or staging environments.
productionstaginginclude_relatedstring[]Related environment objects to include.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List JobsDBT_CLOUD_LIST_JOBSAcciónReturn one page of dbt Cloud jobs, optionally filtered by project, environment, name, schedule, or state.
DBT_CLOUD_LIST_JOBSAcciónReturn one page of dbt Cloud jobs, optionally filtered by project, environment, name, schedule, or state.
Parámetros de entrada
limitintegerMaximum jobs in this page (1-100).
statestringenumSoft-deletion state to return.
activedeletedallproject_idintegerProject whose jobs to return.
next_cursorstringOpaque cursor returned by a previous call; omit for the first page.
name_containsstringCase-insensitive substring to match against job names.
environment_idintegerEnvironment whose jobs to return.
include_relatedstring[]Related job objects to include.
triggers_schedulebooleanFilter by whether jobs run on a schedule.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List ProjectsDBT_CLOUD_LIST_PROJECTSAcciónReturn one page of dbt Cloud projects, optionally filtered by name, IDs, or deletion state.
DBT_CLOUD_LIST_PROJECTSAcciónReturn one page of dbt Cloud projects, optionally filtered by name, IDs, or deletion state.
Parámetros de entrada
limitintegerMaximum projects in this page (1-100).
statestringenumSoft-deletion state to return.
activedeletedallnext_cursorstringOpaque cursor returned by a previous call; omit for the first page.
project_idsinteger[]Project IDs to include.
name_containsstringCase-insensitive substring to match against project names.
include_relatedstring[]Related project objects to include.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Run ArtifactsDBT_CLOUD_LIST_RUN_ARTIFACTSAcciónReturn artifact paths available for a completed dbt Cloud run.
DBT_CLOUD_LIST_RUN_ARTIFACTSAcciónReturn artifact paths available for a completed dbt Cloud run.
Parámetros de entrada
run_idintegerObligatorioCompleted run whose artifact paths to list.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List RunsDBT_CLOUD_LIST_RUNSAcciónReturn one page of dbt Cloud runs, optionally filtered by job, project, environment, status, creation time, finish time, or deletion state.
DBT_CLOUD_LIST_RUNSAcciónReturn one page of dbt Cloud runs, optionally filtered by job, project, environment, status, creation time, finish time, or deletion state.
Parámetros de entrada
limitintegerMaximum runs in this page (1-100).
statestringenumRun soft-deletion state to return. 'all' omits the provider state filter.
activedeletedalljob_idintegerJob ID persisted on each run record; sent as dbt's job_definition_id filter. Runs whose job was deleted or detached may report 0 instead.
statusesstring[]Run statuses to include. Multiple values are combined as one filter.
project_idintegerProject ID persisted on each run record. Runs whose project was deleted or detached may report 0 instead.
next_cursorstringOpaque cursor returned by a previous call; omit for the first page.
environment_idintegerEnvironment whose runs to return.
include_relatedstring[]Related run objects to include in each result.
created_at_rangearrayInclusive creation-time range as exactly two ISO 8601 timestamps: start, then end.
finished_at_rangearrayInclusive finish-time range as exactly two ISO 8601 timestamps: start, then end.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Semantic AttributesDBT_CLOUD_LIST_SEMANTIC_ATTRIBUTESAcciónReturn one page of dimensions, entities, group-bys, or queryable time granularities available for selected metrics.
DBT_CLOUD_LIST_SEMANTIC_ATTRIBUTESAcciónReturn one page of dimensions, entities, group-bys, or queryable time granularities available for selected metrics.
Parámetros de entrada
searchstringSubstring filter for dimensions, entities, or group-bys; not used for time granularities.
metricsobject[]Metrics is a list of objects shaped like [{"name": "revenue"}]. It selects the metrics whose compatible attributes to return. Required and non-empty for dimension and time_granularity; optional for entity and group_by.
page_sizeintegerMaximum attributes in this page when the selected operation is paginated.
next_cursorstringOpaque cursor returned by a previous paginated call; omit for page one.
attribute_typestringObligatorioenumKind of queryable attribute to list. dimension and time_granularity require at least one metric; entity and group_by do not.
dimensionentitygroup_bytime_granularityenvironment_idintegerObligatorioSemantic Layer production environment to query.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
List Semantic MetricsDBT_CLOUD_LIST_SEMANTIC_METRICSAcciónReturn one page of governed Semantic Layer metrics, optionally searched or grouped.
DBT_CLOUD_LIST_SEMANTIC_METRICSAcciónReturn one page of governed Semantic Layer metrics, optionally searched or grouped.
Parámetros de entrada
searchstringSubstring used by the documented metrics search.
group_byobject[]Grouping definitions for the metric listing.
page_sizeintegerMaximum metrics in this page.
next_cursorstringOpaque cursor returned by a previous call; omit for page one.
environment_idintegerObligatorioSemantic Layer production environment to query.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Discovery MetadataDBT_CLOUD_QUERY_DISCOVERY_METADATAAcciónList dbt metadata resources in an environment or job-run context, retrieve one node by case-sensitive unique ID, or inspect model health in an environment.
DBT_CLOUD_QUERY_DISCOVERY_METADATAAcciónList dbt metadata resources in an environment or job-run context, retrieve one node by case-sensitive unique ID, or inspect model health in an environment.
Parámetros de entrada
limitintegerMaximum resources in this page (1-100).
job_idintegerJob ID; required when context is job.
run_idintegerHistorical run ID for job context; omit for the latest run.
contextstringObligatorioenumUse latest environment state or a job's latest or specified run.
environmentjoboperationstringObligatorioenumDiscovery intent to execute.
list_resourcesget_node_detailsget_model_healthunique_idstringCase-sensitive dbt unique ID; required for node details or model health.
next_cursorstringOpaque cursor returned by a previous list call; omit for the first page.
resource_typestringenumResource family; required for listing and details. Model health is fixed to model.
modelsourceseedsnapshottestmacrometricexposureenvironment_idintegerEnvironment ID; required when context is environment.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Query Semantic MetricsDBT_CLOUD_QUERY_SEMANTIC_METRICSAcciónSubmit an ad-hoc dbt Semantic Layer query using metrics and/or group-bys, or execute a saved query; poll it to a documented terminal state and return one decoded JSON result page. Pass next_cursor to retrieve another page without creating a new query.
DBT_CLOUD_QUERY_SEMANTIC_METRICSAcciónSubmit an ad-hoc dbt Semantic Layer query using metrics and/or group-bys, or execute a saved query; poll it to a documented terminal state and return one decoded JSON result page. Pass next_cursor to retrieve another page without creating a new query.
Parámetros de entrada
limitintegerMaximum records requested from the metric query.
whereobject[]Semantic Layer filter expressions for an ad-hoc or saved query.
metricsobject[]Metrics for an ad-hoc query; omit when saved_query is set.
group_byobject[]Dimensions or entities used to group an ad-hoc query.
order_byobject[]Result ordering; each item selects exactly one metric or group_by target.
next_cursorstringOpaque result-page cursor returned by this action. When set, fetches that page without creating or polling another query.
saved_querystringSaved-query name to execute; mutually exclusive with metrics and group_by.
environment_idintegerSemantic Layer production environment to query. Required when starting a query; omit when continuing with next_cursor.
poll_timeout_secondsintegerMaximum total polling time before failing. Must not exceed poll_interval_seconds multiplied by 99, or by 79 when include_query_metadata is true.
poll_interval_secondsnumberSeconds between status checks. Must be large enough that poll_timeout_seconds uses at most 99 checks, or 79 when include_query_metadata is true.
include_query_metadatabooleanAlso query the documented queryRecords field and include the matching execution record when available.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Retry RunDBT_CLOUD_RETRY_RUNAcciónStart a new retry from a failed dbt Cloud run and return the newly enqueued run record.
DBT_CLOUD_RETRY_RUNAcciónStart a new retry from a failed dbt Cloud run and return the newly enqueued run record.
Parámetros de entrada
run_idintegerObligatorioNumeric ID of the failed dbt Cloud run to retry.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not
Trigger Job RunDBT_CLOUD_TRIGGER_JOB_RUNAcciónStart a new run for a dbt Cloud job, optionally overriding its revision, target, commands, docs generation, threads, or timeout. Each successful call enqueues a new run.
DBT_CLOUD_TRIGGER_JOB_RUNAcciónStart a new run for a dbt Cloud job, optionally overriding its revision, target, commands, docs generation, threads, or timeout. Each successful call enqueues a new run.
Parámetros de entrada
causestringObligatorioNon-empty reason recorded for this run.
job_idintegerObligatorioNumeric ID of the dbt Cloud job to run.
git_shastringGit commit SHA to check out before running.
git_branchstringGit branch to check out before running.
steps_overridestring[]Non-empty dbt commands that replace the job's configured commands.
schema_overridestringDestination schema override for the configured target.
threads_overrideintegerNumber of execution threads to use.
dbt_version_overridestringenumdbt runtime channel override.
fallbackextendedcompatiblelatestfusion-fallbackfusion-extendedlatest-fusionfusion-stablefusion-nightlytarget_name_overridestringOverride for the target.name context value.
generate_docs_overridebooleanWhether this run should generate docs.
timeout_seconds_overrideintegerRun timeout in seconds.
Parámetros de salida
dataanyObligatorioData from the action execution
errorstringError if any occurred during the execution of the action
successfulbooleanObligatorioWhether or not the action execution was successful or not