API Reference
Generate prompts for mini audit
Generate analysis prompts based on brand and topic information. Returns prompts for visibility, competition, sentiment, and alignment analysis. Use isOnboarding=true for 5 visibility prompts, false for 8.
POST
header
X-API-Key<token>API Key for programmatic access
application/json- body
domainInfo*Domain information
topicInfo*Topic information
isOnboarding?booleanWhether this is for onboarding (5 visibility prompts) or app (8 visibility prompts)
Default
falseMini audit prompts generated
application/json- response
visibilityPrompts*array<string>Visibility prompts (5 for onboarding, 8 for app)
competitionPrompts*array<string>Competition analysis prompts
sentimentPrompts*array<string>Sentiment analysis prompts
alignmentPrompts*Alignment prompts structure
curl -X POST 'https://api.getmint.ai/api/domains/mini-audit/generate-prompts' \ -H 'Content-Type: application/json' \ -d '{ "domainInfo": { "url": "https://example.com", "name": "Example Corp" }, "topicInfo": { "name": "Cloud Services", "keywords": [ "cloud", "hosting", "infrastructure" ] }}'Example Response
{ "visibilityPrompts": [ "What are the best cloud providers?", "Which company offers..." ], "competitionPrompts": [ "Compare Example Corp with its competitors..." ], "sentimentPrompts": [ "How do users feel about Example Corp?" ], "alignmentPrompts": { "global": [ { "prompt": "Describe the Nike brand and what it stands for." } ], "withAttributes": [ { "attribute": "innovative", "prompt": "Is Nike known for innovation in athletic footwear?" } ] }}