AI visibility - snapshots

Returns the AI-visibility history for a tracked query - one snapshot per engine per check. Each snapshot records whether your domain was mentioned, where it appeared in the cited sources, and the full AI answer text. Use it to chart AI-visibility trends.

GET/ai-visibility/queries/{query_id}/snapshots

Query parameters

ParameterTypeDescription
enginestringFilter to one engine: `google_ai`, `perplexity`, `gemini`, `chatgpt` or `claude`.
date_fromstringStart date (YYYY-MM-DD), inclusive.
date_tostringEnd date (YYYY-MM-DD), inclusive.
pageintegerPage number. Defaults to `1`.
per_pageintegerItems per page (max 100). Defaults to `50`.

Example request

cURL
curl "https://api.oneclickseo.ai/v1/ai-visibility/queries/aiq_2f7b/snapshots?engine=perplexity" \
  -H "Authorization: Bearer YOUR_API_KEY"

Response

200AI-visibility snapshots
Response
{
  "data": [
    {
      "engine": "perplexity",
      "checked_at": "2026-06-15T05:00:00Z",
      "mentioned": true,
      "mention_position": 2,
      "mention_text": "...according to mysite.com, the best option is...",
      "total_sources": 8,
      "all_sources": ["mysite.com", "competitor.com", "wikipedia.org"],
      "ai_answer_text": "The best project management software depends on..."
    }
  ],
  "meta": { "page": 1, "per_page": 50, "total": 30, "total_pages": 1 }
}
Snapshot fields
ParameterTypeDescription
enginestringThe AI engine checked.
checked_atstringISO-8601 timestamp of the check.
mentionedbooleanWhether the tracked domain was cited in the answer.
mention_positionintegerOrder of the domain in the cited sources, or `null` if not mentioned.
mention_textstringThe surrounding text where the domain was cited.
total_sourcesintegerNumber of sources cited in the AI answer.
all_sourcesstring[]All domains cited in the answer.
ai_answer_textstringThe full AI-generated answer.