omni-content-explorer

द्वारा exploreomni

Omni Analytics में सामग्री — डैशबोर्ड, वर्कबुक, फ़ोल्डर और लेबल — खोजें, ब्राउज़ करें और व्यवस्थित करें, REST API का उपयोग करके। इस कौशल का उपयोग तब करें जब कोई चाहता है…

npx skills add https://github.com/exploreomni/omni-cursor-plugin --skill omni-content-explorer

Omni Content Explorer

Find, browse, and organize Omni content — dashboards, workbooks, and folders — through the REST API.

Prerequisites

export OMNI_BASE_URL="https://yourorg.omniapp.co"
export OMNI_API_KEY="your-api-key"

API Discovery

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.

Browsing Content

List All Content

curl -L "$OMNI_BASE_URL/api/v1/content" \
  -H "Authorization: Bearer $OMNI_API_KEY"

With Counts and Labels

curl -L "$OMNI_BASE_URL/api/v1/content?include=_count,labels" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Filter and Sort

# By label
curl -L "$OMNI_BASE_URL/api/v1/content?labels=finance,marketing" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# By scope
curl -L "$OMNI_BASE_URL/api/v1/content?scope=organization" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# Sort by popularity or recency
curl -L "$OMNI_BASE_URL/api/v1/content?sortField=favorites" \
  -H "Authorization: Bearer $OMNI_API_KEY"

curl -L "$OMNI_BASE_URL/api/v1/content?sortField=updatedAt" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Pagination

Responses include pageInfo with cursor-based pagination. Fetch next page:

curl -L "$OMNI_BASE_URL/api/v1/content?cursor={nextCursor}" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Working with Documents

List Documents

curl -L "$OMNI_BASE_URL/api/v1/documents" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# Filter by creator
curl -L "$OMNI_BASE_URL/api/v1/documents?creatorId={userId}" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Each document includes: identifier, name, type, scope, owner, folder, labels, updatedAt, hasDashboard.

Important: Always use the identifier field for API calls, not id. The id field is null for workbook-type documents and will cause silent failures.

Get Document Queries

Retrieve query definitions powering a dashboard's tiles:

curl -L "$OMNI_BASE_URL/api/v1/documents/{identifier}/queries" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Useful for understanding what a dashboard computes and re-running queries via omni-query.

Folders

# List
curl -L "$OMNI_BASE_URL/api/v1/folders" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# Create
curl -L -X POST "$OMNI_BASE_URL/api/v1/folders" \
  -H "Authorization: Bearer $OMNI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "name": "Q1 Reports", "scope": "organization" }'

Labels

# List labels
curl -L "$OMNI_BASE_URL/api/v1/labels" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# Add label to document
curl -L -X PUT "$OMNI_BASE_URL/api/v1/documents/{identifier}/labels/{labelName}" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# Remove label
curl -L -X DELETE "$OMNI_BASE_URL/api/v1/documents/{identifier}/labels/{labelName}" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Favorites

# Favorite
curl -L -X PUT "$OMNI_BASE_URL/api/v1/documents/{identifier}/favorite" \
  -H "Authorization: Bearer $OMNI_API_KEY"

# Unfavorite
curl -L -X DELETE "$OMNI_BASE_URL/api/v1/documents/{identifier}/favorite" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Dashboard Downloads

# Start download (async)
curl -L -X POST "$OMNI_BASE_URL/api/v1/dashboards/{dashboardId}/download" \
  -H "Authorization: Bearer $OMNI_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "format": "pdf" }'

# Poll job status
curl -L "$OMNI_BASE_URL/api/v1/jobs/{jobId}/status" \
  -H "Authorization: Bearer $OMNI_API_KEY"

Formats: pdf, png

URL Patterns

Construct direct links to content:

Dashboard: {OMNI_BASE_URL}/dashboards/{identifier}
Workbook:  {OMNI_BASE_URL}/w/{identifier}

The identifier comes from the document's identifier field in API responses. Always provide the user a clickable link after finding content.

Search Patterns

When scanning all documents for field references (e.g., for impact analysis), paginate with cursor and call GET /api/v1/documents/{identifier}/queries for each document. Launch multiple query-fetch calls in parallel for efficiency. For field impact analysis, prefer the content-validator approach in omni-model-explorer.

Docs Reference

Related Skills

  • omni-query — run queries behind dashboards you've found
  • omni-content-builder — create or update dashboards
  • omni-embed — embed dashboards you've found in external apps
  • omni-admin — manage permissions on documents and folders

exploreomni की और Skills

omni-admin
exploreomni
Omni Analytics इंस्टेंस का प्रशासन करें — Omni CLI के माध्यम से कनेक्शन, उपयोगकर्ता, समूह, उपयोगकर्ता विशेषताएँ, अनुमतियाँ, शेड्यूल और स्कीमा रिफ्रेश का प्रबंधन करें। उपयोग…
official
omni-ai-eval
exploreomni
Omni AI क्वेरी जनरेशन सटीकता का मूल्यांकन Omni CLI के माध्यम से परीक्षण प्रॉम्प्ट चलाकर, उत्पन्न क्वेरी JSON की अपेक्षित परिणामों से तुलना करके, और स्कोरिंग करके करें…
official
omni-ai-optimizer
exploreomni
अपने Omni Analytics मॉडल को Blobby, Omni Agent के लिए अनुकूलित करें — ai_context, ai_fields, sample_queries कॉन्फ़िगर करें और AI-विशिष्ट विषय विस्तार बनाएं। उपयोग करें…
official
omni-content-builder
exploreomni
ओम्नी एनालिटिक्स दस्तावेज़ों और डैशबोर्ड को प्रोग्रामेटिक रूप से बनाएं, अपडेट करें और प्रबंधित करें — दस्तावेज़ जीवनचक्र, टाइल्स, विज़ुअलाइज़ेशन, फ़िल्टर और लेआउट — का उपयोग करके…
official
omni-content-explorer
exploreomni
Omni Analytics में सामग्री — डैशबोर्ड, वर्कबुक, फ़ोल्डर और लेबल — खोजें, ब्राउज़ करें और व्यवस्थित करें, Omni CLI का उपयोग करके। इस कौशल का उपयोग तब करें जब कोई चाहता है…
official
omni-embed
exploreomni
Omni Analytics डैशबोर्ड को बाहरी अनुप्रयोगों में एम्बेड करें — URL हस्ताक्षर, कस्टम थीम, iframe ईवेंट, एंटिटी वर्कस्पेस और अनुमति-जागरूक सामग्री — का उपयोग करके…
official
omni-model-builder
exploreomni
Omni Analytics के सिमैंटिक मॉडल परिभाषाएँ — व्यू, टॉपिक, डाइमेंशन, माप, संबंध और क्वेरी व्यू — YAML के माध्यम से Omni… का निर्माण और संपादन करें।
official
omni-model-explorer
exploreomni
Omni CLI का उपयोग करके Omni Analytics मॉडल, विषय, दृश्य, फ़ील्ड, आयाम, माप और संबंधों को खोजें और निरीक्षण करें। इस कौशल का उपयोग तब करें जब कोई…
official