cURL
curl --request GET \ --url https://server.promptwatch.com/api/v2/content-gap/prompts/{promptId}/latest/recommendations \ --header 'X-API-Key: <api-key>'
{ "promptId": "6ba7b823-9dad-11d1-80b4-00c04fd430c8", "prompt": "Best CRM for 50-person services firms?", "contentCoverageScore": 0.64, "recommendations": [ { "id": "6ba7b827-9dad-11d1-80b4-00c04fd430c8", "title": "Publish integrations matrix", "action": "OPTIMIZE", "details": "Illustrative detail text.", "priority": 2, "impact": "MEDIUM", "effort": "QUICK_WIN", "contentType": "LISTICLE", "queryFanouts": [ "crm integrations list" ], "suggestedSections": [ "Compare", "Sources" ], "targetSources": [ { "url": "https://docs.example.com/integrations", "title": "Integrations", "snippet": "Illustrative." } ] } ] }
Get content recommendations from the latest content gap analysis for a prompt
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Prompt identifier
Default Response
Prompt text
Latest score; null if never analyzed
Recommendations from the latest run
Show child attributes