cURL
curl --request GET \ --url https://server.promptwatch.com/api/v2/content-gap/prompts/{promptId}/latest \ --header 'X-API-Key: <api-key>'
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "contentCoverageScore": 123, "explanation": "<string>", "report": "<string>", "sources": [ { "url": "<string>", "title": "<string>", "snippet": "<string>" } ], "queryFanouts": [ "<string>" ], "sitemapTotalUrls": 123, "sitemapCrawledUrls": 123, "createdAt": "2023-11-07T05:31:56Z", "recommendations": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "title": "<string>", "action": "CREATE", "details": "<string>", "priority": 123, "queryFanouts": [ "<string>" ], "suggestedSections": [ "<string>" ], "targetSources": [ { "url": "<string>", "title": "<string>", "snippet": "<string>" } ], "impact": "HIGH", "effort": "QUICK_WIN", "contentType": "ARTICLE" } ] }
Get the latest content coverage result for a prompt. Returns null if the prompt exists but has no content coverage yet.
API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.
Default Response
Show child attributes