Help CenterVying
Open Vying
Menu

Get Prompt Snapshot

GET/prompts/{promptId}/snapshot

Get an aggregated snapshot of mention and citation analytics for a specific prompt over a date range. Use this to identify competitive gaps, track brand visibility trends, and discover top cited URLs.

Needs read access. About keys

Request

curl "https://app.vyingfor.com/api/v1/prompts/{promptId}/snapshot?startDate=2026-01-08&endDate=2026-01-15" \
  -H "Authorization: Bearer YOUR_API_KEY"

Parameters

NameInTypeDescription
promptId requiredPathstring

The ID of the prompt.

startDate requiredQuerystring

Start of date range (YYYY-MM-DD).

endDate requiredQuerystring

End of date range (YYYY-MM-DD).

kMentionsQueryinteger

Number of top competitor entities to return in mentionsTopK Default 5. Up to 50.

kCitationsQueryinteger

Number of top cited URLs to return in citedUrlsTopK Default 10. Up to 50.

Response

200 Prompt snapshot with mention and citation analytics

FieldTypeDescription
brandIdstring

Brand identifier this prompt belongs to.

promptIdstring

Unique identifier for the prompt.

promptValuestring

The prompt text.

startDatestring

Start of the queried date range (YYYY-MM-DD).

endDatestring

End of the queried date range (YYYY-MM-DD).

mentionsMentionsSummary

Aggregated mention counts for a prompt across its evaluation runs.

sentimentSentimentSummary

Experimental — the shape may still change.

Answers that mention the company, by the mention judge's sentiment toward it. An answer that only links to the company counts in none. All zero for history the judge hasn't re-judged yet. Counted over every answer in the window, unlike visibility.current and the share-of-voice mentions and share, which count each prompt's latest result.

positionPosition

Experimental — the shape may still change.

The company's position among the tracked companies the answers name, 1 being named first. Companies that aren't tracked aren't ranked. Counted over every answer in the window, unlike visibility.current and the share-of-voice mentions and share, which count each prompt's latest result.

citationsobject

Errors