{"info":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","description":"<html><head></head><body><h3 id=\"disclaimer\">Disclaimer</h3>\n<p>This collection is intended to aid dbt Cloud users who wish to use the Cloud API to automate certain processes, e.g. for replicating resources across accounts, projects, environments etc. OR for standardizing project creation for business teams.</p>\n<p>This documentation DOES NOT guarantee that the underlying dbt Cloud endpoints will never change. We make best efforts to test and validate the collection on an ongoing basis.</p>\n<h3 id=\"introduction\">Introduction</h3>\n<p>This collection contains a set of endpoints that can be used for managing resources in dbt Cloud. The endpoints documented here can be used to address use cases such as:</p>\n<ul>\n<li>Creating, triggering, and monitoring dbt Cloud jobs</li>\n<li>Migrating dbt Cloud resources (projects, environments, jobs, etc.) among dbt Cloud accounts.</li>\n<li>Managing user and group permissions</li>\n</ul>\n<h3 id=\"obtaining-your-dbt-cloud-api-key\">Obtaining your dbt Cloud API Key</h3>\n<p>The dbt Cloud API uses tokens to authenticate requests, and supports two different types of tokens:</p>\n<ul>\n<li>User Tokens<ul>\n<li>Enable the same permissions associated with your user license in the UI</li>\n<li>Retrieve from your User Profile (top right icon) &gt; API Access</li>\n</ul>\n</li>\n<li>Service Tokens<ul>\n<li>Enable permissions based on <a href=\"https://docs.getdbt.com/docs/dbt-cloud/access-control/enterprise-permissions\">enterprise permission sets</a>.</li>\n<li>Retrieve from Account Settings &gt; Service Tokens &gt; Create Service Token</li>\n</ul>\n</li>\n</ul>\n<p>Tokens obtained using either of the methods above are used in the Authentication header of requests sent to the dbt Cloud API.</p>\n<h3 id=\"base-url-for-multi-and-single-tenant-deployments\">Base URL for Multi and Single-Tenant Deployments</h3>\n<p>If your dbt Cloud account is deployed on our multi-tenant infrastructure, the base URL for the API will look like <code>https://cloud.getdbt.com</code></p>\n<p>Single Tenant base URLs look a bit different, for example: <code>https://[environment].[customer].getdbt.com</code></p>\n<p>If you have questions about the base URL to use for your deployment, reach out to <a href=\"mailto:support@getdbt.com\">support@getdbt.com</a></p>\n</body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"14183654","collectionId":"7ad22661-8807-406b-aec0-34a46b671aac","publishedId":"UVsSNiXC","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"EF5B25"},"publishDate":"2022-03-23T14:11:32.000Z"},"item":[{"name":"Create URIs","item":[{"name":"Create Project","event":[{"listen":"test","script":{"id":"f1bf11f3-396d-491c-bac1-4c458d702faa","exec":["let response = pm.response.json();","pm.environment.set(\"project_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"b55d3fdd-1c12-41f9-9ef4-faf47e11a263","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"{{project_name}}\",\n    \"dbt_project_subdirectory\": null,\n    \"account_id\": 1,\n    \"connection_id\": null,\n    \"repository_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/?project_name=Test1557","description":"<p>Note: the <code>dbt_project_subdirectory</code> is an optional field which allows you to point dbt Cloud to a subdirectory that lives within the root folder of your target repository. This means dbt Cloud will look for a <code>dbt_project.yml</code> file at that location.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"project_name","value":"Test1557"}],"variable":[]}},"response":[],"_postman_id":"b55d3fdd-1c12-41f9-9ef4-faf47e11a263"},{"name":"Create Connection - Snowflake","event":[{"listen":"test","script":{"id":"d7546b9e-31af-49ee-b729-c889ab05e77f","exec":["let response = pm.response.json();","pm.environment.set(\"connection_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"d7673a57-d9ac-45c3-88f4-158fcc42e1d0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"test\",\n    \"type\": \"snowflake\",\n    \"details\": {\n        \"account\": \"{{snowflake_account}}\",\n        \"role\": \"{{snowflake_role}}\",\n        \"database\": \"{{snowflake_database}}\",\n        \"warehouse\": \"{{snowflake_warehouse}}\",\n        \"oauth_client_id\": null,\n        \"oauth_client_secret\": null,\n        \"client_session_keep_alive\": false,\n        \"allow_sso\": false\n    },\n    \"state\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/","description":"<p>Note: To set up a snowflake connection with Oauth, follow the instructions <a href=\"https://docs.getdbt.com/docs/dbt-cloud/dbt-cloud-enterprise/setting-up-enterprise-snowflake-oauth\">here</a> and then set:</p>\n<ul>\n<li><code>allow_sso</code> to true</li>\n<li>Add the <code>oauth_client_id</code> and <code>oauth_client_secret</code> variables from snowflake to your request.</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d7673a57-d9ac-45c3-88f4-158fcc42e1d0"},{"name":"Create Connection - Bigquery","event":[{"listen":"test","script":{"id":"fc09b849-f8a2-44a1-9175-8f8769daa9c3","exec":[""],"type":"text/javascript"}}],"id":"59e3fddc-d188-4d46-a7b5-129cb754e53c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"<test-bigquery-connection>\",\n    \"type\": \"bigquery\",\n    \"details\": {\n        \"retries\": 1,\n        \"maximum_bytes_billed\": 0,\n        \"location\": null,\n        \"timeout_seconds\": 300,\n        \"project_id\": \"<google-cloud-project-id>\",\n        \"private_key_id\": \"<service-account-private-key-id>\",\n        \"private_key\": \"-----BEGIN PRIVATE KEY-----<private-key-text>-----END PRIVATE KEY-----\\n\",\n        \"client_email\": \"<service-account-email>\",\n        \"client_id\": \"<service-account-client-id>\",\n        \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n        \"token_uri\": \"https://oauth2.googleapis.com/token\",\n        \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n        \"client_x509_cert_url\": \"https://www.googleapis.com/robot/v1/metadata/x509/<service-account-email>\",\n        \"application_id\": null,\n        \"application_secret\": null\n    },\n    \"state\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"59e3fddc-d188-4d46-a7b5-129cb754e53c"},{"name":"Create Connection - Redshift","event":[{"listen":"test","script":{"id":"86541715-6e24-41b8-a0dc-6d1454773ad8","exec":[""],"type":"text/javascript"}}],"id":"d05ae463-57fb-4b79-a109-0040393fd59c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"<connection-name>\",\n    \"type\": \"redshift\",\n    \"details\": {\n        \"hostname\": \"<your-redshift-hostname>\",\n        \"port\": 5439,\n        \"dbname\": \"dev\",\n        \"tunnel_enabled\": true\n    },\n    \"state\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d05ae463-57fb-4b79-a109-0040393fd59c"},{"name":"Create Connection - Adapter for Databricks","event":[{"listen":"test","script":{"id":"f53b8632-f0d7-49a8-91a4-ba7cb4da5b43","exec":["let response = pm.response.json();","pm.environment.set(\"databricks_adapter_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"f365089a-5673-4f7e-8f03-065e68489778","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"created_by_id\": 1,\n    \"project_id\": 1,\n    \"metadata_json\": {\n        \"title\": \"Databricks\",\n        \"docs_link\": \"https://docs.getdbt.com/reference/warehouse-profiles/spark-profile\",\n        \"image_link\": \"https://upload.wikimedia.org/wikipedia/commons/6/63/Databricks_Logo.png\"\n    },\n    \"state\": 1,\n    \"adapter_version\": \"databricks_spark_v0\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/adapters/","description":"<p>Note: this request is a pre-requisite for the Create Connection - Databricks request. dbt Cloud must first identify the adapter ID to use in the Databricks connection.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","adapters",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"f365089a-5673-4f7e-8f03-065e68489778"},{"name":"Create Connection - Databricks","event":[{"listen":"test","script":{"id":"f53b8632-f0d7-49a8-91a4-ba7cb4da5b43","exec":["let response = pm.response.json();","pm.environment.set(\"databricks_connection_id\", response['data']['id']);"],"type":"text/javascript"}},{"listen":"prerequest","script":{"id":"d74bb98f-031d-4a48-be40-64b5610f2e36","exec":[""],"type":"text/javascript"}}],"id":"ef609d24-22cf-4fa2-bfcc-0f5c04ef58a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"type\": \"adapter\",\n    \"name\": \"<test-databricks-connection>\",\n    \"details\": {\n        \"adapter_id\": {{databricks_adapter_id}},\n        \"connection_details\": {\n            \"fields\": {\n                \"type\": {\n                    \"metadata\": {\n                        \"label\": \"Connection type\",\n                        \"description\": \"\",\n                        \"field_type\": \"hidden\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"spark\"\n                },\n                \"method\": {\n                    \"metadata\": {\n                        \"label\": \"Method\",\n                        \"description\": \"\",\n                        \"field_type\": \"select\",\n                        \"encrypt\": false,\n                        \"options\": [\n                            {\n                                \"label\": \"ODBC\",\n                                \"value\": \"odbc\"\n                            }\n                        ],\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"odbc\"\n                },\n                \"host\": {\n                    \"metadata\": {\n                        \"label\": \"Hostname\",\n                        \"description\": \"The hostname of the Databricks account to connect to.\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false,\n                            \"pattern\": \"databricks_hostname\"\n                        }\n                    },\n                    \"value\": \"\"\n                },\n                \"port\": {\n                    \"metadata\": {\n                        \"label\": \"Port\",\n                        \"description\": \"The port to connect to Databricks for this connection.\",\n                        \"field_type\": \"number\",\n                        \"encrypt\": false,\n                        \"validation\": {}\n                    },\n                    \"value\": 443\n                },\n                \"cluster\": {\n                    \"metadata\": {\n                        \"label\": \"Cluster\",\n                        \"description\": \"The ID of the cluster to connect to (required if using a cluster)\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"\"\n                },\n                \"endpoint\": {\n                    \"metadata\": {\n                        \"label\": \"Endpoint\",\n                        \"description\": \"The ID of the endpoint to connect to (required if using Databricks SQL Analytics)\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"{{databricks_endpoint_id}}\"\n                },\n                \"driver\": {\n                    \"metadata\": {\n                        \"label\": \"Driver\",\n                        \"description\": \"\",\n                        \"field_type\": \"hidden\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"/opt/simba/spark/lib/64/libsparkodbc_sb64.so\"\n                },\n                \"organization\": {\n                    \"metadata\": {\n                        \"label\": \"Organization\",\n                        \"description\": \"Optional\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"\"\n                },\n                \"user\": {\n                    \"metadata\": {\n                        \"label\": \"User\",\n                        \"description\": \"Optional\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"\"\n                }\n            },\n            \"field_order\": [\n                \"type\",\n                \"method\",\n                \"host\",\n                \"port\",\n                \"organization\",\n                \"cluster\",\n                \"endpoint\",\n                \"user\",\n                \"driver\"\n            ]\n        }\n    },\n    \"state\": 1,\n    \"created_by_id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/","description":"<p>Note: this request should be used in coordination with the Create Connection - Adapter for Databricks request. This request depends on an adapter to be mapped to the target dbt Cloud project in order to run.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ef609d24-22cf-4fa2-bfcc-0f5c04ef58a0"},{"name":"Associate Connection with Project","event":[{"listen":"test","script":{"id":"29ea8df8-68e3-4493-846d-f15240295bad","exec":[""],"type":"text/javascript"}}],"id":"7423ea31-8dfc-4223-8141-5e6a672feb9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"name\": \"{{project_name}}\",\n  \"account_id\": 1,\n  \"repository_id\": null, \n  \"connection_id\": 1,\n  \"id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"7423ea31-8dfc-4223-8141-5e6a672feb9d"},{"name":"Create Credentials - Snowflake","event":[{"listen":"test","script":{"id":"46734579-ce81-45ce-887c-875678452733","exec":["let response = pm.response.json();","pm.environment.set(\"credentials_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"d79601d8-583a-41cf-bd8c-2713bcf77df2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"state\": 1,\n    \"threads\": 1,\n    \"target_name\": \"default\",\n    \"type\": \"snowflake\",\n    \"schema\": \"dbt_postman_api_testing\",\n    \"auth_type\": \"password\",\n    \"user\": \"{{snowflake_user}}\",\n    \"password\": \"{{snowflake_password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d79601d8-583a-41cf-bd8c-2713bcf77df2"},{"name":"Create Credentials - Bigquery","event":[{"listen":"test","script":{"id":"69ee2b14-b28b-4dde-b687-5816ded99564","exec":[""],"type":"text/javascript"}}],"id":"fb16d268-7b3c-4920-99a7-9b2aff0743b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"bigquery\",\n    \"state\": 1,\n    \"threads\": 4,\n    \"schema\": \"<your-development-schema>\",\n    \"target_name\": \"default\",\n    \"created_at\": null,\n    \"updated_at\": null,\n    \"username\": null,\n    \"has_refresh_token\": false\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"fb16d268-7b3c-4920-99a7-9b2aff0743b2"},{"name":"Create Credentials - Redshift","event":[{"listen":"test","script":{"id":"abe75fa0-9563-4973-911c-271c518eb366","exec":[""],"type":"text/javascript"}}],"id":"0db99232-a677-4d4c-ae14-27cdde7c2ed6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"redshift\",\n    \"state\": 1,\n    \"threads\": 1,\n    \"username\": \"<your-username>\",\n    \"default_schema\": \"<your-default-schema>\",\n    \"target_name\": \"default\",\n    \"password\": \"<your-password>\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"0db99232-a677-4d4c-ae14-27cdde7c2ed6"},{"name":"Create Credentials - Databricks","event":[{"listen":"test","script":{"id":"02e4fb5c-fc48-4d38-abfd-d5a56747b1b5","exec":[""],"type":"text/javascript"}}],"id":"b1d0f2a0-67a1-4590-be68-fb6596d3d8b2","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"adapter\",\n    \"state\": 1,\n    \"target_name\": \"default\",\n    \"threads\": 1,\n    \"adapter_id\": {{databricks_adapter_id}},\n    \"credential_details\": {\n        \"fields\": {\n            \"token\": {\n                \"metadata\": {\n                    \"label\": \"Token\",\n                    \"description\": \"Personalized user token.\",\n                    \"field_type\": \"text\",\n                    \"encrypt\": true,\n                    \"validation\": {\n                        \"required\": false\n                    }\n                },\n                \"value\": \"<your-token-text>\"\n            },\n            \"schema\": {\n                \"metadata\": {\n                    \"label\": \"Schema\",\n                    \"description\": \"Users schema.\",\n                    \"field_type\": \"text\",\n                    \"encrypt\": false,\n                    \"validation\": {\n                        \"required\": false\n                    }\n                },\n                \"value\": \"<your-development-schema>\"\n            }\n        },\n        \"field_order\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"b1d0f2a0-67a1-4590-be68-fb6596d3d8b2"},{"name":"Create Repository with Deploy Key","event":[{"listen":"test","script":{"id":"5c8f715d-092e-489c-ba2c-49db749bf3e2","exec":[""],"type":"text/javascript"}}],"id":"ce29df42-144c-406d-a16c-1d0da151c890","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"remote_url\":\"{{git_clone_url}}\",\n    \"git_clone_strategy\": \"deploy_key\",\n    \"pull_request_url_template\": \"something\",\n    \"github_installation_id\": null,\n    \"token_str\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/","description":"<p>Note: After creating / updating a dbt Cloud repository's SSH key, you will need to add the generated key text as a deploy key to the target repository. This gives dbt Cloud permissions to read / write in the repository.</p>\n<p>You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/cloud-configuring-dbt-cloud/cloud-configuring-repositories\">docs</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce29df42-144c-406d-a16c-1d0da151c890"},{"name":"Create Repository - Gitlab Application","event":[{"listen":"test","script":{"id":"6cf78d48-1583-4a43-b840-1e50902e3874","exec":[""],"type":"text/javascript"}}],"id":"da0590e4-8ad5-4829-96fc-38750f8aa8a3","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"remote_url\":\"<gitlab-group>/<gitlab-project>\",\n    \"gitlab_project_id\":1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/","description":"<p>NOTE: this request must be authenticated using a dbt Cloud API user token, which maps to the user who created the gitlab integration.</p>\n<p>dbt Cloud API service tokens do not function with this request.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"da0590e4-8ad5-4829-96fc-38750f8aa8a3"},{"name":"Create Repository - Github Application","event":[{"listen":"test","script":{"id":"9d6ba698-946c-44dc-94ec-29dd44b2a2ab","exec":["let response = pm.response.json();","pm.environment.set(\"repository_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"61d51d58-a74d-4a6d-ba6d-4a3b51af8a24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"remote_url\": \"{{git_remote_url}}\",\n    \"github_installation_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/","description":"<p>NOTE: this request must be authenticated using a dbt Cloud API user token, which maps to the user who created the gitlab integration.</p>\n<p>dbt Cloud API service tokens do not function with this request.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"61d51d58-a74d-4a6d-ba6d-4a3b51af8a24"},{"name":"Associate Repository and Connection with Project","event":[{"listen":"test","script":{"id":"74c27b61-4eea-4cab-8982-62d810ea6f2a","exec":[""],"type":"text/javascript"}}],"id":"79db956f-9e5b-44b8-a3af-33e70c7fd701","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{project_name}}\",\n    \"account_id\": 1,\n    \"id\": 1,\n    \"repository_id\": 1,\n    \"connection_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"79db956f-9e5b-44b8-a3af-33e70c7fd701"},{"name":"Create Deployment Environment","event":[{"listen":"test","script":{"id":"1eb322cc-3252-4cbc-aeb5-0a45f74813af","exec":["let response = pm.response.json();","pm.environment.set(\"environment_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"3118a5f4-952d-4570-aa57-84f65d83bc66","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"credentials_id\": 1,\n    \"name\": \"{{deployment_environment_name}}\",\n    \"dbt_version\": \"1.0.0\",\n    \"type\": \"deployment\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environments/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environments",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"3118a5f4-952d-4570-aa57-84f65d83bc66"},{"name":"Create Deployment Environment TEST","event":[{"listen":"test","script":{"id":"1eb322cc-3252-4cbc-aeb5-0a45f74813af","exec":["let response = pm.response.json();","pm.environment.set(\"environment_id\", response['data']['id']);"],"type":"text/javascript","packages":{}}}],"id":"63366725-15aa-44dd-b14f-4cb820db837e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 86117,\n    \"type\": \"deployment\",\n    \"deployment_type\": \"production\",\n    \"name\": \"Production\",\n    \"account_id\": 28885,\n    \"project_id\": 78422,\n    \"state\": 1,\n    \"use_custom_branch\": true,\n    \"custom_branch\": \"restarts-demo\",\n    \"dbt_version\": \"1.7.0-latest\",\n    \"supports_docs\": true,\n    \"credentials_id\": 121906,\n    \"raw_dbt_version\": \"1.7.0-latest\",\n    \"created_at\": \"2022-05-09 19:38:11.617745+00:00\",\n    \"project\": null,\n    \"jobs\": null,\n    \"credentials\": null,\n    \"custom_environment_variables\": null,\n    \"is_deferrable\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environments/86117/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environments","86117",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"63366725-15aa-44dd-b14f-4cb820db837e"},{"name":"Create Development Environment","event":[{"listen":"test","script":{"id":"5cced6ee-48af-4cd5-967d-674c28024cb5","exec":[""],"type":"text/javascript"}}],"id":"6b1ad75e-0dc1-4b48-ab4b-a23ecc25428b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"type\": \"development\",\n    \"name\": \"{{development_environment_name}}\",\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"state\": 1,\n    \"use_custom_branch\": false,\n    \"custom_branch\": null,\n    \"dbt_version\": \"1.0.0\",\n    \"supports_docs\": false\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environments/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environments",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"6b1ad75e-0dc1-4b48-ab4b-a23ecc25428b"},{"name":"Create Environment Variables - Project / Environment Level","event":[{"listen":"test","script":{"id":"7c6e6061-7fa0-4cd9-9d8e-452116cac53c","exec":[""],"type":"text/javascript"}}],"id":"d68b1eae-e848-4ee9-a62c-31c3ddc1a34d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"env_var\": {\n        \"name\": \"DBT_ENV_TEST\",\n        \"ids\": [],\n        \"new_name\": \"DBT_ENV_TEST\",\n        \"project\": \"foo\",\n        \"{{development_environment_name}}\": \"dev_value\",\n        \"{{deployment_environment_name}}\": \"deploy_value\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/bulk/","description":"<p>Note: Environment variables must be prefixed with <code>DBT_</code> or <code>DBT_ENV_SECRET_</code> . You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/using-dbt-cloud/cloud-environment-variables\">docs</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables","bulk",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d68b1eae-e848-4ee9-a62c-31c3ddc1a34d"},{"name":"Create Environment Variables - Job Level","event":[{"listen":"test","script":{"id":"8a0222fe-3c37-411d-8acd-837520c18995","exec":[""],"type":"text/javascript"}}],"id":"15529393-6fa2-419d-89dc-ca083d4c276e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"job_definition_id\": 1,\n    \"type\": \"job\",\n    \"name\": \"DBT_TEST\",\n    \"raw_value\": \"<test-value>\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/","description":"<p>Note: Environment variables must be prefixed with <code>DBT_</code> or <code>DBT_ENV_SECRET_</code> . You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/using-dbt-cloud/cloud-environment-variables\">docs</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"15529393-6fa2-419d-89dc-ca083d4c276e"},{"name":"Create Environment Variables - Developer Level","event":[{"listen":"test","script":{"id":"58c73215-fd53-4505-b118-10da98b37739","exec":[""],"type":"text/javascript"}}],"id":"d804aa95-9624-419c-b912-daf013ebb694","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"user_id\": 1,\n    \"type\": \"user\",\n    \"name\": \"DBT_TEST_VAR\",\n    \"raw_value\": \"my_something_else\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/","description":"<p>Note: Environment variables must be prefixed with <code>DBT_</code> or <code>DBT_ENV_SECRET_</code> . You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/using-dbt-cloud/cloud-environment-variables\">docs</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d804aa95-9624-419c-b912-daf013ebb694"},{"name":"Create Job","event":[{"listen":"test","script":{"id":"4e5d6d6a-72cb-4f61-aa7e-1960c6ee4048","exec":["let response = pm.response.json();","pm.environment.set(\"job_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"09349b37-265e-46ca-a804-c06c43194faf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": null,\n  \"name\": \"sample\",\n  \"account_id\": 1,\n  \"project_id\": 1,\n  \"environment_id\": 1,\n  \"state\": 1,\n  \"execute_steps\": [\n    \"dbt build\"\n  ],\n  \"dbt_version\": \"xxx\",\n  \"deferring_environment_id\": null,\n  \"lifecycle_webhooks\": false,\n  \"lifecycle_webhooks_url\": null,\n  \"generate_docs\": false,\n  \"run_generate_sources\": false,\n  \"triggers\": {\n    \"github_webhook\": false,\n    \"git_provider_webhook\": false,\n    \"custom_branch_only\": false,\n    \"schedule\": false\n  },\n  \"settings\": {\n    \"threads\": 4,\n    \"target_name\": \"default\"\n  },\n  \"schedule\": {\n    \"date\": {\n      \"type\": \"days_of_week\",\n      \"days\": [\n        0,\n        1,\n        2,\n        3,\n        4,\n        5,\n        6\n      ]\n    },\n    \"time\": {\n      \"interval\": 1,\n      \"type\": \"every_hour\"\n    }\n  },\n  \"execution\": {\n    \"timeout_seconds\": 0\n  },\n  \"description\": \"\",\n  \"deferring_job_definition_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"09349b37-265e-46ca-a804-c06c43194faf"},{"name":"Create Job Copy","event":[{"listen":"test","script":{"id":"4e5d6d6a-72cb-4f61-aa7e-1960c6ee4048","exec":["let response = pm.response.json();","pm.environment.set(\"job_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"f34da989-378a-4468-a3e0-71e63b9415da","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": null,\n  \"name\": \"sample\",\n  \"account_id\": 1,\n  \"project_id\": 1,\n  \"environment_id\": 1,\n  \"state\": 1,\n  \"execute_steps\": [\n    \"dbt build\"\n  ],\n  \"dbt_version\": \"xxx\",\n  \"deferring_environment_id\": null,\n  \"lifecycle_webhooks\": false,\n  \"lifecycle_webhooks_url\": null,\n  \"generate_docs\": false,\n  \"run_generate_sources\": false,\n  \"triggers\": {\n    \"github_webhook\": false,\n    \"git_provider_webhook\": false,\n    \"custom_branch_only\": false,\n    \"schedule\": false\n  },\n  \"settings\": {\n    \"threads\": 4,\n    \"target_name\": \"default\"\n  },\n  \"schedule\": {\n    \"date\": {\n      \"type\": \"days_of_week\",\n      \"days\": [\n        0,\n        1,\n        2,\n        3,\n        4,\n        5,\n        6\n      ]\n    },\n    \"time\": {\n      \"interval\": 1,\n      \"type\": \"every_hour\"\n    }\n  },\n  \"execution\": {\n    \"timeout_seconds\": 0\n  },\n  \"description\": \"\",\n  \"deferring_job_definition_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"f34da989-378a-4468-a3e0-71e63b9415da"},{"name":"Create External Email Notification","event":[{"listen":"test","script":{"id":"4e5d6d6a-72cb-4f61-aa7e-1960c6ee4048","exec":["let response = pm.response.json();","pm.environment.set(\"job_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"45075f94-6957-47cb-a893-85cb2c1e9f18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,    // The accountID\n    \"user_id\": 1,       // The userID who is creating the notification. If unsure, use an account admin\n    \"on_cancel\": [18],  // The jobs to send cancel notifications for\n    \"on_failure\": [18], // The jobs to send failure notifications for\n    \"on_success\": [18], // The jobs to send success notifications for\n    \"state\": 1,         // Set to 2 if you're deleting this notification setup\n    \"type\": 4,          // This should be 4. Represents the new type of notification \"external_email\"\n    \"external_email\": \"my.example@company.com\" // The email to send notifications to\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/notifications/4891/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","notifications","4891",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[{"id":"7c2d3b40-82bb-4380-bd40-3f7b3d60f0e0","name":"Create External Email Notification","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"state\": 1,\n    \"on_cancel\": [255293],\n    \"on_failure\": [255293],\n    \"on_success\": [255293],\n    \"account_id\": 1,\n    \"user_id\": 1,\n    \"type\": 4\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/notifications/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Mar 2023 19:25:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"241"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.23.3"},{"key":"Allow","value":"GET, POST, DELETE, HEAD, OPTIONS"},{"key":"Vary","value":"Accept-Encoding, Cookie"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PATCH, DELETE, OPTIONS"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Request-Id","value":"ed75f2126553d968504ca07fc04f23b6"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"account_id\": 1,    // The accountID\n    \"user_id\": 1,       // The userID who is creating the notification. If unsure, use an account admin\n    \"on_cancel\": [170, 611],  // The jobs to send cancel notifications for\n    \"on_failure\": [170, 611], // The jobs to send failure notifications for\n    \"on_success\": [170, 611], // The jobs to send success notifications for\n    \"state\": 1,         // Set to 2 if you're deleting this notification setup\n    \"type\": 4,          // This should be 4. Represents the new type of notification \"external_email\"\n    \"external_email\": \"matt-w-job-notificati-aaaakrcm764ziudkcjt4mtgxbu@dbt-labs.slack.com\" // The email to send notifications to\n}"}],"_postman_id":"45075f94-6957-47cb-a893-85cb2c1e9f18"},{"name":"Create External Slack Notification","event":[{"listen":"test","script":{"id":"4e5d6d6a-72cb-4f61-aa7e-1960c6ee4048","exec":["let response = pm.response.json();","pm.environment.set(\"job_id\", response['data']['id']);"],"type":"text/javascript","packages":{}}}],"id":"a69ee303-0c90-409d-b8c0-d593c4b9fad7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"id\": null,\n  \"account_id\": 1,\n  \"type\": 2,\n  \"state\": 1,\n  \"on_cancel\": [1],\n  \"on_failure\": [1],\n  \"on_success\": [1],\n  \"user_id\": 1,\n  \"slack_channel_id\": \"XXXYYYY\",\n  \"slack_channel_name\": \"#my-channel-name\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/notifications/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","notifications",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[{"id":"bbc49d1e-170a-4924-9200-fb7b82ebc5a4","name":"Create External Email Notification","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"state\": 1,\n    \"on_cancel\": [255293],\n    \"on_failure\": [255293],\n    \"on_success\": [255293],\n    \"account_id\": 1,\n    \"user_id\": 1,\n    \"type\": 4\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/notifications/"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 29 Mar 2023 19:25:20 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"241"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.23.3"},{"key":"Allow","value":"GET, POST, DELETE, HEAD, OPTIONS"},{"key":"Vary","value":"Accept-Encoding, Cookie"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PATCH, DELETE, OPTIONS"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Request-Id","value":"ed75f2126553d968504ca07fc04f23b6"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"account_id\": 1,    // The accountID\n    \"user_id\": 1,       // The userID who is creating the notification. If unsure, use an account admin\n    \"on_cancel\": [170, 611],  // The jobs to send cancel notifications for\n    \"on_failure\": [170, 611], // The jobs to send failure notifications for\n    \"on_success\": [170, 611], // The jobs to send success notifications for\n    \"state\": 1,         // Set to 2 if you're deleting this notification setup\n    \"type\": 4,          // This should be 4. Represents the new type of notification \"external_email\"\n    \"external_email\": \"matt-w-job-notificati-aaaakrcm764ziudkcjt4mtgxbu@dbt-labs.slack.com\" // The email to send notifications to\n}"}],"_postman_id":"a69ee303-0c90-409d-b8c0-d593c4b9fad7"},{"name":"Create User Groups","event":[{"listen":"test","script":{"id":"4c090140-ba63-4c85-92c7-57c003213d84","exec":["let response = pm.response.json();","pm.environment.set(\"group_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"6c61bae7-a53a-432d-8dec-95f7390b768e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\":1,\n    \"name\":\"{{group_name}}\",\n    \"assign_by_default\":false,\n    \"sso_mapping_groups\":[\"mapping_group_1\"]\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/groups/","description":"<p>Note: The <code>group_name</code> is the name of the dbt Cloud group. The list of <code>sso_mapping_groups</code> are string values that dbt Cloud will attempt to match with incoming information from your identity provider at login time, in order to assign the group with <code>group_name</code> to the user.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","groups",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"6c61bae7-a53a-432d-8dec-95f7390b768e"},{"name":"Assign User to Groups","event":[{"listen":"test","script":{"id":"18825ade-f0be-4349-97aa-996ea2529bd1","exec":[""],"type":"text/javascript"}}],"id":"f8e4a9d3-c578-41a5-ba64-7f0b63997928","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"user_id\": 1,\n    \"desired_group_ids\":[1]\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/assign-groups/","description":"<p>Note: Setting the <code>desired_group_ids</code> in this request will overwrite a user's existing group assignments.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","assign-groups",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"f8e4a9d3-c578-41a5-ba64-7f0b63997928"},{"name":"Assign Group Permissions","event":[{"listen":"test","script":{"id":"7708028c-5ac5-49bc-a655-f1a419c4ec3e","exec":["let response = pm.response.json();","pm.environment.set(\"group_permission_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"61b2118b-8cf5-4729-a367-35432e110996","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"group_id\": 1,\n        \"account_id\": 1,\n        \"permission_set\": \"analyst\",\n        \"project_id\": 1,\n        \"all_projects\": false\n    }\n]","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/group-permissions/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","group-permissions","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"61b2118b-8cf5-4729-a367-35432e110996"},{"name":"Create Service Token","event":[{"listen":"test","script":{"id":"ae9581e2-279f-4486-8238-e01fbb3d4cd7","exec":["let response = pm.response.json();","pm.environment.set(\"service_token_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"311a811d-ed6d-4d42-a88d-8bb0611ee574","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"api-test\",\n    \"state\": 1,\n    \"account_id\": 1,\n    \"access\": {\n        \"admin\": {\n            \"permissionSet\": \"admin\",\n            \"projects\": [\n                1\n            ]\n        },\n        \"job_admin\": {\n            \"permissionSet\": \"job_admin\",\n            \"projects\": [\n                1\n            ]\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/service-tokens/","description":"<p>This request creates a service token, but does not assign permissions to it. Permissions are assigned via the \"Assign Service Token Permissions\" request in the Update URIs section.</p>\n<p>See the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/dbt-cloud-api/user-tokens\">user tokens</a> and <a href=\"https://docs.getdbt.com/docs/dbt-cloud/dbt-cloud-api/service-tokens\">service tokens</a> documentation for more information.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","service-tokens",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"311a811d-ed6d-4d42-a88d-8bb0611ee574"}],"id":"6700e2bf-a22f-4a10-abd0-e6c636968e74","event":[{"listen":"prerequest","script":{"id":"facaef71-293c-40c9-b4c3-472787d72cd3","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"79fffa17-946a-4d52-9d20-92650c030159","type":"text/javascript","exec":[""]}}],"_postman_id":"6700e2bf-a22f-4a10-abd0-e6c636968e74","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}},{"name":"Update URIs","item":[{"name":"Update Project","event":[{"listen":"test","script":{"id":"8da89447-7200-41a1-b70b-e11327c0d60c","exec":[""],"type":"text/javascript"}}],"id":"5f8dc6c5-bf28-44ba-9385-2f23acf589bd","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"{{project_name}}\",\n    \"account_id\": 1,\n    \"repository_id\": 1,\n    \"connection_id\": 1,\n    \"id\": 1,\n    \"updated_at\": \"1776099578\",\n    \"skipped_setup\": false,\n    \"state\": 1,\n    \"dbt_project_subdirectory\": \"{{project_subdirectory}}\",\n    \"connection\": null,\n    \"repository\": null,\n    \"group_permissions\": [],\n    \"docs_job_id\": null,\n    \"freshness_job_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"5f8dc6c5-bf28-44ba-9385-2f23acf589bd"},{"name":"Update Environment","event":[{"listen":"test","script":{"id":"63dd27b7-3654-4746-910c-d22a0ac0cbdf","exec":[""],"type":"text/javascript"}}],"id":"e744ea6d-e3a1-46f1-8b8b-b1e333fbb2cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"credentials_id\": 1,\n    \"name\": \"{{deployment_environment_name}}\",\n    \"dbt_version\": \"1.0.1\",\n    \"type\": \"deployment\",\n    \"use_custom_branch\": false,\n    \"custom_branch\": null,\n    \"supports_docs\": false,\n    \"state\": 1,\n    \"created_at\": \"2022-04-04 20:17:13.638655+00:00\",\n    \"updated_at\": \"2022-04-04 20:17:13.638675+00:00\",\n    \"project\": null,\n    \"jobs\": null,\n    \"custom_environment_variables\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environments/1/","description":"<p>Note: <code>created_at</code> is a required field in this request.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environments","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"e744ea6d-e3a1-46f1-8b8b-b1e333fbb2cc"},{"name":"Update Environment Variables","id":"ff5cb28b-6eee-485b-82c1-7e4cd75eaa18","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"raw","raw":"{\n\t\"env_vars\": {\n\t\t\"{{ environment_variable_value_id }}\": \"{{ environment_variable_value }}\",\n\t\t\"name\": \"{{ environment_variable_name }}\",\n\t\t\"ids\": [\n\t\t\t{{ environment_variable_value_id }}\n\t\t]\n\t}\n}"},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/bulk","description":"<p>See \"Retrieve Environment Variables for a given Project\" for more information on what these <code>{{ environment_variable_value_id }}</code> are.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables","bulk"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff5cb28b-6eee-485b-82c1-7e4cd75eaa18"},{"name":"Update Environment Variable Job Override Value","id":"90dc813a-fc1c-442b-8e47-6c7b38c44dd4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":1,\n    \"account_id\":1,\n    \"project_id\":1,\n    \"type\":\"job\",\n    \"name\":\"variable_name_with_dbt_prefix\",\n    \"raw_value\":\"new value here\",\n    \"job_definition_id\": 1,\n    \"user_id\":null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/1","description":"<p>See \"Retrieve Environment Variables for a given Project\" for more information on what these <code>{{ environment_variable_value_id }}</code> are.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables","1"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[{"id":"f3cb45c7-e32a-4cab-95bf-bc15fab6aa5d","name":"Update Environment Variables Job Override Values","originalRequest":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":94,\n    \"account_id\":117,\n    \"project_id\":238,\n    \"type\":\"job\",\n    \"name\":\"DBT_ENV_TEST34248466\",\n    \"raw_value\":\"job_override value4\",\n    \"job_definition_id\":41,\n    \"user_id\":null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/1"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Jul 2023 22:15:34 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"270"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.23.4"},{"key":"Allow","value":"GET, POST, PATCH, DELETE, HEAD, OPTIONS"},{"key":"Vary","value":"Accept-Encoding, Cookie"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PATCH, DELETE, OPTIONS"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Request-Id","value":"62ea54f34992b4df84b00c70fd860add"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": {\n        \"code\": 200,\n        \"is_success\": true,\n        \"user_message\": \"Success!\",\n        \"developer_message\": \"\"\n    },\n    \"data\": {\n        \"account_id\": 117,\n        \"project_id\": 238,\n        \"name\": \"DBT_ENV_TEST34248466\",\n        \"type\": \"job\",\n        \"state\": 1,\n        \"user_id\": null,\n        \"environment_id\": null,\n        \"job_definition_id\": 41,\n        \"environment\": null,\n        \"display_value\": \"job_override value4\",\n        \"id\": 94,\n        \"created_at\": \"2023-07-21 21:44:58.227834+00:00\",\n        \"updated_at\": \"2023-07-21 22:15:34.218437+00:00\"\n    }\n}"}],"_postman_id":"90dc813a-fc1c-442b-8e47-6c7b38c44dd4"},{"name":"Update Connection - Snowflake","event":[{"listen":"test","script":{"id":"83660db5-3751-42e4-bce3-8a3a12237299","exec":[""],"type":"text/javascript"}}],"id":"91f9b22e-482a-47e0-9e62-0209429228e7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"created_by_id\": 1,\n    \"name\": \"Snowflake\",\n    \"type\": \"snowflake\",\n    \"details\": {\n        \"allow_sso\": false,\n        \"client_session_keep_alive\": true,\n        \"account\": \"{{snowflake_account}}\",\n        \"role\": \"{{snowflake_role}}\",\n        \"database\": \"{{snowflake_database}}\",\n        \"warehouse\": \"{{snowflake_warehouse}}\"\n    },\n    \"state\": 1,\n    \"updated_at\": \"1776099578\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"91f9b22e-482a-47e0-9e62-0209429228e7"},{"name":"Update Connection - Bigquery","event":[{"listen":"test","script":{"id":"d78d10e0-80cc-4ea9-9f83-8c504c59f05b","exec":[""],"type":"text/javascript"}}],"id":"9b726d36-c2d3-4de0-a4ef-3b4e4d8ddc26","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"Bigquery\",\n    \"type\": \"bigquery\",\n    \"details\": {\n        \"retries\": 1,\n        \"location\": null,\n        \"timeout_seconds\": 300,\n        \"project_id\": \"<your-gcp-project>\",\n        \"private_key_id\": \"<service-account-private-key-id>\",\n        \"private_key\": \"<service-account-private-key>\",\n        \"client_email\": \"<service-account-email>\",\n        \"client_id\": \"<service-account-client-id>\",\n        \"auth_uri\": \"https://accounts.google.com/o/oauth2/auth\",\n        \"token_uri\": \"https://oauth2.googleapis.com/token\",\n        \"auth_provider_x509_cert_url\": \"https://www.googleapis.com/oauth2/v1/certs\",\n        \"client_x509_cert_url\": \"service-account-cert-url\",\n        \"application_id\": \"oauth-application-id\",\n        \"application_secret\": \"oauth-application-secret\"\n    },\n    \"state\": 1,\n    \"created_by_id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"9b726d36-c2d3-4de0-a4ef-3b4e4d8ddc26"},{"name":"Update Connection - Databricks","event":[{"listen":"test","script":{"id":"c2ca6611-c571-490a-a3be-052c3b258671","exec":[""],"type":"text/javascript"}}],"id":"97ec692c-7cc5-4ca8-80ab-c29fbf67fb2d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": {{databricks_connection_id}},\n    \"type\": \"adapter\",\n    \"name\": \"<test-databricks-connection>\",\n    \"details\": {\n        \"adapter_id\": {{databricks_adapter_id}},\n        \"connection_details\": {\n            \"fields\": {\n                \"type\": {\n                    \"metadata\": {\n                        \"label\": \"Connection type\",\n                        \"description\": \"\",\n                        \"field_type\": \"hidden\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"spark\"\n                },\n                \"method\": {\n                    \"metadata\": {\n                        \"label\": \"Method\",\n                        \"description\": \"\",\n                        \"field_type\": \"select\",\n                        \"encrypt\": false,\n                        \"options\": [\n                            {\n                                \"label\": \"ODBC\",\n                                \"value\": \"odbc\"\n                            }\n                        ],\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"odbc\"\n                },\n                \"host\": {\n                    \"metadata\": {\n                        \"label\": \"Hostname\",\n                        \"description\": \"The hostname of the Databricks account to connect to.\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false,\n                            \"pattern\": \"databricks_hostname\"\n                        }\n                    },\n                    \"value\": \"\"\n                },\n                \"port\": {\n                    \"metadata\": {\n                        \"label\": \"Port\",\n                        \"description\": \"The port to connect to Databricks for this connection.\",\n                        \"field_type\": \"number\",\n                        \"encrypt\": false,\n                        \"validation\": {}\n                    },\n                    \"value\": 443\n                },\n                \"cluster\": {\n                    \"metadata\": {\n                        \"label\": \"Cluster\",\n                        \"description\": \"The ID of the cluster to connect to (required if using a cluster)\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"\"\n                },\n                \"endpoint\": {\n                    \"metadata\": {\n                        \"label\": \"Endpoint\",\n                        \"description\": \"The ID of the endpoint to connect to (required if using Databricks SQL Analytics)\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"{{databricks_endpoint_id}}\"\n                },\n                \"driver\": {\n                    \"metadata\": {\n                        \"label\": \"Driver\",\n                        \"description\": \"\",\n                        \"field_type\": \"hidden\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"/opt/simba/spark/lib/64/libsparkodbc_sb64.so\"\n                },\n                \"organization\": {\n                    \"metadata\": {\n                        \"label\": \"Organization\",\n                        \"description\": \"Optional\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"\"\n                },\n                \"user\": {\n                    \"metadata\": {\n                        \"label\": \"User\",\n                        \"description\": \"Optional\",\n                        \"field_type\": \"text\",\n                        \"encrypt\": false,\n                        \"validation\": {\n                            \"required\": false\n                        }\n                    },\n                    \"value\": \"\"\n                }\n            },\n            \"field_order\": [\n                \"type\",\n                \"method\",\n                \"host\",\n                \"port\",\n                \"organization\",\n                \"cluster\",\n                \"endpoint\",\n                \"user\",\n                \"driver\"\n            ]\n        }\n    },\n    \"state\": 1,\n    \"created_by_id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/{{databricks_connection_id}}/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections","{{databricks_connection_id}}",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"97ec692c-7cc5-4ca8-80ab-c29fbf67fb2d"},{"name":"Update Connection - Redshift","event":[{"listen":"test","script":{"id":"b11dce33-30fa-41b7-b90a-f0e43bf928ae","exec":[""],"type":"text/javascript"}}],"id":"8181e4a9-9892-4a42-9fc2-f9750af8459d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"name\": \"<connection-name>\",\n    \"type\": \"redshift\",\n    \"details\": {\n        \"hostname\": \"<your-redshift-hostname>\",\n        \"port\": 5439,\n        \"dbname\": \"dev\",\n        \"tunnel_enabled\": true\n    },\n    \"state\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"8181e4a9-9892-4a42-9fc2-f9750af8459d"},{"name":"Update Credentials - Snowflake (All Fields)","event":[{"listen":"test","script":{"id":"e1d2e59f-2b86-4dd1-bbad-9f5aab536ad9","exec":[""],"type":"text/javascript"}}],"id":"02b76bd1-af6d-4828-8125-76e6b9f8486b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"state\": 1,\n    \"threads\": 1,\n    \"target_name\": \"default\",\n    \"type\": \"snowflake\",\n    \"schema\": \"dbt_postman_api_testing\",\n    \"auth_type\": \"password\",\n    \"user\": \"{{snowflake_user}}\",\n    \"password\": \"{{snowflake_password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>The POST update requires that all valid JSON body key:value pairs be provided in the body payload.</p>\n<p>This may require retrieving them from the API first, via a GET, to re-pass them to back.</p>\n<p>If you only want to update a subset of the key:value pairs, then we recommend using the \"PATCH\" version of this API call instead.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"02b76bd1-af6d-4828-8125-76e6b9f8486b"},{"name":"Update Credentials - Snowflake (Selected Fields)","id":"e578d6f0-3282-4890-839c-74a190d98221","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"state\": 1,\n    \"threads\": 1,\n    \"target_name\": \"default\",\n    \"type\": \"snowflake\",\n    \"schema\": \"dbt_postman_api_testing\",\n    \"auth_type\": \"password\",\n    \"user\": \"{{snowflake_user}}\",\n    \"password\": \"{{snowflake_password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>Using PATCH instead of POST allows an update to made without providing ALL json body key:value pairs.</p>\n<p>The minimum is the \"id\" key, plus whatever other key:value pair you want to update:</p>\n<p>{<br />\"id\" : 1234,<br />\"password\" : \"password\"<br />}</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"e578d6f0-3282-4890-839c-74a190d98221"},{"name":"Update Credentials - Bigquery (All Fields)","id":"3c9681cd-c0ff-48b6-9b0e-16ce34e6e915","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"bigquery\",\n    \"state\": 1,\n    \"threads\": 4,\n    \"schema\": \"<your-development-schema>\",\n    \"target_name\": \"default\",\n    \"created_at\": null,\n    \"updated_at\": null,\n    \"username\": null,\n    \"has_refresh_token\": false\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>The POST update requires that all valid JSON body key:value pairs be provided in the body payload.</p>\n<p>This may require retrieving them from the API first, via a GET, to re-pass them to back.</p>\n<p>If you only want to update a subset of the key:value pairs, then we recommend using the \"PATCH\" version of this API call instead.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c9681cd-c0ff-48b6-9b0e-16ce34e6e915"},{"name":"Update Credentials - Bigquery (Selected Fields)","id":"03f6446d-c46e-4261-9ada-c8783574065c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"bigquery\",\n    \"state\": 1,\n    \"threads\": 4,\n    \"schema\": \"<your-development-schema>\",\n    \"target_name\": \"default\",\n    \"created_at\": null,\n    \"updated_at\": null,\n    \"username\": null,\n    \"has_refresh_token\": false\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>Using PATCH instead of POST allows an update to made without providing ALL json body key:value pairs.</p>\n<p>The minimum is the \"id\" key, plus whatever other key:value pair you want to update:</p>\n<p>{<br />\"id\" : 1234,<br />\"password\" : \"password\"<br />}</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"03f6446d-c46e-4261-9ada-c8783574065c"},{"name":"Update Credentials - Databricks (All Fields)","id":"233ca814-f32a-4777-9626-0643c7abe257","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"adapter\",\n    \"state\": 1,\n    \"target_name\": \"default\",\n    \"threads\": 1,\n    \"adapter_id\": {{databricks_adapter_id}},\n    \"credential_details\": {\n        \"fields\": {\n            \"token\": {\n                \"metadata\": {\n                    \"label\": \"Token\",\n                    \"description\": \"Personalized user token.\",\n                    \"field_type\": \"text\",\n                    \"encrypt\": true,\n                    \"validation\": {\n                        \"required\": false\n                    }\n                },\n                \"value\": \"<your-token-text>\"\n            },\n            \"schema\": {\n                \"metadata\": {\n                    \"label\": \"Schema\",\n                    \"description\": \"Users schema.\",\n                    \"field_type\": \"text\",\n                    \"encrypt\": false,\n                    \"validation\": {\n                        \"required\": false\n                    }\n                },\n                \"value\": \"<your-development-schema>\"\n            }\n        },\n        \"field_order\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>The POST update requires that all valid JSON body key:value pairs be provided in the body payload.</p>\n<p>This may require retrieving them from the API first, via a GET, to re-pass them to back.</p>\n<p>If you only want to update a subset of the key:value pairs, then we recommend using the \"PATCH\" version of this API call instead.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"233ca814-f32a-4777-9626-0643c7abe257"},{"name":"Update Credentials - Databricks (Selected Fields)","id":"842a7320-32d0-4a97-9f9b-482e430ab9c9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"adapter\",\n    \"state\": 1,\n    \"target_name\": \"default\",\n    \"threads\": 1,\n    \"adapter_id\": {{databricks_adapter_id}},\n    \"credential_details\": {\n        \"fields\": {\n            \"token\": {\n                \"metadata\": {\n                    \"label\": \"Token\",\n                    \"description\": \"Personalized user token.\",\n                    \"field_type\": \"text\",\n                    \"encrypt\": true,\n                    \"validation\": {\n                        \"required\": false\n                    }\n                },\n                \"value\": \"<your-token-text>\"\n            },\n            \"schema\": {\n                \"metadata\": {\n                    \"label\": \"Schema\",\n                    \"description\": \"Users schema.\",\n                    \"field_type\": \"text\",\n                    \"encrypt\": false,\n                    \"validation\": {\n                        \"required\": false\n                    }\n                },\n                \"value\": \"<your-development-schema>\"\n            }\n        },\n        \"field_order\": []\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>Using PATCH instead of POST allows an update to made without providing ALL json body key:value pairs.</p>\n<p>The minimum is the \"id\" key, plus whatever other key:value pair you want to update:</p>\n<p>{<br />\"id\" : 1234,<br />\"password\" : \"password\"<br />}</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"842a7320-32d0-4a97-9f9b-482e430ab9c9"},{"name":"Update Credentials - Redshift (All Fields)","id":"eba7df1f-72d5-43d9-b997-0c09b0bdee27","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"redshift\",\n    \"state\": 1,\n    \"threads\": 1,\n    \"username\": \"<your-username>\",\n    \"default_schema\": \"dbt_<your-username>\",\n    \"target_name\": \"default\",\n    \"created_at\": \"2021-07-14 19:30:31.228947+00:00\",\n    \"updated_at\": \"2021-07-14 19:30:31.228966+00:00\",\n    \"password\": \"<your-password>\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>The POST update requires that all valid JSON body key:value pairs be provided in the body payload.</p>\n<p>This may require retrieving them from the API first, via a GET, to re-pass them to back.</p>\n<p>If you only want to update a subset of the key:value pairs, then we recommend using the \"PATCH\" version of this API call instead.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"eba7df1f-72d5-43d9-b997-0c09b0bdee27"},{"name":"Update Credentials - Redshift (Selected Fields)","id":"adc3447c-3c36-4f5c-94cc-b9bb9c6eab62","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"redshift\",\n    \"state\": 1,\n    \"threads\": 1,\n    \"username\": \"<your-username>\",\n    \"default_schema\": \"dbt_<your-username>\",\n    \"target_name\": \"default\",\n    \"created_at\": \"2021-07-14 19:30:31.228947+00:00\",\n    \"updated_at\": \"2021-07-14 19:30:31.228966+00:00\",\n    \"password\": \"<your-password>\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/1/","description":"<p>Using PATCH instead of POST allows an update to made without providing ALL json body key:value pairs.</p>\n<p>The minimum is the \"id\" key, plus whatever other key:value pair you want to update:</p>\n<p>{<br />\"id\" : 1234,<br />\"password\" : \"password\"<br />}</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"adc3447c-3c36-4f5c-94cc-b9bb9c6eab62"},{"name":"Update Repository - Deploy Key","event":[{"listen":"test","script":{"id":"d692000e-315a-4d59-91e3-4a2d9bcb5d89","exec":[""],"type":"text/javascript"}}],"id":"191f3cb2-5263-4661-b773-1cd4335701a7","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"full_name\": null,\n    \"remote_url\": \"{{git_clone_url}}\",\n    \"remote_backend\": null,\n    \"git_clone_strategy\": \"deploy_key\",\n    \"deploy_key_id\": 1,\n    \"repository_credentials_id\": null,\n    \"github_installation_id\": null,\n    \"pull_request_url_template\": \"https://github.com/your-organization/your-repository/compare/{{destination}}...{{source}}\",\n    \"state\": 1,\n    \"created_at\": \"2022-04-04 20:21:30.029390+00:00\",\n    \"updated_at\": \"2022-04-04 20:21:30.029407+00:00\",\n    \"deploy_key\": {\n        \"id\": 1,\n        \"account_id\": 1,\n        \"state\": 1,\n        \"public_key\": \"ssh-rsa <ssh-key-text>\"\n    },\n    \"github_repo\": null,\n    \"name\": null,\n    \"git_provider_id\": 1,\n    \"gitlab\": null,\n    \"git_provider\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/1/","description":"<p>Note: After creating / updating a dbt Cloud repository's SSH key, you will need to add the generated key text as a deploy key to the target repository. This gives dbt Cloud permissions to read / write in the repository.</p>\n<p>You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/cloud-configuring-dbt-cloud/cloud-configuring-repositories\">docs</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"191f3cb2-5263-4661-b773-1cd4335701a7"},{"name":"Update Repository - Github Application","event":[{"listen":"test","script":{"id":"d692000e-315a-4d59-91e3-4a2d9bcb5d89","exec":[""],"type":"text/javascript"}}],"id":"02330863-aa7f-4b0a-a63f-dfb43a278659","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"full_name\": \"matt-winkler/dbt-cloud-api-postman\",\n    \"remote_url\": \"git://github.com/matt-winkler/dbt-cloud-api-postman.git\",\n    \"remote_backend\": \"github\",\n    \"git_clone_strategy\": \"github_app\",\n    \"deploy_key_id\": 1,\n    \"repository_credentials_id\": null,\n    \"github_installation_id\": 1,\n    \"pull_request_url_template\": \"https://github.com/matt-winkler/dbt-cloud-api-postman/compare/{{destination}}...{{source}}\",\n    \"state\": 1,\n    \"created_at\": \"2022-04-05 16:51:51.123503+00:00\",\n    \"updated_at\": \"2022-04-05 16:51:51.123519+00:00\",\n    \"github_repo\": \"matt-winkler/dbt-cloud-api-postman\",\n    \"name\": \"dbt-cloud-api-postman\",\n    \"git_provider_id\": 1,\n    \"gitlab\": null,\n    \"git_provider\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/1/","description":"<p>Note: After creating / updating a dbt Cloud repository's SSH key, you will need to add the generated key text as a deploy key to the target repository. This gives dbt Cloud permissions to read / write in the repository.</p>\n<p>You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/cloud-configuring-dbt-cloud/cloud-configuring-repositories\">docs</a></p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"02330863-aa7f-4b0a-a63f-dfb43a278659"},{"name":"Update Job","event":[{"listen":"test","script":{"id":"614dee51-f840-4946-914f-688bd5df017f","exec":[""],"type":"text/javascript"}}],"id":"10e98794-97b4-441e-88fc-c46b5bc9a3ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"execution\": {\n        \"timeout_seconds\": 300\n    },\n    \"generate_docs\": true,\n    \"run_generate_sources\": false,\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"environment_id\": 1,\n    \"name\": \"<your-job-name>\",\n    \"dbt_version\": \"1.0.1\",\n    \"execute_steps\": [\n        \"dbt build\"\n    ],\n    \"state\": 1,\n    \"deactivated\": false,\n    \"run_failure_count\": 0,\n    \"deferring_job_definition_id\": null,\n    \"lifecycle_webhooks\": false,\n    \"lifecycle_webhooks_url\": null,\n    \"triggers\": {\n        \"github_webhook\": false,\n        \"git_provider_webhook\": null,\n        \"custom_branch_only\": false,\n        \"schedule\": false\n    },\n    \"settings\": {\n        \"threads\": 1,\n        \"target_name\": \"default\"\n    },\n    \"schedule\": {\n        \"cron\": \"0 * * * *\",\n        \"date\": {\n            \"type\": \"every_day\"\n        },\n        \"time\": {\n            \"type\": \"every_hour\",\n            \"interval\": 1\n        }\n    },\n    \"is_deferrable\": false,\n    \"generate_sources\": false,\n    \"cron_humanized\": \"Every hour\",\n    \"next_run\": null,\n    \"next_run_humanized\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"10e98794-97b4-441e-88fc-c46b5bc9a3ef"},{"name":"Update Job Copy","event":[{"listen":"test","script":{"id":"614dee51-f840-4946-914f-688bd5df017f","exec":[""],"type":"text/javascript"}}],"id":"e23b9607-2a2d-426c-8f02-f479967c7724","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"execution\": {\n        \"timeout_seconds\": 300\n    },\n    \"generate_docs\": true,\n    \"run_generate_sources\": false,\n    \"id\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"environment_id\": 1,\n    \"name\": \"<your-job-name>\",\n    \"dbt_version\": \"1.0.1\",\n    \"execute_steps\": [\n        \"dbt build\"\n    ],\n    \"state\": 1,\n    \"deactivated\": false,\n    \"run_failure_count\": 0,\n    \"deferring_job_definition_id\": null,\n    \"lifecycle_webhooks\": false,\n    \"lifecycle_webhooks_url\": null,\n    \"triggers\": {\n        \"github_webhook\": false,\n        \"git_provider_webhook\": null,\n        \"custom_branch_only\": false,\n        \"schedule\": false\n    },\n    \"settings\": {\n        \"threads\": 1,\n        \"target_name\": \"default\"\n    },\n    \"schedule\": {\n        \"cron\": \"0 * * * *\",\n        \"date\": {\n            \"type\": \"every_day\"\n        },\n        \"time\": {\n            \"type\": \"every_hour\",\n            \"interval\": 1\n        }\n    },\n    \"is_deferrable\": false,\n    \"generate_sources\": false,\n    \"cron_humanized\": \"Every hour\",\n    \"next_run\": null,\n    \"next_run_humanized\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"e23b9607-2a2d-426c-8f02-f479967c7724"},{"name":"Assign Service Token Permissions","event":[{"listen":"test","script":{"id":"82c65f1f-ec8d-4b36-ac2f-a2a8bb7f25bc","exec":[""],"type":"text/javascript"}}],"id":"ff4e0867-1070-4b43-9d27-683fd94f3b23","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"[\n    {\n        \"service_token_id\": 1,\n        \"account_id\": 1,\n        \"permission_set\": \"job_viewer\",\n        \"project_id\": 1,\n        \"all_projects\": false\n    },\n    {\n        \"service_token_id\": 1,\n        \"account_id\": 1,\n        \"permission_set\": \"analyst\",\n        \"project_id\": 1,\n        \"all_projects\": false\n    }\n]","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/service-tokens/1/permissions/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","service-tokens","1","permissions",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ff4e0867-1070-4b43-9d27-683fd94f3b23"}],"id":"1071a69c-831b-4122-8e6a-3018ac513ef8","event":[{"listen":"prerequest","script":{"id":"75f8b061-ef8c-46b3-96a5-6d967d90f963","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ebace406-fa75-455e-81ec-63a950d6942f","type":"text/javascript","exec":[""]}}],"_postman_id":"1071a69c-831b-4122-8e6a-3018ac513ef8","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}},{"name":"Retrieval URIs","item":[{"name":"Retrieve Projects for given Account","event":[{"listen":"test","script":{"id":"8413d7f3-dec9-49e0-ac56-40b11b835e8f","exec":[""],"type":"text/javascript"}}],"id":"0247793a-17d2-42ab-9bba-0d6d7a7d86a0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"0247793a-17d2-42ab-9bba-0d6d7a7d86a0"},{"name":"Retrieve Environments for given Account","event":[{"listen":"test","script":{"id":"8e56157c-1780-4288-8b93-2239acd7a081","exec":[""],"type":"text/javascript"}}],"id":"80f84e07-39f5-4448-b9c4-f3881c577ee1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/environments/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","environments",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"80f84e07-39f5-4448-b9c4-f3881c577ee1"},{"name":"Retrieve Environments for given Project","event":[{"listen":"test","script":{"id":"8e56157c-1780-4288-8b93-2239acd7a081","exec":[""],"type":"text/javascript"}}],"id":"a897080a-7238-4676-ad0d-530a7a6b1794","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environments/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environments",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"a897080a-7238-4676-ad0d-530a7a6b1794"},{"name":"Retrieve Environment Details","event":[{"listen":"test","script":{"id":"8e56157c-1780-4288-8b93-2239acd7a081","exec":[""],"type":"text/javascript"}}],"id":"c009816b-068f-41bc-bf00-e19eac1361d6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/environments/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","environments","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"c009816b-068f-41bc-bf00-e19eac1361d6"},{"name":"Retrieve Environment Variables for a given Project","id":"9966d458-ce31-49fa-94c2-84defe7a7425","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/environment/","description":"<p>This request returns:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": {\n    \"code\": 200,\n    \"is_success\": true,\n    \"user_message\": \"Success!\",\n    \"developer_message\": \"\"\n  },\n  \"data\": {\n    \"environments\": [\n      \"Deployment\",\n      \"Development\",\n      \"Deployment 1.3\"\n    ],\n    \"variables\": {\n      \"DBT_SOME_VAR\": {\n        \"project\": {\n          \"id\": 12345,\n          \"value\": \"foo\"\n        },\n        \"Deployment\": {\n          \"id\": 12346,\n          \"value\": \"bar\"\n        },\n        \"Development\": {\n          \"id\": 12347,\n          \"value\": \"baz\"\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n<p>Where <code>environments</code> is a list of all environments in the project and <code>variables</code> is a dictionary of environment variables and what they are set to for each environment. Each environment variable key-value pair will have an associated <code>id</code> (<code>{{ environment_variable_value_id }}</code>) which can be used with the \"Update Environment Variables\" endpoint.</p>\n<p>In the example above, there is 1 environment variable <code>DBT_SOME_VAR</code> in the project.</p>\n<p>That environment variable's value is set to <code>foo</code> on the project level and has an id of <code>12345</code>.</p>\n<p>That environment variable's value is set to <code>bar</code> for the environment named \"Deployment\" and has an id of <code>12346</code>.</p>\n<p>That environment variable's value is set to <code>baz</code> for the environment named \"Development\" and has an id of <code>12347</code>.</p>\n<p>That environment variable's value is unset for the environment named \"Deployment 1.3\".</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables","environment",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"9966d458-ce31-49fa-94c2-84defe7a7425"},{"name":"Retrieve Environment Variables for a given Job","id":"8c0db77e-f7e3-4b87-b194-9aee57f05b05","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/job/?job_definition_id=1","description":"<p>This request returns:</p>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">{\n  \"status\": {\n    \"code\": 200,\n    \"is_success\": true,\n    \"user_message\": \"Success!\",\n    \"developer_message\": \"\"\n  },\n  \"data\": {\n    \"environments\": [\n      \"Deployment\",\n      \"Development\",\n      \"Deployment 1.3\"\n    ],\n    \"variables\": {\n      \"DBT_SOME_VAR\": {\n        \"project\": {\n          \"id\": 12345,\n          \"value\": \"foo\"\n        },\n        \"Deployment\": {\n          \"id\": 12346,\n          \"value\": \"bar\"\n        },\n        \"Development\": {\n          \"id\": 12347,\n          \"value\": \"baz\"\n        }\n      }\n    }\n  }\n}\n\n</code></pre>\n<p>Where <code>environments</code> is a list of all environments in the project and <code>variables</code> is a dictionary of environment variables and what they are set to for each environment. Each environment variable key-value pair will have an associated <code>id</code> (<code>{{ environment_variable_value_id }}</code>) which can be used with the \"Update Environment Variables\" endpoint.</p>\n<p>In the example above, there is 1 environment variable <code>DBT_SOME_VAR</code> in the project.</p>\n<p>That environment variable's value is set to <code>foo</code> on the project level and has an id of <code>12345</code>.</p>\n<p>That environment variable's value is set to <code>bar</code> for the environment named \"Deployment\" and has an id of <code>12346</code>.</p>\n<p>That environment variable's value is set to <code>baz</code> for the environment named \"Development\" and has an id of <code>12347</code>.</p>\n<p>That environment variable's value is unset for the environment named \"Deployment 1.3\".</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables","job",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"job_definition_id","value":"1"}],"variable":[]}},"response":[{"id":"f001538d-5e37-4e43-a018-280ac393000e","name":"Retrieve Environment Variables for a given Job","originalRequest":{"method":"GET","header":[],"url":{"raw":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/job/?job_definition_id=1","host":["<ENTER_BASE_URL>"],"path":["api","v3","accounts","1","projects","1","environment-variables","job",""],"query":[{"key":"job_definition_id","value":"1"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Fri, 21 Jul 2023 21:52:12 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"186"},{"key":"Connection","value":"keep-alive"},{"key":"Server","value":"nginx/1.23.4"},{"key":"Allow","value":"GET, POST, PATCH, DELETE, HEAD, OPTIONS"},{"key":"Vary","value":"Accept-Encoding, Cookie"},{"key":"Content-Encoding","value":"gzip"},{"key":"X-Frame-Options","value":"DENY"},{"key":"X-Frame-Options","value":"deny"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"X-Content-Type-Options","value":"nosniff"},{"key":"Referrer-Policy","value":"same-origin"},{"key":"Access-Control-Allow-Origin","value":"*"},{"key":"Access-Control-Allow-Methods","value":"GET, POST, PATCH, DELETE, OPTIONS"},{"key":"Strict-Transport-Security","value":"max-age=31536000; includeSubDomains"},{"key":"X-Request-Id","value":"9685a996213961b6189ccfbaf0b3e60f"},{"key":"X-Robots-Tag","value":"noindex"}],"cookie":[],"responseTime":null,"body":"{\n    \"status\": {\n        \"code\": 200,\n        \"is_success\": true,\n        \"user_message\": \"Success!\",\n        \"developer_message\": \"\"\n    },\n    \"data\": {\n        \"DBT_ENV_TEST34248466\": {\n            \"project\": {\n                \"id\": 30,\n                \"value\": \"project default value\"\n            },\n            \"environment\": {\n                \"id\": 32,\n                \"value\": \"Deploy value\"\n            },\n            \"job\": {\n                \"id\": 94,\n                \"value\": \"job_override value\"\n            }\n        }\n    }\n}"}],"_postman_id":"8c0db77e-f7e3-4b87-b194-9aee57f05b05"},{"name":"Retrieve Groups for a Given Account","event":[{"listen":"test","script":{"id":"d17d9af8-2753-485a-a9c3-97e8eed07d6a","exec":[""],"type":"text/javascript"}}],"id":"eef21601-f3fb-47bc-9b23-b730fd1bace9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/groups/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","groups",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"eef21601-f3fb-47bc-9b23-b730fd1bace9"},{"name":"Retrieve Gitlab Integration Groups","id":"2bf9cc74-ac64-4062-8d67-58291c7154a9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/integrations/gitlab/groups/?account_id=1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","integrations","gitlab","groups",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"account_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"2bf9cc74-ac64-4062-8d67-58291c7154a9"},{"name":"Retrive Github Installations for a Given User","id":"81783715-5332-49ea-ae80-e7903e0c343a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/integrations/gitlab/groups/?account_id=1","description":"<p>Note: This endpoint must be accessed with a user token and not a service token.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","integrations","gitlab","groups",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"account_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"81783715-5332-49ea-ae80-e7903e0c343a"},{"name":"Retrieve Connections for given Project","event":[{"listen":"test","script":{"id":"64c7ffab-3c7b-4740-b119-1d6e2f22de91","exec":[""],"type":"text/javascript"}}],"id":"a7133f66-10ce-44d0-a539-e7009120548a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"a7133f66-10ce-44d0-a539-e7009120548a"},{"name":"Retrieve Credentials for given Project","event":[{"listen":"test","script":{"id":"0afe7ed6-4f1e-4d98-926c-97153accadd4","exec":[""],"type":"text/javascript"}}],"id":"055ab40d-7edc-4eb2-aa42-cd9d033eae2b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"055ab40d-7edc-4eb2-aa42-cd9d033eae2b"},{"name":"Retrieve Repositories for given Project","event":[{"listen":"test","script":{"id":"342232ef-b424-4608-b4c6-7069d9d93d4b","exec":[""],"type":"text/javascript"}}],"id":"595144b0-9684-46ec-806e-113bc13915f1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"595144b0-9684-46ec-806e-113bc13915f1"},{"name":"Retrieve Jobs for given Account","event":[{"listen":"test","script":{"id":"c6222f26-3461-4520-953e-3dcd21abc20b","exec":[""],"type":"text/javascript"}}],"id":"44ec6f56-e162-4da0-a00b-ebae7c04bade","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"44ec6f56-e162-4da0-a00b-ebae7c04bade"},{"name":"Retrieve Jobs for given Project","event":[{"listen":"test","script":{"id":"c6222f26-3461-4520-953e-3dcd21abc20b","exec":[""],"type":"text/javascript"}}],"id":"042f103d-4c32-4cc9-a992-0fbc35cf6e17","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/?project_id=1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"project_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"042f103d-4c32-4cc9-a992-0fbc35cf6e17"},{"name":"Retrieve Feature Flags for given Account","event":[{"listen":"test","script":{"id":"d96fc5b5-15a3-4943-926c-845cb9b3326f","exec":[""],"type":"text/javascript"}}],"id":"c9b0d908-b242-402b-aa10-0d1e5c1ff96c","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/feature-flag/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","feature-flag",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"c9b0d908-b242-402b-aa10-0d1e5c1ff96c"},{"name":"Retrieve All Job Runs for an Account","event":[{"listen":"test","script":{"id":"d3982b00-c8e8-4300-866e-71a7244c11e2","exec":[""],"type":"text/javascript"}}],"id":"3c0abae7-8ceb-42a7-bcde-a3b14da69991","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"3c0abae7-8ceb-42a7-bcde-a3b14da69991"},{"name":"Retrieve Job Run Information","event":[{"listen":"test","script":{"id":"d3982b00-c8e8-4300-866e-71a7244c11e2","exec":[""],"type":"text/javascript"}}],"id":"a3062741-3b0d-42f5-bc28-88b3800ebfea","protocolProfileBehavior":{"disableBodyPruning":true,"followRedirects":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/?include_related=[\"run_steps\"]","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"include_related","value":"[\"run_steps\"]"}],"variable":[]}},"response":[],"_postman_id":"a3062741-3b0d-42f5-bc28-88b3800ebfea"},{"name":"Retrieve Job Record","event":[{"listen":"test","script":{"id":"d3982b00-c8e8-4300-866e-71a7244c11e2","exec":[""],"type":"text/javascript"}}],"id":"c18b1422-b865-498c-acc2-f44edf042d04","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/1","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs","1"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"c18b1422-b865-498c-acc2-f44edf042d04"},{"name":"Retrieve Job Manifest","id":"44a7e766-fcc8-4a5e-b27a-8fe72d2ffa59","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/artifacts/manifest.json","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","artifacts","manifest.json"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"44a7e766-fcc8-4a5e-b27a-8fe72d2ffa59"},{"name":"Retrieve Job Run Results","id":"056ee610-f1bb-4bd3-8cf2-349b9eca6d67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/artifacts/run_results.json","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","artifacts","run_results.json"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"056ee610-f1bb-4bd3-8cf2-349b9eca6d67"},{"name":"Retrieve Job Runs","id":"c3dff799-141a-4df3-ab0e-46671ae05875","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/artifacts/run_results.json","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","artifacts","run_results.json"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"c3dff799-141a-4df3-ab0e-46671ae05875"},{"name":"Retrieve Job Run Step Information","id":"9f706289-1c2c-4b49-9804-f983bae2b8ed","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/steps/1/?include_related=['trigger\",\"job\",\"debug_logs\"]","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","steps","1",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"include_related","value":"['trigger\",\"job\",\"debug_logs\"]"}],"variable":[]}},"response":[],"_postman_id":"9f706289-1c2c-4b49-9804-f983bae2b8ed"},{"name":"Retrieve Job Run Step Information Copy","id":"78bf6abf-c961-4608-b6dc-0e1e8bead7dc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/steps/1/?include_related=['trigger\",\"job\",\"debug_logs\"]","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","steps","1",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"include_related","value":"['trigger\",\"job\",\"debug_logs\"]"}],"variable":[]}},"response":[],"_postman_id":"78bf6abf-c961-4608-b6dc-0e1e8bead7dc"},{"name":"Retrieve Job Catalog","id":"71308c00-0e2d-4195-9e73-7ee206ec9504","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/artifacts/catalog.json","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","artifacts","catalog.json"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"71308c00-0e2d-4195-9e73-7ee206ec9504"},{"name":"Retrieve Compiled query from a job","id":"e3cef24b-b991-4eb0-80fa-9d6b2d2f8d47","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/artifacts/compiled/databricks_demo/models/marts/airbnb/core/fct_reviews.sql","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","artifacts","compiled","databricks_demo","models","marts","airbnb","core","fct_reviews.sql"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"e3cef24b-b991-4eb0-80fa-9d6b2d2f8d47"},{"name":"Retrieve list of artifacts","id":"2dd7c74f-6e29-4773-adf5-dc2f4d219763","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/artifacts/compiled/databricks_demo/models/marts/airbnb/core/fct_reviews.sql","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","artifacts","compiled","databricks_demo","models","marts","airbnb","core","fct_reviews.sql"],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"2dd7c74f-6e29-4773-adf5-dc2f4d219763"},{"name":"Retrieve Job Logs","id":"97e8ac74-7226-45cd-89d0-6cccd49380bf","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/steps/1/?include_related=[\"debug_logs\"]","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","steps","1",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"include_related","value":"[\"debug_logs\"]"}],"variable":[]}},"response":[],"_postman_id":"97e8ac74-7226-45cd-89d0-6cccd49380bf"},{"name":"Retrieve Users from Account","event":[{"listen":"test","script":{"id":"9ec015c3-9e85-44d4-a19a-253d029a3854","exec":[""],"type":"text/javascript"}}],"id":"4ef6754b-0510-4d5e-ba1e-aa0337f9e89e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"body":{"mode":"raw","raw":""},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/users?=&limit=10","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","users"],"host":["<ENTER_BASE_URL>"],"query":[{"key":null,"value":""},{"key":"limit","value":"10"}],"variable":[]}},"response":[],"_postman_id":"4ef6754b-0510-4d5e-ba1e-aa0337f9e89e"},{"name":"Retrieve Audit Logs","event":[{"listen":"test","script":{"id":"9ec015c3-9e85-44d4-a19a-253d029a3854","exec":[""],"type":"text/javascript"}}],"id":"ddbaf2a0-05fe-446c-84bc-1ccd550becc4","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/audit-logs/?offset=0&logged_at_start=2022-04-20&logged_at_end=2022-04-22&limit=10\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","audit-logs",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"offset","value":"0"},{"key":"logged_at_start","value":"2022-04-20"},{"key":"logged_at_end","value":"2022-04-22"},{"key":"limit","value":"10\n"}],"variable":[]}},"response":[],"_postman_id":"ddbaf2a0-05fe-446c-84bc-1ccd550becc4"},{"name":"Retrieve Credentials for given User","event":[{"listen":"test","script":{"id":"9ec015c3-9e85-44d4-a19a-253d029a3854","exec":[""],"type":"text/javascript"}}],"id":"ea804fd0-5465-4bcb-9783-acd98f1329b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/users/1/credentials/?project_id=1","description":"<p>Note: this request must be authenticated with a user token assigned to a dbt Cloud user with Account Admin permissions. Service tokens, even with Account Admin permissions, cannot view each user's assigned developer credentials.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","users","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[{"key":"project_id","value":"1"}],"variable":[]}},"response":[],"_postman_id":"ea804fd0-5465-4bcb-9783-acd98f1329b5"},{"name":"Retrieve Permissions Associated with Service Token","event":[{"listen":"test","script":{"id":"97d6adc2-7e7f-4b88-a31c-4c837abd3d2f","exec":[""],"type":"text/javascript"}}],"id":"184cd84f-565f-4b42-a940-1d16d796219a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/service-tokens/1/permissions/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","service-tokens","1","permissions",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"184cd84f-565f-4b42-a940-1d16d796219a"}],"id":"8d86d942-e5e2-418c-ab56-8ba508352522","description":"<p>This folder contains requests related to retrieving the current state of dbt Cloud objects</p>\n","event":[{"listen":"prerequest","script":{"id":"3593ebd3-a3ad-4031-bd50-c0a06eddc113","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"2e406130-6a8a-4cf2-a4f5-53dfb5e669e5","type":"text/javascript","exec":[""]}}],"_postman_id":"8d86d942-e5e2-418c-ab56-8ba508352522","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}},{"name":"Trigger URIs","item":[{"name":"Trigger Job to Run","id":"148fd718-6440-46f2-998a-8a05eb5df4ad","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n  \"cause\": \"Kicked off from Airflow\",\n  \"git_branch\": \"staging\",\n  \"schema_override\": \"dbt_cloud_pr_123\",\n  \"dbt_version_override\": \"1.0.1\",\n  \"target_name_override\": \"staging\",\n  \"timeout_seconds_override\": 3000,\n  \"generate_docs_override\": true,\n  \"threads_override\": 8,\n  \"steps_override\": [\n    \"dbt seed\",\n    \"dbt run --fail-fast\",\n    \"dbt test --fail-fast\"\n  ]\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/1/run/","description":"<p>Note that <code>cause</code> is the only required field in the request body. The other fields in the request example are optional.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs","1","run",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"148fd718-6440-46f2-998a-8a05eb5df4ad"},{"name":"Restart Job from Failure","id":"c394da54-46ed-4ba4-8418-c63b9d37ed6d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/runs/1/retry/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","runs","1","retry",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"c394da54-46ed-4ba4-8418-c63b9d37ed6d"}],"id":"90e68665-c32f-44fa-b4cc-0ce2c8c7db69","_postman_id":"90e68665-c32f-44fa-b4cc-0ce2c8c7db69","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}},{"name":"Test URIs","item":[{"name":"Test Connection","id":"d15a873b-5d55-4bdb-9bc9-26bacf62f0b8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"connection\": {\n        \"id\": null,\n        \"state\": 1,\n        \"account_id\": 1,\n        \"project_id\": 1,\n        \"created_by_service_token_id\": 1,\n        \"details\": {\n            \"allow_sso\": false,\n            \"client_session_keep_alive\": false,\n            \"account\": \"<your-snowflake-account-id>\",\n            \"role\": \"<your-snowflake-role\",\n            \"database\": \"<your-snowflake-database\",\n            \"warehouse\": \"<your-snowflake-warehouse\"\n        },\n        \"type\": \"snowflake\",\n        \"name\": \"Snowflake\"\n    },\n    \"credentials\": {\n        \"id\": null,\n        \"account_id\": 1,\n        \"project_id\": 1,\n        \"state\": 1,\n        \"threads\": 4,\n        \"target_name\": \"dev\",\n        \"type\": \"snowflake\",\n        \"auth_type\": \"password\",\n        \"schema\": \"dbt_wsargent\",\n        \"user\": \"will.sargent@fishtownanalytics.com\",\n        \"password\": \"\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/connections/test/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","connections","test",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d15a873b-5d55-4bdb-9bc9-26bacf62f0b8"}],"id":"9ae86fb2-f36f-4f23-9165-0b0e9ba06e4b","event":[{"listen":"prerequest","script":{"id":"cffb5dbf-493b-4616-be94-35db32520f2a","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"cf291721-afc5-47e6-9983-b61f081dff30","type":"text/javascript","exec":[""]}}],"_postman_id":"9ae86fb2-f36f-4f23-9165-0b0e9ba06e4b","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}},{"name":"Delete URIs","item":[{"name":"Delete User Groups","id":"d499059d-2f0d-47a8-95bb-73b63e97a9d9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\":1,\n    \"name\":\"<group-name>\",\n    \"id\": 1,\n    \"state\":2, \n    \"assign_by_default\":false,\n    \"sso_mapping_groups\":[]\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/groups/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","groups","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d499059d-2f0d-47a8-95bb-73b63e97a9d9"},{"name":"Delete Job","id":"b5c16db0-6f24-45f6-905f-95e896fa6892","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","jobs","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"b5c16db0-6f24-45f6-905f-95e896fa6892"},{"name":"Delete Environment Variable","id":"5366c4d0-a158-4c39-908a-341110ca0825","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"DBT_MY_AWESOME_VARIABLE\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/environment-variables/bulk/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","environment-variables","bulk",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"5366c4d0-a158-4c39-908a-341110ca0825"},{"name":"Delete Environment","id":"e47a0e80-210d-4889-9c99-721ee645635b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/environments/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","environments","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"e47a0e80-210d-4889-9c99-721ee645635b"},{"name":"Delete Repository","id":"ae0cb265-2513-4c25-9073-2b0c6db58d9d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","repositories","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ae0cb265-2513-4c25-9073-2b0c6db58d9d"},{"name":"Delete Connection","id":"92fb3cc6-62cf-43ef-b182-286f2da1712d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1","connections","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"92fb3cc6-62cf-43ef-b182-286f2da1712d"},{"name":"Delete Project","id":"ce3018ce-2872-4d3d-89a9-1b65d9c4f588","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[],"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v3","accounts","1","projects","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ce3018ce-2872-4d3d-89a9-1b65d9c4f588"},{"name":"Deactivate User License","id":"ba3667e8-c61d-418c-88ea-a889051184f0","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\":1,\n    \"account_id\":1,\n    \"user_id\":1,\n    \"state\":2\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/permissions/1/","description":"<p>Note: Ensure the <code>groups</code> object contains all of a user's assigned group permissions. This request will fail if a user has already been deactivated.</p>\n","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}},"urlObject":{"path":["api","v2","accounts","1","permissions","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"ba3667e8-c61d-418c-88ea-a889051184f0"}],"id":"44ee041b-aece-4966-a986-6af8f7b371f9","event":[{"listen":"prerequest","script":{"id":"a93c40e8-f981-4c52-9a49-952e48ed1a4c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"549e4481-8a9d-44a6-ab84-c669a833ce5c","type":"text/javascript","exec":[""]}}],"_postman_id":"44ee041b-aece-4966-a986-6af8f7b371f9","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}},{"name":"Example Workflows","item":[{"name":"Create Project / Environment / Job from Scratch","item":[{"name":"Create Project","event":[{"listen":"test","script":{"id":"e61eb7bb-af9a-477d-b3d8-ec63dd4b7888","exec":["let response = pm.response.json();","pm.environment.set(\"project_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"9146dec2-354b-4833-808a-2dc8b1547654","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"{{project_name}}\",\n    \"dbt_project_subdirectory\": null,\n    \"account_id\": 1,\n    \"connection_id\": null,\n    \"repository_id\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/","urlObject":{"path":["api","v3","accounts","1","projects",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"9146dec2-354b-4833-808a-2dc8b1547654"},{"name":"Create Repository with Deploy Key","event":[{"listen":"test","script":{"id":"44a7e558-b395-4c52-96fa-da53b88d6174","exec":["let response = pm.response.json();","pm.environment.set(\"repository_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"8bac4585-e6c7-440c-925d-0560bf72dbff","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"remote_url\":\"{{git_clone_url}}\",\n    \"git_clone_strategy\": \"deploy_key\",\n    \"github_installation_id\": null,\n    \"token_str\": null\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/repositories/","description":"<p>Note: After creating / updating a dbt Cloud repository's SSH key, you will need to add the generated key text as a deploy key to the target repository. This gives dbt Cloud permissions to read / write in the repository.</p>\n<p>You can read more in the <a href=\"https://docs.getdbt.com/docs/dbt-cloud/cloud-configuring-dbt-cloud/cloud-configuring-repositories\">docs</a></p>\n","urlObject":{"path":["api","v3","accounts","1","projects","1","repositories",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"8bac4585-e6c7-440c-925d-0560bf72dbff"},{"name":"Create Connection - Snowflake","event":[{"listen":"test","script":{"id":"d7bb089f-c456-4cca-ab0e-1e756b733dfa","exec":["let response = pm.response.json();","pm.environment.set(\"connection_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"801c7d8e-0dcc-4d44-9f33-fcf42b30460a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"name\": \"test\",\n    \"type\": \"snowflake\",\n    \"details\": {\n        \"account\": \"<your-snowflake-account-id>\",\n        \"role\": \"<your-snowflake-role\",\n        \"database\": \"<your-snowflake-database\",\n        \"warehouse\": \"<your-snowflake-warehouse\",\n        \"oauth_client_id\": null,\n        \"oauth_client_secret\": null,\n        \"client_session_keep_alive\": false,\n        \"allow_sso\": false\n    },\n    \"state\": 1,\n    \"account_id\": 1,\n    \"project_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/connections/","urlObject":{"path":["api","v3","accounts","1","projects","1","connections",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"801c7d8e-0dcc-4d44-9f33-fcf42b30460a"},{"name":"Associate Connection and Repository with Project","event":[{"listen":"test","script":{"id":"27314120-eee9-46ef-92ed-d7eac100506d","exec":[""],"type":"text/javascript"}}],"id":"8e805ed7-499e-419c-9ffb-0373dab83f22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"name\": \"test-postman-generated\",\n    \"account_id\": 1,\n    \"repository_id\": 1,\n    \"connection_id\": 1,\n    \"id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/","urlObject":{"path":["api","v3","accounts","1","projects","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"8e805ed7-499e-419c-9ffb-0373dab83f22"},{"name":"Create Development Environment","event":[{"listen":"test","script":{"id":"27314120-eee9-46ef-92ed-d7eac100506d","exec":["pm.test(\"Successful POST request.\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.error).to.be.undefined","});"],"type":"text/javascript"}}],"id":"d091df53-b532-43b4-b4a1-5174c0853e9e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"type\": \"development\",\n    \"name\": \"<my-dev-environment>\",\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"state\": 1,\n    \"use_custom_branch\": false,\n    \"custom_branch\": null,\n    \"dbt_version\": \"1.0.0\",\n    \"supports_docs\": false\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/environments/","urlObject":{"path":["api","v3","accounts","1","environments",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"d091df53-b532-43b4-b4a1-5174c0853e9e"},{"name":"Create Credentials","event":[{"listen":"test","script":{"id":"27314120-eee9-46ef-92ed-d7eac100506d","exec":["let response = pm.response.json();","pm.environment.set(\"credentials_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"125e3b2f-2955-4877-aa7b-054d2cb696f8","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"type\": \"snowflake\",\n    \"state\": 1,\n    \"threads\": 4,\n    \"auth_type\": \"password\",\n    \"user\": \"<username>\",\n    \"password\": \"<password>\",\n    \"schema\": \"<default-deployment-schema>\"\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/credentials/","urlObject":{"path":["api","v3","accounts","1","projects","1","credentials",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"125e3b2f-2955-4877-aa7b-054d2cb696f8"},{"name":"Create Deployment Environment","event":[{"listen":"test","script":{"id":"27314120-eee9-46ef-92ed-d7eac100506d","exec":["let response = pm.response.json();","pm.environment.set(\"environment_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"e6e0ce9f-583f-41e1-aa43-ed0d739fb5ec","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"id\": null,\n    \"type\": \"deployment\",\n    \"name\": \"<my-deployment-env>\",\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"state\": 1,\n    \"use_custom_branch\": false,\n    \"custom_branch\": null,\n    \"dbt_version\": \"1.0.0\",\n    \"supports_docs\": false,\n    \"credentials_id\": 1\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/environments/","urlObject":{"path":["api","v3","accounts","1","environments",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"e6e0ce9f-583f-41e1-aa43-ed0d739fb5ec"},{"name":"Create Job","event":[{"listen":"test","script":{"id":"27314120-eee9-46ef-92ed-d7eac100506d","exec":["let response = pm.response.json();","pm.environment.set(\"job_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"c8ee5eaa-e2ab-4dbb-b54f-c61c220aa3df","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"POST","header":[],"body":{"mode":"raw","raw":"{\n    \"account_id\": 1,\n    \"project_id\": 1,\n    \"id\": null,\n    \"environment_id\": 1,\n    \"name\": \"<my-dbt-job>\",\n    \"dbt_version\": \"1.0.1\",\n    \"triggers\": {\n      \"github_webhook\": false,\n      \"schedule\": false,\n      \"custom_branch_only\": false\n    },\n    \"execute_steps\": [\n      \"dbt build\"\n    ],\n    \"settings\": {\n      \"threads\": 1,\n      \"target_name\": \"default\"\n    },\n    \"state\": 1,\n    \"generate_docs\": false,\n    \"schedule\": {\n        \"date\": {\n            \"type\": \"every_day\"\n        },\n        \"time\": {\n            \"type\": \"every_hour\",\n            \"interval\": 1\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v2/accounts/1/jobs/","urlObject":{"path":["api","v2","accounts","1","jobs",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"c8ee5eaa-e2ab-4dbb-b54f-c61c220aa3df"},{"name":"Delete Project","event":[{"listen":"test","script":{"id":"e61eb7bb-af9a-477d-b3d8-ec63dd4b7888","exec":["let response = pm.response.json();","pm.environment.set(\"project_id\", response['data']['id']);"],"type":"text/javascript"}}],"id":"f4a0b566-7ba3-4475-8b90-34f393e2a423","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":false},"method":"DELETE","header":[],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"<ENTER_BASE_URL>/api/v3/accounts/1/projects/1/","urlObject":{"path":["api","v3","accounts","1","projects","1",""],"host":["<ENTER_BASE_URL>"],"query":[],"variable":[]}},"response":[],"_postman_id":"f4a0b566-7ba3-4475-8b90-34f393e2a423"}],"id":"81d0218d-0fdd-437e-bacf-d0ccc11189ae","event":[{"listen":"prerequest","script":{"id":"2ff5a4a1-540d-4380-96d9-3671a67140af","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"ed32d6a8-f2ff-45ec-9215-c3742ae5415b","type":"text/javascript","exec":[""]}}],"_postman_id":"81d0218d-0fdd-437e-bacf-d0ccc11189ae","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}}],"id":"e0809a9d-4dad-4908-9c9f-c0fcde2221ef","_postman_id":"e0809a9d-4dad-4908-9c9f-c0fcde2221ef","description":"","auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]},"isInherited":true,"source":{"_postman_id":"7ad22661-8807-406b-aec0-34a46b671aac","id":"7ad22661-8807-406b-aec0-34a46b671aac","name":"dbt Cloud Object Management API Endpoints","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"basicConfig":[{"key":"key","value":"Authorization"},{"key":"value","value":"<value>"}]}},"event":[{"listen":"prerequest","script":{"id":"a723c381-2ee5-400b-824a-78f365f4634c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"f99668c5-b6d7-4549-9a49-76825182b145","type":"text/javascript","exec":["pm.test(\"Successful POST request.\", function () {","    var jsonData = pm.response.json();","    pm.expect(jsonData.error).to.be.undefined;","    pm.expect(pm.response.code).to.be.oneOf([200, 201]);","});"]}}],"variable":[{"id":"25960e3b-5d35-480e-aaf2-7941b4f44a3d","key":"base_url","value":"<ENTER_BASE_URL>"},{"id":"203d9f23-d114-4580-ad39-e859d73dd33d","key":"account_id","value":"1"},{"id":"decd3a83-f8ae-4238-b0a9-9bf2d0385bbe","key":"project_id","value":"1"},{"id":"f47a0e04-e2b7-4c1f-9476-8ad48000ce6c","key":"environment_id","value":"1"},{"id":"d79ccc73-03d5-4495-a74c-cc1fcde51ada","key":"connection_id","value":"1"},{"id":"71d711ca-95b6-4e59-a3e9-99e5c66b5119","key":"repository_id","value":"1"},{"id":"29631fee-41a1-42ee-9561-31e5a8b632ed","key":"user_id","value":"1"},{"id":"997edb81-dfa0-4a16-9107-48671080278e","key":"run_id","value":"1"},{"id":"2820554f-0e8a-4fee-9130-f1f510662e94","key":"step_id","value":"1"},{"id":"b9953fdb-a3cb-46e1-b95c-9c219e57c97d","key":"gitlab_project_id","value":"1"},{"id":"1428745a-f62b-4376-8224-38ee4d72ae06","key":"github_installation_id","value":"1"},{"id":"a327b7dd-36d1-4d47-989d-04e99d75677c","key":"dbt_version","value":"1.0.1"},{"id":"177c6d49-3bec-42e7-b093-2a30fd0b6e82","key":"job_id","value":"1"},{"id":"ff611d12-4b09-4bc3-a272-701ce55eb21e","key":"credentials_id","value":"1"},{"id":"a45fc0da-0032-4844-98bd-f8637b0793e9","key":"service_token_id","value":"1"},{"id":"8e4e3c65-f1f3-4166-86db-f473a4c0a10c","key":"group_id","value":"1"},{"id":"1c734af8-74a1-4cac-b684-3c5cbffd3473","key":"license_id","value":"1"},{"id":"695230b7-5ffd-47c4-88bf-c57295bd57a1","key":"deploy_key_id","value":"1"},{"id":"706c8897-6d40-4da6-8afd-c3220d681fd3","key":"git_provider_id","value":"1"},{"id":"c1de43bc-12b9-4688-a02a-7b12d5ebab0e","key":"environment_variable_value_id","value":"1"}]}