Reports
Reports

Query Sentiment V2

Changed on
post/v1/reports/sentiment-v2

Request

Request body

category_idstring uuid required
asset_namestring required
start_datestring date-time required

Start date for the report. Accepts formats: YYYY-MM-DD, YYYY-MM-DD HH:MM, or full ISO timestamp.

end_datestring date-time required

End date for the report. Accepts formats: YYYY-MM-DD, YYYY-MM-DD HH:MM, or full ISO timestamp.

comparison_start_datestring date-time nullable

Start of the previous period for delta computation.

comparison_end_datestring date-time nullable

End of the previous period for delta computation.

date_interval'hour' | 'day' | 'week' | 'month' | 'quarter' | 'year' | 'relative_week'

Date interval for the report. Only used when dimensions includes date.

dimensionsstring[]

Dimensions to group the report by.

metricsstring[] required
order_byobject

Custom ordering of report results. Dimension keys must also be present in dimensions. The sentiment metric orders by positive_sentiment.

Example request

{
  "order_by": {
    "occurrence": "desc"
  }
}

Response

Successful Response

Changes

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • info

      added the optional property //// to the response with the status

    • breaking

      the request property became required

    • breaking

      request property list-of-types was narrowed by removing types null from media type application/json

    • breaking

      the / request property format changed from no format to date-time

    • breaking

      the / request property format changed from no format to date-time

    • breaking

      the request property format changed from no format to date-time

    • breaking

      the request property format changed from no format to date-time

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property

    • info

      added the new optional request property