v4

latestOpenAPI 3.1.02026-08-01207318738.7 KB
Models

Get dbt exposures

Returns the dbt exposures for a model, computed on-demand by analyzing which dbt models are referenced by dashboards that use this model. Returns exactly one record per dashboard. The exposure field is null when a dashboard does not reference any dbt models. Exposure names (exposure.name) may contain duplicates when multiple dashboards produce the same name; use deduplication_name for a guaranteed-unique value, or use it as a fallback when names collide.

get/api/v1/models/{modelId}/dbt-exposures

Path parameters

modelIdstring uuid required

Model UUID

Example:123e4567-e89b-12d3-a456-426614174000

Model UUID

Query parameters

cursorstring

Cursor for pagination (from previous response nextCursor)

Example:eyJpZCI6IjEyMzQ1In0

Cursor for pagination (from previous response nextCursor)

pageSizeinteger

Number of results per page (1-100, integer)

Example:20

Number of results per page (1-100, integer)

sortDirection'asc' | 'desc'

Sort direction for results

Example:desc

Sort direction for results

sortFieldstring

Field to sort results by

Field to sort results by

branch_idstring uuid

Branch ID to use for branch-aware operations

Example:123e4567-e89b-12d3-a456-426614174001

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"
      }
    }
  ]
}