API Reference
How many prompts each topic of the domain holds
Counts under the same filters as the list, so a topic picker can show its counts without loading the prompts themselves.
GET
header
AuthorizationBearer <JWT>Session JWT signed with HS256. Verification pins the algorithm and rejects expired tokens, per RFC8725.
domainId*stringDomain the prompts belong to
page?number1-based page index; defaults to 1
limit?numberItems per page, between 1 and 500; defaults to 15
type?stringWhich analysis the prompts belong to; defaults to visibility
Value in
"visibility""competition"search?stringCase-insensitive match on the prompt text
topicIds?array<string>Restrict to these topics; repeat the param or pass a comma-separated list
tagIds?array<string>Keep only prompts carrying one of these tags; comma-separated or repeated
modules?array<>Keep only prompts feeding one of these modules; comma-separated or repeated
Counts per topic
curl -X GET 'https://api.getmint.ai/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/topic-prompts/counts'Example Response
Empty