Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/models/{modelId}/dbt-exposures \
--header 'Authorization: Bearer <token>'{
"pageInfo": {
"hasNextPage": false,
"nextCursor": null,
"pageSize": 1000,
"totalRecords": 1
},
"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"
}
}
]
}Connection Admin permissions are required to use this endpoint.
Retrieves 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.
curl --request GET \
--url https://{instance}.omniapp.co/api/v1/models/{modelId}/dbt-exposures \
--header 'Authorization: Bearer <token>'{
"pageInfo": {
"hasNextPage": false,
"nextCursor": null,
"pageSize": 1000,
"totalRecords": 1
},
"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"
}
}
]
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
ID of the model
Number of results per page (1-100).
1 <= x <= 100Pagination cursor from a previous response's pageInfo.nextCursor.
Branch ID for branch-aware model operations.
Was this page helpful?