dbt
Get dbt exposures
Retrieve dbt exposures for the specified model. This endpoint computes exposures on-demand by analyzing which dbt models are referenced by dashboards and apps that use the specified model.
This enables automated retrieval of exposure data previously only available via the manual Sync exposures flow in Omni, making it ideal for CI/CD pipelines and automated workflows.
get/v1/models/{modelId}/dbt-exposures
Request
- Base URLhttps://blobsrus.omniapp.co/api
- URLhttps://blobsrus.omniapp.co/api/v1/models/{modelId}/dbt-exposures
- AuthHTTP bearer
Path parameters
modelIdstring uuid required
ID of the model
Query parameters
pageSizeinteger
Number of results per page (1-100).
cursorstring
Pagination cursor from a previous response's pageInfo.nextCursor.
branch_idstring uuid
Branch ID for branch-aware model operations.
Response
dbt exposures successfully retrieved
Example response
{
"records": [
{
"dashboard_identifier": "abc123",
"deduplication_name": "sales_overview_abc123",
"exposure": {
"name": "sales_overview",
"type": "dashboard",
"owner": {
"name": "Blob Ross",
"email": "blob.ross@blobsrus.com"
},
"depends_on": [
"ref('orders')",
"ref('customers')"
],
"label": "Sales Overview",
"url": "https://your-org.omni.co/dashboards/abc123"
}
}
]
}Changes
No recorded changes to this operation across all 2 revisions of this API.