# Video Analytics

## Video Sessions

<mark style="color:blue;">`GET`</mark> `https://{{account_id}}.acquire.io/api/v1/analytics/chat/video-analytics`

Retrieve data for video sessions.

#### Query Parameters

| Name        | Type   | Description                                                                                                                                  |
| ----------- | ------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| start\_date | string | Date From (Date format = YYYY-MM-DD hh:mm:ss, e.g 2021-01-01 00:00:00)                                                                       |
| end\_date   | string | Date End (Date Format = YYYY-MM-DD hh:mm:ss, e.g 2021-01-01 23:59:59)                                                                        |
| offset      | string | This parameter is used for the timezone value and the default timezone will be "GMT". e.g. +05:30 for particular timezone. Default is +00:00 |
| output      | string | json or csv                                                                                                                                  |

#### Headers

| Name          | Type   | Description                       |
| ------------- | ------ | --------------------------------- |
| Authorization | string | Bearer \*\*\*YOUR\_API\_KEY\*\*\* |

{% tabs %}
{% tab title="200 " %}

```
{
  "data": {
    "videoAnalytics": {
      "data": {
        "graphRow": {
          "labels": [
            "18 Mar 2020",
            "18 Apr 2020",
            "18 May 2020",
            "18 Jun 2020",
            "18 Jul 2020",
            "18 Aug 2020",
            "18 Sep 2020",
            "18 Oct 2020",
            "18 Nov 2020",
            "18 Dec 2020",
            "18 Jan 2021",
            "18 Feb 2021",
            "18 Mar 2021"
          ],
          "totalSession": [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            5,
            0,
            0
          ],
          "averageSessionTime": [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            9,
            0,
            0
          ],
          "responseTime": [
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            0,
            21,
            0,
            0
          ]
        },
        "summary": {
          "totalSession": {
            "current": 5,
            "previous": 0
          },
          "averageSessionTime": {
            "current": 9,
            "previous": 0
          },
          "responseTime": {
            "current": 21,
            "previous": 0
          }
        }
      },
      "success": true,
      "output": "json"
    }
  }
}
```

{% endtab %}
{% endtabs %}
