AI Prompt Research
POST /v1/workflows/ai-prompt-map
Gather search and audience evidence that your agent can turn into buyer-question clusters and a prompt list to measure.
Workflow tools run applicable source checks in parallel and return results labeled per source. Your agent or application uses that evidence to produce the final analysis, prompt set or brief. Pricing is calculated from the primitives that ran successfully plus the selected model rates: failed or skipped steps are not charged.
What to provide
Provide a market or topic. Add an audience, brand and competitors to focus the questions. Optionally choose the keyword-data country, trend window and AI surfaces.
Sources included
Adds search volume, CPC, competition, and related keyword ideas.
Returns: Monthly search volume and cost per click when available. Paid competition metrics for the selected market.
Shows whether demand is rising, flat, or fading.
Returns: Relative search interest over the selected time window. A rising, falling or stable direction label.
Shows what AI models already say about the topic.
Returns: An answer for each selected surface, with its success or failure status. Cited source URLs and available source titles, grouped by answer.
Finds which sources AI models cite and where your site is missing.
Returns: Source URLs, available titles and the AI surfaces that cited each source. Citation counts across the returned answers.
Adds what people discuss on Reddit about the topic.
Returns: Relevant threads with source URLs and cited summaries. Available post text, authors, relative ages and engagement fields from read pages.
Adds video angles, title patterns, and creator-market signals.
Returns: Rising videos and available engagement statistics. Title patterns, creator angles and channel examples.
What you get back
Ask your agent to group candidate questions by buyer intent, explain the supporting evidence and propose a short prompt set for measurement.
The response contains a results entry per planned step:
- Each entry identifies its endpoint, purpose and success status.
- Successful steps include their source data.
- Failed or skipped steps include a reason.
- AI answers and long lists may be shortened in workflow results.
Reading the results
The evidence supports candidate prompts; it does not report how often people submit those exact prompts to AI products. No tracker is created or activated by this workflow.
Check each step's ok, skipped and partial fields before using its data. A successful HTTP response can contain failed steps. Do not treat missing sources as evidence of no demand or no citations.
Example request
Send this request with your API key in CITE42_API_KEY. Adjust the JSON inputs for your question and market.
curl https://www.cite42.dev/api/v1/workflows/ai-prompt-map \
-X POST \
-H "Authorization: Bearer $CITE42_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"topic": "AI-powered CRM",
"audience": "startup teams",
"competitors": [
"Rival CRM",
"Legacy CRM"
]
}'Parameters
Example response
Illustrative JSON. Data and model coverage vary by request; billing reflects the work that succeeded.
{
"status": "workflow_result",
"workflow": "map_ai_prompts",
"summary": "Discover buyer and market prompts worth tracking.",
"input": {
"topic": "AI-powered CRM",
"audience": "startup teams",
"competitors": [
"Rival CRM",
"Legacy CRM"
]
},
"results": [
{
"endpoint": "/v1/reddit/trends",
"tool": "cite42_reddit_trends",
"why": "Add what people discuss on Reddit, as summarized threads with source links.",
"data": {
"topic": "AI-powered CRM",
"timeframe": "past_30_days",
"provider": "reddit",
"subredditsSearched": [
"SaaS",
"sales"
],
"relevantThreads": [
{
"title": "Which AI CRM works for a small sales team?",
"subreddit": "SaaS",
"url": "https://www.reddit.com/r/SaaS/comments/example/which_ai_crm_works_for_a_small_sales_team/",
"permalink": "https://www.reddit.com/r/SaaS/comments/example/which_ai_crm_works_for_a_small_sales_team/",
"score": null,
"comments": null,
"createdAt": null,
"dateSource": "unknown",
"textSource": "gemini_url_context",
"excerpt": "We are a small sales team comparing AI CRMs. What was easiest to set up?",
"author": "example_founder",
"ageText": "2d ago",
"withinTimeframe": null,
"sampledComments": [
{
"author": "example_reader",
"ageText": "1d ago",
"text": "Setup time mattered more to our team than extra features."
}
],
"summary": "A thread on r/SaaS compares AI CRMs for small sales teams, with replies weighing quick setup against price per seat.",
"citationUrl": "https://vertexaisearch.cloud.google.com/grounding-api-redirect/example-1",
"titleSource": "gemini_url_context"
},
{
"title": "crm onboarding takes too long for our team",
"subreddit": "sales",
"url": "https://www.reddit.com/r/sales/comments/example2/crm_onboarding_takes_too_long_for_our_team/",
"permalink": "https://www.reddit.com/r/sales/comments/example2/crm_onboarding_takes_too_long_for_our_team/",
"score": null,
"comments": null,
"createdAt": null,
"dateSource": "unknown",
"textSource": "google_grounded_summary",
"excerpt": "",
"author": null,
"ageText": null,
"withinTimeframe": null,
"sampledComments": [],
"summary": "A discussion on r/sales describes CRM onboarding that takes weeks for a two-person team and asks for lighter alternatives.",
"citationUrl": "https://vertexaisearch.cloud.google.com/grounding-api-redirect/example-2",
"titleSource": "url_slug"
}
],
"risingThreads": [
{
"title": "Which AI CRM works for a small sales team?",
"subreddit": "SaaS",
"url": "https://www.reddit.com/r/SaaS/comments/example/which_ai_crm_works_for_a_small_sales_team/",
"permalink": "https://www.reddit.com/r/SaaS/comments/example/which_ai_crm_works_for_a_small_sales_team/",
"score": null,
"comments": null,
"createdAt": null,
"dateSource": "unknown",
"textSource": "gemini_url_context",
"excerpt": "We are a small sales team comparing AI CRMs. What was easiest to set up?",
"author": "example_founder",
"ageText": "2d ago",
"withinTimeframe": null,
"sampledComments": [
{
"author": "example_reader",
"ageText": "1d ago",
"text": "Setup time mattered more to our team than extra features."
}
],
"summary": "A thread on r/SaaS compares AI CRMs for small sales teams, with replies weighing quick setup against price per seat.",
"citationUrl": "https://vertexaisearch.cloud.google.com/grounding-api-redirect/example-1",
"titleSource": "gemini_url_context"
},
{
"title": "crm onboarding takes too long for our team",
"subreddit": "sales",
"url": "https://www.reddit.com/r/sales/comments/example2/crm_onboarding_takes_too_long_for_our_team/",
"permalink": "https://www.reddit.com/r/sales/comments/example2/crm_onboarding_takes_too_long_for_our_team/",
"score": null,
"comments": null,
"createdAt": null,
"dateSource": "unknown",
"textSource": "google_grounded_summary",
"excerpt": "",
"author": null,
"ageText": null,
"withinTimeframe": null,
"sampledComments": [],
"summary": "A discussion on r/sales describes CRM onboarding that takes weeks for a two-person team and asks for lighter alternatives.",
"citationUrl": "https://vertexaisearch.cloud.google.com/grounding-api-redirect/example-2",
"titleSource": "url_slug"
}
],
"repeatedQuestions": [],
"painPoints": [],
"repeatedPhrases": [],
"mentionedProducts": [],
"analysis": {
"status": "complete",
"candidateCount": 6,
"relevantCount": 2,
"evidenceType": "grounded_summary"
},
"subredditBreakdown": [
{
"subreddit": "SaaS",
"posts": 1,
"totalScore": null,
"totalComments": null
},
{
"subreddit": "sales",
"posts": 1,
"totalScore": null,
"totalComments": null
}
],
"collection": {
"gemini": "ok",
"rss": "not_requested"
},
"coverage": {
"threadsFound": 2,
"pagesAttempted": 2,
"pagesRead": 1,
"threadsWithAge": 1,
"threadsWithinTimeframe": 0,
"threadsOutsideTimeframe": 0,
"threadsWithUnknownTimeframe": 2,
"threadsWithScore": 0,
"threadsWithCommentCount": 0,
"commentsRetrieved": 1,
"readingStatus": "partial"
},
"warnings": [
"Page fields and sampled comments were read by Gemini URL context, which may use cached pages. They are not independently verified quotes or current metrics.",
"Only 1 of 2 threads were read; unread threads retain model summaries and unavailable page fields.",
"Exact publication dates are unavailable. Quote-based insight arrays remain empty; sampled comments have not been analyzed for repeated questions, pain points or products.",
"Timeframe membership is unknown for 2 threads; apparently recent cached ages do not establish current recency.",
"Some thread scores or total comment counts were unavailable."
],
"sourceUrls": [
"https://www.reddit.com/r/SaaS/comments/example/which_ai_crm_works_for_a_small_sales_team/",
"https://www.reddit.com/r/sales/comments/example2/crm_onboarding_takes_too_long_for_our_team/"
],
"fetchedAt": "2026-07-20T12:00:00.000Z"
},
"ok": true
}
],
"suggestedPrompt": "Cluster these questions by intent and prioritize prompts to track."
}Billing
Up to $0.82 for the full workflow at all-model rates. The actual charge adds successful source checks and selected model rates. Failed and skipped steps are free.