API

Prompts

List monitoring prompts, tags, and quality scores

Prompts are the questions sent to AI platforms to monitor your brand's visibility. Each prompt belongs to a property and carries that property's tags.

List prompts

GET /v1/prompts

Returns active monitoring prompts for paid properties in the API key's scope. Ordered by creation date, newest first.

Headers

HeaderValueRequired
AuthorizationBearer hdg_sk_live_...Yes

Query parameters

ParameterTypeDescription
propertyIdstringReturn prompts for one property only.
limitintegerMaximum results per page. Default: 100, max: 1000.
offsetintegerRows to skip. Default: 0.

Example

curl "https://api.useheading.com/v1/prompts?propertyId=f1e2d3c4-b5a6-7890-abcd-ef1234567890" \
  -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?",
      "tags": [
        {
          "id": "c9d8e7f6-a5b4-3210-abcd-ef1234567890",
          "name": "Comparison",
          "color": "#4F46E5"
        }
      ],
      "qualityScore": 85,
      "property": {
        "id": "f1e2d3c4-b5a6-7890-abcd-ef1234567890",
        "name": "Acme Corp"
      },
      "createdAt": "2026-03-15T00:00:00.000Z"
    }
  ],
  "total": 1
}

Response fields

FieldTypeDescription
idstringPrompt UUID. Matches promptId on /v1/visibility and /v1/responses.
textstringThe prompt text sent to AI platforms
tagsobject[]Tags on this prompt
tags[].idstringTag UUID
tags[].namestringTag name
tags[].colorstring or nullTag colour (hex)
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
400INVALID_PARAMInvalid query parameter
401MISSING_AUTHNo Authorization header
401INVALID_AUTHHeader is not Bearer {key}
401INVALID_KEYInvalid or revoked API key
429RATE_LIMIT_EXCEEDEDRate limit exceeded (100 req/min)
500INTERNAL_ERRORServer error