Get Aspect Scores Overtime

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…

Description


Returns aspect sentiment scores over time. Supports two query modes
based on the provided parameters.

Mode 1: Managed Surveys — By Rake IDs (when rakeIds is provided)

Fetches aspect scores for each specified cycle.

  • rakeIds (number[], required) — List of rake IDs to retrieve scores
    for
  • aspectIds (string[], optional) — Filter results to specific aspects
  • tags (optional) — Filter by tags
  • tagsToInclude (string, optional) — Additional tag inclusion filter

Mode 2: Post Interaction Surveys — By Date Range

Fetches aspect scores aggregated over a time range, grouped by
granularity.

  • startDate (string/date, required) — Start of the date range

  • endDate (string/date, required) — End of the date range

  • surveyId (string, required) — Survey to query

  • groupBy (Granularity enum, required) — Time grouping granularity
    (e.g. day, week, month)

  • aspectIds (string[], optional) — Filter results to specific aspects

  • tags (optional) — Filter by tags

  • tagsToInclude (string, optional) — Additional tag inclusion filter

    Response: OverTimeAspectScoresByRakeIdResponse — a map of time-period
    keys to aspect score results.

    ▎ Note: In date-range mode, if the survey's creation date is later
    than startDate, the effective start date is automatically adjusted to
    the survey creation date.

Query Params
string

Post Interaction Survey Id

date

Start Date ISO format e.g. 2026/02/25

date

Start Date ISO format e.g. 2026/02/27

json

Represents the filter tags {"serviceType": ["id1", "id2", ...]}

json

Represents the selected tags to include in response e.g. {"serviceType": ["id3"]}

aspectIds
array of strings

Represents the aspect ids for score calculation calculate scores

aspectIds
string
enum

[Only for non-representative surveys] Represents the granularity of the data. splits the date range to smaller date ranges with the selected granularity

Allowed:
rakeIds
array of strings

[Managed surveys only] Array of cycle ids

rakeIds
Headers
string
enum
Defaults to application/json

Generated from available response content types

Allowed:
Response

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json
text/plain