Skip to main content
GET
/
content-gap
/
prompts
/
{promptId}
/
latest
/
recommendations
Content Recommendations
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."
        }
      ]
    }
  ]
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Get yours from the Promptwatch dashboard under Settings > API Keys.

Path Parameters

promptId
string<uuid>
required

Prompt identifier

Response

Default Response

promptId
string<uuid>
required

Prompt identifier

prompt
string
required

Prompt text

contentCoverageScore
number | null
required

Latest score; null if never analyzed

recommendations
object[]
required

Recommendations from the latest run