From omni-analytics
Explores Omni Analytics semantic models, topics, views, fields, dimensions, measures, and relationships via REST API. Useful for discovering available data and model structure before querying or building.
npx claudepluginhub exploreomni/omni-claude-skillsThis skill uses the workspace's default tool permissions.
Explore and understand an Omni semantic model through the REST API. This is the starting point — understand what exists before building, querying, or modifying anything.
Discover and inspect Omni Analytics models, topics, views, fields, dimensions, measures, and relationships using the Omni CLI. Use this skill whenever someone wants to understand what data is available in Omni, explore their semantic model, find specific fields or views, check how tables join together, see what topics exist, or asks any variant of "what can I query", "what fields are available", "show me the model", "what data do we have", or "how is this data modeled". Also use when you need to understand the Omni model structure before building or modifying anything.
Use when exploring Honeydew semantic layer, discovering entities/fields, setting up workspace and branch context, or querying data. For creating metrics use metric-creation skill. For creating attributes use attribute-creation skill.
Guides Next.js Cache Components and Partial Prerendering (PPR): 'use cache' directives, cacheLife(), cacheTag(), revalidateTag() for caching, invalidation, static/dynamic optimization. Auto-activates on cacheComponents: true.
Share bugs, ideas, or general feedback.
Explore and understand an Omni semantic model through the REST API. This is the starting point — understand what exists before building, querying, or modifying anything.
Tip: Start with the Shared model — it contains the curated analytics layer.
Set environment variables:
export OMNI_BASE_URL="https://yourorg.omniapp.co"
export OMNI_API_KEY="your-api-key"
API keys: Settings > API Keys (Organization Admin) or User Profile > Manage Account > Generate Token (Personal Access Token).
When unsure whether an endpoint or parameter exists, fetch the OpenAPI spec:
curl -L "$OMNI_BASE_URL/openapi.json" \
-H "Authorization: Bearer $OMNI_API_KEY"
Use this to verify endpoints, available parameters, and request/response schemas before making calls.
Explore top-down: List models → Pick a model → List topics → Inspect a topic → Explore views and fields.
curl -L "$OMNI_BASE_URL/api/v1/models" \
-H "Authorization: Bearer $OMNI_API_KEY"
Returns models with id, name, connectionId, and modelKind (SCHEMA or SHARED). Use the SHARED model — it contains the curated semantic layer.
To also see active branches on each model:
curl -L "$OMNI_BASE_URL/api/v1/models?include=activeBranches" \
-H "Authorization: Bearer $OMNI_API_KEY"
Each model in the response will include a branches array. Each branch has an id (UUID) and name — use the id as the branchId parameter in other API calls.
Topics are entry points for querying. Each topic defines a base view and the set of joined views available.
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/topic" \
-H "Authorization: Bearer $OMNI_API_KEY"
Returns topic names, base views, labels, and descriptions.
Get full detail including all views, dimensions, measures, relationships, and AI context:
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/topic/{topicName}" \
-H "Authorization: Bearer $OMNI_API_KEY"
The response includes:
base_view_name — the primary tableviews[] — all accessible views, each with dimensions[] and measures[]relationships[] — how views join togetherdefault_filters — filters applied by defaultai_context — instructions for Blobby (Omni's AI)For the full semantic model definition:
# All YAML files
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/yaml" \
-H "Authorization: Bearer $OMNI_API_KEY"
# Specific file
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/yaml?fileName=order_items.view" \
-H "Authorization: Bearer $OMNI_API_KEY"
# Regex filter
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/yaml?fileName=.*sales.*" \
-H "Authorization: Bearer $OMNI_API_KEY"
# From a branch (branchId is a UUID from the list models response)
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/yaml?branchId={branchId}" \
-H "Authorization: Bearer $OMNI_API_KEY"
The mode parameter: combined (default) merges schema + shared model; extension shows only shared model customizations.
Omni has three layers:
When exploring, use the combined view to see everything available.
Views correspond to database tables. Each has dimensions (groupable fields) and measures (aggregations).
Topics join views together into queryable units — curated starting points for analysis. A topic has a base view, joined views, default filters, and AI context.
Relationships define joins: join_from_view, join_to_view, on_sql, relationship_type (one_to_one, many_to_one, one_to_many, many_to_many), and join_type (always_left, inner, full_outer).
Field naming: view_name.field_name with bracket notation for date granularity: orders.created_at[week].
"What data do we have about X?" — List topics → inspect the most relevant one → review views and fields.
"How do these tables relate?" — Inspect the topic's relationships[] — check join_from_view, join_to_view, on_sql, and relationship_type.
"What measures are available for Y?" — Inspect the topic containing view Y → review the measures[] array with aggregate_type and sql definitions.
Calculation fields in the model use a different format than regular dimensions/measures. The field key is calc_name and the expression property is sql_expression — not name/sql.
Assess the blast radius of a field migration or removal before pushing changes to dbt:
omni-model-builder where the field is removed or renamedcurl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/content-validator?branchId={branchId}" \
-H "Authorization: Bearer $OMNI_API_KEY"
This returns all dashboards and tiles with broken references to the removed field.
curl -L "$OMNI_BASE_URL/api/v1/models/{modelId}/yaml?fileName=.*" \
-H "Authorization: Bearer $OMNI_API_KEY"
Search the response for the field name to find references in other views, topics, and calculated fields.
Do NOT paginate documents and check queries individually — the content validator does this for you in one call.