Get raw competition results (prompts and responses) for a topic
X-API-Key<token>API Key for programmatic access
domainId*stringDomain ID
topicId*stringTopic ID
startDate?stringStart date for the report range (ISO 8601). On aggregated endpoints, omit to default to the last 6 months (there is no "all time"); an explicit start is honoured at any length.
endDate?stringEnd date for the report range (ISO 8601). Defaults to now when omitted.
models?array<string>Filter by specific models
topicId?stringFilter by specific topic ID
promptId?stringFilter raw results to a single prompt ID. Used by the sentiment heatmap drawer to lazy-load one cell's LLM response instead of bundling all responses in the aggregate.
includeVariation?booleanInclude variation calculation comparing to previous period
truepage?numberPage number for paginated responses
1 <= value1limit?numberItems per page for paginated responses
1 <= value <= 10050marketLanguageCodePairId?stringFilter by specific market/language pair ID
tagIds?array<string>Filter by tag IDs (visibility_result joined with prompt_tag)
Paginated raw competition results with prompts and responses
application/json- response
results*array<>Array of raw competition results
pagination*Pagination metadata
curl -X GET 'https://api.getmint.ai/api/domains/507f1f77bcf86cd799439011/topics/507f1f77bcf86cd799439012/competition/raw-results'{ "results": [ { "id": "507f1f77bcf86cd799439011-0", "prompt": "Compare Stripe vs PayPal for payment processing", "response": "When comparing Stripe and PayPal...", "model": "chatgpt", "name": "Stripe", "competitor": "PayPal", "topicName": "Payment Processing", "winner": "brand", "winnerReasoning": "Stripe offers superior developer experience and documentation", "strengths": [ "Developer experience", "API documentation" ], "weaknesses": [ "Higher pricing for small businesses" ], "reportDate": "2025-03-15T10:30:00.000Z", "reportId": "507f1f77bcf86cd799439011" } ], "pagination": { "page": 1, "limit": 50, "total": 12, "totalPages": 1 }}