Agent
Overview
Changed onRetrieves the AI assistants activity overview (summary cards and activity-over-time chart)
get/projects/{project_id}/agent/analytics
Request
- Base URLhttps://api.beyondwords.io/v1
- URLhttps://api.beyondwords.io/v1/projects/{project_id}/agent/analytics
- AuthAPI key in header X-Api-Key
Query parameters
agent_type'conversational_agent' | 'ai_assistant' required
aggregation'all' | 'day'
The way to aggregate the analytics. Possible values are all (aggregate all data together),
year (aggregate data on a yearly basis), month (aggregate data on a yearly basis),
week (aggregate data on a yearly basis), day (aggregate data on a yearly basis), or hour
(aggregate data on an hourly basis, limited to a time_range 7 days or less).
time_range[start]string
The start date of the aggregation period. The value of this property should be a string in the format yyyy-mm-dd according to ISO 8601.
time_range[end]string
The end date of the aggregation period. The value of this property should be a string in the format yyyy-mm-dd according to ISO 8601. If this is set to today, the current day is still in progress and therefore only partial analytics data is returned until the day ends.
metrics[]string[]
The metrics that you want to fetch data for
access_tiers[]string[]
The access tiers to fetch data for
filter[tool_name]string
Response
OK
Changes
- info
endpoint added
- info