v1
latestOpenAPI 3.1.02026-07-2618690613.4 KBdbt
Get dbt exposures
<Note> **Connection Admin** permissions are required to use this endpoint. </Note>Retrieve dbt exposures for the specified model. This endpoint computes exposures on-demand by analyzing which dbt models are referenced by dashboards 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
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"
}
}
]
}