On-demand full AI response with mention/citation attribution.
const url = 'https://sitechecker.pro/api/v1/ai-visibility/ai-chats/response-detail?project_id=12345&response_id=example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://sitechecker.pro/api/v1/ai-visibility/ai-chats/response-detail?project_id=12345&response_id=example' \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Example
12345Project ID.
Set to “text” to include the full answer text.
Responses
Section titled “Responses”AI Chats response detail
object
On-demand full AI response with owner/competitor mention attribution and inline citations. response_text is returned only with fields=text.
object
A single brand-mention attribution entry for one response.
object
One inline citation from a response. competitor_* keys are present only when is_competitor=true; owner_domain only when is_yours=true. No title field; snippet carries the cited excerpt.
object
Present only when is_competitor=true.
Present only when is_competitor=true.
Present only when is_competitor=true.
Present only when is_yours=true.
Only with fields=text. Full answer with highlight annotations stripped.
Example
{ "data": { "response_id": "MTIzNDU6MjAyNi0wNS0yMg", "prompt": "best seo audit tool", "ai_model": "chatgpt", "country": "US", "received_at": "2026-05-22", "competitors_mentioned": [ "ahrefs.com", "semrush.com" ], "your_mentions_count": 2, "competitor_mentions_count": 5, "brand_mentions": [ { "entity_type": "owner", "entity_key": "ahrefs.com", "entity_label": "Ahrefs", "count": 2, "is_owner": false, "is_competitor": true } ], "sources_total": 9, "your_citations_count": 1, "competitor_citations_count": 4, "citations": [ { "domain": "ahrefs.com", "url": "https://ahrefs.com/seo", "snippet": "Ahrefs Site Audit crawls your website...", "source_order": 1, "is_yours": false, "is_competitor": true, "competitor_id": 456, "competitor_domain": "ahrefs.com", "competitor_brand": "Ahrefs", "owner_domain": "example.com" } ] }}Missing or invalid API key
object
object
Example
{ "error": { "code": "unauthorized", "message": "Invalid or missing API key." }}No active API entitlement for the account, or the project belongs to another account
Returned as api_access_denied when the account has no active API entitlement, and as forbidden when the requested project belongs to another account.
object
object
Example
{ "error": { "code": "api_access_denied", "message": "API access is not available: the account has no active API entitlement." }}Project or AI Chats response not found
The exact missing resource is in error.code: project_not_found, segment_not_found, crawl_not_found, keyword_not_found, opportunity_not_found, snapshot_unavailable or not_found.
object
object
Example
{ "error": { "code": "project_not_found", "message": "Project not found." }}Validation error
Rejected query parameters. error.code is validation_error for parameter validation, or invalid_date_range / invalid_filter / invalid_event_type / unsupported_filter / unsupported_dimension / unsupported_scope / segment_filter_unsupported for module-specific rules.
object
object
Example
{ "error": { "code": "validation_error", "message": "project_id is required." }}Rate limit exceeded — retry after the interval in the Retry-After header
object
object
Example
{ "error": { "code": "rate_limit_exceeded", "message": "Rate limit exceeded. Try again later." }}Internal server error
object
object
Example
{ "error": { "code": "internal_error", "message": "Internal server error." }}