Skip to main content
GET
/
v1
/
models
/
{modelId}
/
dbt-exposures
Get dbt exposures
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.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

ID of the model

Query Parameters

pageSize
integer
default:20

Number of results per page (1-100).

Required range: 1 <= x <= 100
cursor
string

Pagination cursor from a previous response's pageInfo.nextCursor.

branch_id
string<uuid>

Branch ID for branch-aware model operations.

Response

dbt exposures successfully retrieved

pageInfo
object
required

Pagination information for paginated responses.

records
object[]
required