Get dbt exposures
Returns the dbt exposures for a model, computed on-demand by analyzing which dbt models are referenced by the published dashboards and apps that use this model. Returns one record per dashboard (type "dashboard") or app (type "application") that references at least one dbt model; documents with no dbt references are excluded, so a page may hold fewer records than pageSize. Exposure names (exposure.name) may contain duplicates when multiple documents produce the same name; use deduplication_name for a guaranteed-unique value, or use it as a fallback when names collide.
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/models/{modelId}/dbt-exposures
- AuthHTTP bearer
Path parameters
Model UUID
Query parameters
Cursor for pagination (from previous response nextCursor)
Number of results per page (1-100, integer)
Sort direction for results
Field to sort results by
Branch ID to use for branch-aware operations
Response
List of dbt exposures for the model
Example response
{
"records": [
{
"exposure": {
"depends_on": [
"ref('orders')",
"ref('customers')"
],
"name": "my_dashboard",
"type": "dashboard"
}
}
]
}Changes
No recorded changes to this operation across all 97 revisions of this API.