Campaign Stats
Stats
Conversation Outcome Mapping Stats
Changed onGet conversation counts bucketed by outcome category and sub category, based on the team's configured outcome mapping for the given template.
- template: Outcome mapping template to bucket outcomes by.
- start / end: ISO 8601 date range filter applied to conversation start time.
- assistantIds: Optional, repeatable. Falls back to the template's saved assistantIds, then to all assistants.
Returns an empty list if the team has no outcome mapping configured yet.
get/campaigns/v1/stats/outcomes/{template}
Request
- Base URLhttps://api-qa.interactly.ai
- URLhttps://api-qa.interactly.ai/campaigns/v1/stats/outcomes/{template}
- AuthHTTP bearer
Path parameters
template'template_v1' | 'template_v2' required
Outcome mapping template to bucket outcomes by
Query parameters
assistantIdsstring[] nullable
Restrict to these assistants. Repeat: ?assistantIds=<id1>&assistantIds=<id2>.
sizeinteger
Number of items per page
pageinteger
Page number
searchstring nullable
Search keywords
startstring date-time nullable
Filter by start time (ISO 8601 format)
endstring date-time nullable
Filter by end time (ISO 8601 format)
Response
Conversation counts grouped by outcome category and sub category
Example response
{
"message": "Stats fetched successfully."
}Changes
- info
added the new optional
queryrequest parameterassistantIds
- info
- info
added the new enum value
template_v2to thepathrequest parametertemplate
- info