# Fetch viral trend insights for a reporting query.

Endpoint: POST /reports/fetchViralTrends
Version: 3.0.0
Security: bearerAuth, apiKeyAuth

## Security:

  - `bearerAuth` (unknown)
    http bearer Token

  - `apiKeyAuth` (unknown)
    apiKey in header Key

## Request fields (application/json):

  - `report` (string)

  - `reportingEngine` (string)

  - `timeField` (string)

  - `startTime` (integer)

  - `endTime` (integer)

  - `timeZone` (string)

  - `page` (integer)

  - `pageSize` (integer)

  - `filters` (array)

  - `filters.dimensionName` (string)

  - `filters.filterType` (string)

  - `filters.values` (array)

  - `filters.details` (object)

  - `groupBys` (array)

  - `groupBys.heading` (string)

  - `groupBys.dimensionName` (string)

  - `groupBys.groupType` (string)

  - `groupBys.details` (object)

  - `groupBys.namedFilters` (object)

  - `projections` (array)

  - `projections.heading` (string)

  - `projections.measurementName` (string)

  - `projections.aggregateFunction` (string)

  - `projections.details` (object)

  - `projectionDecorations` (array)

  - `projectionFilters` (array)

  - `sorts` (array)

  - `sorts.heading` (string)

  - `sorts.order` (string)

  - `streamRequestInfo` (object)

  - `streamRequestInfo.streamFields` (array)

  - `streamRequestInfo.name` (string)

  - `streamRequestInfo.childName` (string)

  - `streamRequestInfo.details` (object)

  - `additional` (object)

  - `skipResolve` (boolean)

  - `jsonResponse` (boolean)

## Response 200:

  - `200` (unknown)
    Success

## Response 200 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 400:

  - `400` (unknown)
    Bad request

## Response 400 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 401:

  - `401` (unknown)
    Missing or invalid authentication

## Response 401 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 403:

  - `403` (unknown)
    Insufficient permissions

## Response 403 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

## Response 404:

  - `404` (unknown)
    Resource not found

## Response 404 fields (application/json):

  - `data` (object)

  - `errors` (array)

  - `errors.id` (string, required)
    24-character hex ObjectId

  - `errors.code` (integer, required)

  - `errors.message` (string, required)
    Dotted error key (e.g. account.not.found)

  - `metadata` (object)

