Get paginated content gaps across all topics of a domain
Computes per-(topic, prompt) gaps where the brand is under-mentioned and returns them paginated and sorted by gap percentage. Filter by topicId/search/models; pass gapId to resolve a single gap for deep-linking.
X-API-Key<token>API Key for programmatic access
domainId*stringID of the domain
startDate?stringStart date for the gap window (ISO 8601). Omit to default to the last 6 months; an explicit start is honoured at any length.
endDate?stringEnd date for the gap window (ISO 8601). Defaults to now when omitted.
models?array<string>Filter by specific models. Models are evaluated against the unfiltered result set.
topicId?stringRestrict gaps to a single topic ID
search?stringCase-insensitive substring match on the prompt or topic name
gapId?stringLook up a single gap by its stable id (used for deep-linking). When set, pagination is ignored and the response contains at most one item.
page?numberPage number for paginated responses
1 <= value1limit?numberItems per page for paginated responses
1 <= value <= 10020Paginated content gaps with pagination metadata and available models
application/json- response
items*array<>Content gaps for the current page
pagination*Pagination metadata
availableModels*array<string>All models present in the domain results (independent of the model filter)
curl -X GET 'https://api.getmint.ai/api/domains/507f1f77bcf86cd799439011/content-gaps'{ "items": [ { "id": "dG9waWMxOjpXaGF0IGlzIHRoZSBiZXN0IENSTT8", "topicId": "string", "topicName": "CRM Software", "topicIcon": "string", "prompt": "What is the best CRM for startups?", "promptIds": [ "3fa85f64-5717-4562-b3fc-2c963f66afa6" ], "gapPercentage": 80, "responseCount": 4, "totalResponses": 5, "lastSeen": "2019-08-24T14:15:22Z", "citations": [ { "url": "https://example.com/guide", "title": "Best CRMs Compared", "domain": "example.com" } ], "queries": [ "string" ] } ], "pagination": { "page": 1, "limit": 50, "total": 24, "totalPages": 1 }, "availableModels": [ "string" ]}