Omnia docs

List view prompts

Retrieve the paginated list of prompts the view currently groups, with summary performance metrics per prompt. The prompt set is resolved from the view's saved filters at query time.

GET
/api/v1/views/{view}/prompts

Authorization

BearerAuth
AuthorizationBearer <token>

API token authentication. Use format: Bearer ot_your-token-here

In: header

Path Parameters

view*string

Unique identifier for the view

Formatuuid

Query Parameters

page?integer

Page number (1-indexed)

Default1
Range1 <= value
pageSize?integer

Number of items per page

Default20
Range1 <= value <= 100
startDate?string

Start date for sorting data (ISO 8601 date format). Defaults to 7 days ago. Range is inclusive.

Formatdate
endDate?string

End date for sorting data (ISO 8601 date format). Defaults to today. Range is inclusive.

Formatdate
engine?string

Filter results by specific AI engine. Omit to return prompts for all supported engines

Value in"google-ai-overviews" | "google-ai-mode" | "perplexity" | "openai" | "gemini" | "grok" | "copilot" | "claude" | "bing-ai-mode"
sortBy?string

Field to sort prompts by

Default"updated_at"
Value in"name" | "share_of_voice" | "net_sentiment" | "updated_at" | "country"
sortDirection?string

Sort order direction

Default"desc"
Value in"asc" | "desc"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.useomnia.com/api/v1/views/550e8400-e29b-41d4-a716-446655440000/prompts"
{
  "pagination": {
    "page": 1,
    "pageSize": 10,
    "totalItems": 420
  },
  "links": {
    "prev": "https://app.useomnia.com/api/v1/resource?page=1&pageSize=10",
    "next": "https://app.useomnia.com/api/v1/resource?page=3&pageSize=10"
  },
  "data": {
    "prompts": [
      {
        "createdAt": "2026-01-01T09:30:00Z",
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "isMonitoringActive": true,
        "location": "us",
        "query": "What is the best CRM for small businesses?",
        "tags": [
          "product",
          "high-priority"
        ],
        "type": "Non-Branded",
        "shareOfVoice": 0.25,
        "netSentiment": 0.42
      }
    ]
  }
}
{
  "error": {
    "code": 1002,
    "description": "Invalid input parameters"
  }
}
{
  "error": {
    "code": 1004,
    "description": "Invalid or expired API token"
  }
}
{
  "error": {
    "code": 1006,
    "description": "Item not found"
  }
}
{
  "error": {
    "code": 1001,
    "description": "Internal error"
  }
}