Omnia docs
REST APIPrompt

List prompts

Retrieve a paginated list of prompts.

Deprecated: Returns a 410 Gone error once Topics are disabled for your account due to deprecation — if so, use GET /api/v1/brands/{brand}/prompts instead. It does not require a topic ID and supports type, countries, and tags filters to narrow the results.

GET
/api/v1/topics/{topic}/prompts

Authorization

BearerAuth
AuthorizationBearer <token>

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

In: header

Path Parameters

topic*string

Unique identifier for the topic

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
countries?string

Comma-separated list of ISO 3166-1 alpha-2 country codes to filter prompts by target market

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"
status?string

Filter by prompt lifecycle status

Value in"active" | "paused"
tags?|

Comma-separated list of user-defined tags to filter prompts

tagsMatchMode?string

How to match tags: 'any' returns prompts with at least one selected tag (OR), 'all' returns prompts with every selected tag (AND). Defaults to 'any'.

Value in"all" | "any"

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://app.useomnia.com/api/v1/topics/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 software for small businesses?",
        "tags": [
          "product",
          "high-priority"
        ],
        "topicId": "550e8400-e29b-41d4-a716-446655440001",
        "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"
  }
}