Skip to content
Console

Get the AI conversation summary

GET
/api/v1/analytics/ai-conversations/summary
curl --request GET \
--url 'https://api.inside.chat/api/v1/analytics/ai-conversations/summary?website_id=example&range=today' \
--header 'Authorization: Bearer <token>'

Required scopes: reports_read, conversation_read
Data access: –
MCP tool: ai_conversation_summary

Summarize AI-evidenced conversations for an explicitly granted website and a bounded historical period. Current channel, team and subsite restrictions apply. Content-derived, language and operator measures can be unavailable under the current data policy. This does not cover all conversations.

website_id
required
string
/^web_[0-9]{1,20}_[1-9][0-9]{0,18}$/

An explicitly granted website.

range
string
Allowed values: today last-7-days last-month date
start
string
/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/
end
string
/^[0-9]{4}-[0-9]{2}-[0-9]{2}$/
timezone
string
>= 1 characters <= 100 characters /^[A-Za-z0-9_+/-]+$/

Authorized result. Projection depends on current scopes and data policy.

Media typeapplication/json

Aggregates over AI-evidenced conversations only. Content-derived measures are null, never zero, without the required access.

object
data
required
object
meta
required
object
coverage
required
Allowed value: ai_evidenced_conversations
range
string
Allowed values: today last-7-days last-month date
start
string
end
string
time_zone

The website IANA time zone.

string
generated_at
string
source
Any of:
string
truncated
Any of:
string
cache_seconds
Any of:
string
restriction_dimensions
required

Installation restriction dimensions applied before aggregation.

Array<string>
data_access
required
object
content_derived_measures
required
boolean
language_labels
required
boolean
operator_labels
required
boolean
website
object
id
Any of:
string
name
Any of:
string
headline
required
object
ai_conversations
Any of:
number
ai_touched_visitors
Any of:
number
ai_assisted_conversations
Any of:
number
ai_customer_facing_conversations
Any of:
number
human_escalations
Any of:
number
summary
required
object
series
required
object
volume
required
Any of:

Conversation volume by day. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
volume_hourly
required
Any of:

Conversation volume by hour. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
platform
required
Any of:

Volume by platform. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
topics
required
Any of:

Needs content access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
language
required
Any of:

Needs PII access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
sentiment
required
Any of:

Needs content access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
resolution
required
Any of:

Needs content access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
operators
required
Any of:

Needs directory_read and PII access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
metrics
required
object
message_count
Any of:
number
visitor_message_count
Any of:
number
bot_message_count
Any of:
number
operator_message_count
Any of:
number
first_response_seconds
Any of:
number
first_response_count
Any of:
number
speed_response_seconds
Any of:
number
speed_response_count
Any of:
number
average_response_seconds
Any of:
number
duration_seconds
Any of:
number
classified_count
Any of:
number
resolved_count
Any of:
number
first_contact_count
Any of:
number
first_contact_resolved
Any of:
number
sentiment_average
Any of:
number
confidence_average
Any of:
number
confidence_count
Any of:
number
ratings
required
Any of:

Star ratings. Needs content access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
outcomes
required
Any of:

Outcomes. Needs content access. Each bucket is a [label, count] pair. null when the credential lacks the required access.

Array<array>
duration_by_platform
required
Array<object>
object
platform
required
string
conversation_count
Any of:
number
sample_count
Any of:
number
average_seconds
Any of:
number

Example

{
"data": {
"meta": {
"coverage": "ai_evidenced_conversations",
"range": "today"
}
}
}

Invalid, duplicate or unsupported request parameters.

Missing, expired or revoked installation credential.

Resource not found or not permitted by current authority.

The requested capability is not available for application installations.

Per-app quota exceeded.

Retry-After
integer
>= 1

Enrollment, native service or required authority is unavailable.