One page of a domain's prompts, across every topic
Returns the prompts of every topic of the domain as flat rows, each carrying the topic it belongs to, with the total matching the filters. Paginate with page and limit, narrow with search and topicIds. Prefer this over reading each topic in turn: it is the only read that does not load a whole brand of prompts to show fifteen.
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
"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
One page of prompts
application/json- response
items*array<>total*numberTotal prompts matching the filters
page*number1-based page index of this result
limit*numberPage size used for this result
curl -X GET 'https://api.getmint.ai/api/domains/3fa85f64-5717-4562-b3fc-2c963f66afa6/topic-prompts'{ "items": [ { "id": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "text": "best refurbished iPhone", "modules": [ "visibility", "shopping" ], "criterion": "pricing", "topicId": "3fa85f64-5717-4562-b3fc-2c963f66afa6", "topicName": "Refurbished smartphones", "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ], "total": 132, "page": 1, "limit": 15}