List AI answers
Retrieve a paginated list of AI answers for the given prompt. Pagination in this endpoint is not 100% accurate and pages might have fewer items than initially requested. For the same reason, the real total number of items can be lower than the one reported in responses
Authorization
BearerAuth API token authentication. Use format: Bearer ot_your-token-here
In: header
Path Parameters
Unique identifier for the prompt
uuidQuery Parameters
Page number (1-indexed)
11 <= valueNumber of items per page
201 <= value <= 100Start date for filtering data (ISO 8601 date format). Range is inclusive.
dateEnd date for filtering data (ISO 8601 date format). Range is inclusive.
dateFilter results by specific AI engine. Omit to return answers from all supported engines
"google-ai-overviews" | "google-ai-mode" | "perplexity" | "openai" | "gemini" | "grok" | "copilot" | "claude" | "bing-ai-mode"Field to sort results by
"created_at" | "execution_date" | "share_of_voice" | "mentioned" | "engine_id"Direction to sort results
"desc""asc" | "desc"Filter to only show answers where the tracked brand was mentioned
Comma-separated list of normalized brand names to filter by. Only answers mentioning these brands are returned. Use the availableBrands keys from filterOptions in the response to discover valid values
Comma-separated list of domains to filter by. Only answers citing these domains are returned. Use availableCitations from filterOptions in the response to discover valid values
Filter by feature attribution using colon-delimited format: featureName:brandName:sentiment. At least one segment must be provided. Segments can be omitted from the right, or left empty to skip. All values must be normalized (lowercased, no diacritics or special characters). Valid sentiment values: endorsed, undermined, neutral. Use availableFeatures from filterOptions in the response to discover valid features. Examples: 'pricing' (feature only), 'pricing:acme' (feature + brand), 'pricing:acme:endorsed' (all three), '::undermined' (sentiment only), ':acme:endorsed' (brand + sentiment)
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://app.useomnia.com/api/v1/prompts/550e8400-e29b-41d4-a716-446655440000/ai-answers?startDate=2026-01-01&endDate=2026-01-31"{
"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": {
"answers": [
{
"id": 12345,
"engine": "openai",
"createdAt": "2026-01-01T09:30:00Z",
"hasAnswer": true,
"domains": [
"acme.com",
"example.com"
],
"shareOfVoice": 0.25,
"mentioned": true,
"mentionedBrands": [
"Brand 1",
"Brand 2",
"Brand 3"
],
"sentiment": {
"endorsed": 2,
"undermined": 1,
"neutral": 3
}
}
],
"filterOptions": {
"availableBrands": {
"property1": {
"domain": "acme.com",
"name": "Acme Corporation"
},
"property2": {
"domain": "acme.com",
"name": "Acme Corporation"
}
},
"availableCitations": [
"acme.com",
"example.com"
],
"availableFeatures": [
{
"featureName": "pricing",
"brands": [
"acme",
"competitor"
]
}
]
}
}
}{
"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"
}
}