Campaign Stats
Stats

Conversation Outcome Mapping Stats

Changed on

Get 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 URL
    https://api-qa.interactly.ai
  • URL
    https://api-qa.interactly.ai/campaigns/v1/stats/outcomes/{template}
  • Auth
    HTTP 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

messagestring required

Result description

Example response

{
  "message": "Stats fetched successfully."
}

Changes