dbt
Create dbt environment
Create a new dbt environment on the specified connection. A dbt environment allows you to connect Omni to a specific dbt project and manage dbt-related functionality within the connection context.
dbt environments can be personal (owned by a single user) or shared (owned by no one). To create:
- A personal environment for yourself, you'll need Restricted Querier permissions or higher on the associated Omni model
- A personal environment for another user, you'll need Organization Admin permissions
- A shared environment, you'll need Connection Admin or Organization Admin permissions
post/v1/connections/{connectionId}/dbt/environments
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/connections/{connectionId}/dbt/environments
- AuthHTTP bearer
Path parameters
connectionIdstring uuid required
The unique identifier of the connection
Request body
Example request
{
"name": "Production dbt",
"targetSchema": "analytics",
"ownerId": "550e8400-e29b-41d4-a716-446655440000",
"targetDatabase": "analytics_db",
"targetName": "my_project",
"targetRole": "transformer",
"variables": [
{
"name": "DBT_TARGET",
"value": "production"
}
]
}Response
dbt environment created successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.