---
title: "RequestsRelativeTimeRange"
url: "https://nov18-dev.movespot.fyi/apis/konnect-api-request-analytics-2/versions/df5e182e-3b27-4baf-b6d7-0b0a459c9f64/schemas/RequestsRelativeTimeRange"
---

> Full API specification: https://nov18-dev.movespot.fyi/apis/konnect-api-request-analytics-2/versions/df5e182e-3b27-4baf-b6d7-0b0a459c9f64.md

# RequestsRelativeTimeRange

## OpenAPI definition

```yaml
openapi: 3.0.2
info:
  title: Konnect API Request Analytics
  version: 2.0.0
servers:
  - url: https://us.api.konghq.com/v2
    description: United-States Production region
  - url: https://eu.api.konghq.com/v2
    description: Europe Production region
  - url: https://au.api.konghq.com/v2
    description: Australia Production region
  - url: https://me.api.konghq.com/v2
    description: Middle-East Production region
  - url: https://in.api.konghq.com/v2
    description: India Production region
  - url: https://sg.api.konghq.com/v2
    description: Singapore Production region
components:
  schemas:
    RequestsRelativeTimeRange:
      type: object
      properties:
        tz:
          description: >
            The time zone of the requestor, provided as a string matching the

            tz database.  This helps determine day boundaries for relative time

            ranges spanning more than 24 hours: for example, submitting a
            request

            for data from the last 7 days on `2020-01-08T00:00:00` in timezone

            US/Eastern will find results starting from `2020-01-01T05:00:00Z`
            (UTC).
          type: string
          example: US/Eastern
          default: Etc/UTC
        type:
          description: |
            Request data from a time relative to the current time.
          type: string
          enum:
            - relative
        time_range:
          description: >
            Return results from the last fifteen minutes, one hour, six hours,
            etc.
          type: string
          default: 12H
          enum:
            - 15M
            - 1H
            - 6H
            - 12H
            - 24H
            - 7D
      additionalProperties: false
      required:
        - type
        - time_range
```
