API

Prompts

List monitoring prompts and quality scores

Prompts are the questions sent to AI platforms to monitor your brand's visibility. Each prompt is linked to a property and optionally categorised by topic.

List Prompts

GET /v1/prompts

Returns active monitoring prompts scoped to the API key's allowed properties. Ordered by creation date, newest first.

  • Keys with all properties access return prompts across every property on the team
  • Scoped keys return only prompts for their authorised properties

Headers

HeaderValueRequired
AuthorizationBearer hdg_sk_live_...Yes

Example

curl https://api.useheading.com/v1/prompts \
  -H "Authorization: Bearer hdg_sk_live_abc123..."

Response — 200 OK

{
  "data": [
    {
      "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "text": "What is the best SEO tool for enterprise?",
      "category": "SEO Tools",
      "qualityScore": 85,
      "property": {
        "id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
        "name": "Acme Corp"
      },
      "createdAt": "2026-03-15T00:00:00.000Z"
    }
  ],
  "total": 1
}

Response fields

FieldTypeDescription
idstringCanonical prompt UUID
textstringThe prompt text sent to AI platforms
categorystring or nullTopic category (e.g. "SEO Tools", "Brand Comparison")
qualityScorenumber or nullPrompt quality score (0-100)
propertyobjectThe property this prompt monitors
property.idstringProperty UUID
property.namestringProperty display name
createdAtstringISO 8601 creation timestamp

Error responses

StatusCodeWhen
401MISSING_AUTHNo Authorization header
401INVALID_KEYInvalid or revoked API key
429rate_limit_exceededRate limit exceeded (100 req/min)
500INTERNAL_ERRORServer error