Skip to Content

GetDashboardStats

GET
/analytics/v1/dashboard

Authorization

headerX-API-Key<token>

API key for protected endpoints, supplied in the X-API-Key header.

Query Parameters

time_start*time_start
time_end*time_end
interval?interval
filter.countries?array<string>
filter.cities?array<string>
filter.devices?array<string>
filter.os?array<string>
filter.languages?array<string>
filter.regions?array<string>
filter.browsers?array<string>
filter.os_versions?array<string>

Response Body

200application/json

Success

type: unknown

{
  "$ref": "#/components/schemas/analytics.v1.DashboardStatsResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "points": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/analytics.v1.DashboardPoint",
          "$ref-value": {
            "type": "object",
            "properties": {
              "timestamp": {
                "type": "string",
                "examples": [
                  "2026-01-15T10:30:00Z"
                ],
                "title": "timestamp"
              },
              "views": {
                "type": "string",
                "examples": [
                  "1250"
                ],
                "title": "views",
                "format": "int64"
              },
              "unique_users": {
                "type": "string",
                "examples": [
                  "1250"
                ],
                "title": "unique_users",
                "format": "int64"
              }
            },
            "title": "DashboardPoint",
            "additionalProperties": false
          }
        },
        "title": "points"
      }
    },
    "title": "DashboardStatsResponse",
    "additionalProperties": false
  }
}
default
curl -X GET 'https://api.rixl.com/analytics/v1/dashboard?time_start=2026-01-15T10%3A30%3A00Z&time_end=2026-01-15T10%3A30%3A00Z'

Success

application/json

{
  "$ref": "#/components/schemas/analytics.v1.DashboardStatsResponse",
  "$ref-value": {
    "type": "object",
    "properties": {
      "points": {
        "type": "array",
        "items": {
          "$ref": "#/components/schemas/analytics.v1.DashboardPoint",
          "$ref-value": {
            "type": "object",
            "properties": {
              "timestamp": {
                "type": "string",
                "examples": [
                  "2026-01-15T10:30:00Z"
                ],
                "title": "timestamp"
              },
              "views": {
                "type": "string",
                "examples": [
                  "1250"
                ],
                "title": "views",
                "format": "int64"
              },
              "unique_users": {
                "type": "string",
                "examples": [
                  "1250"
                ],
                "title": "unique_users",
                "format": "int64"
              }
            },
            "title": "DashboardPoint",
            "additionalProperties": false
          }
        },
        "title": "points"
      }
    },
    "title": "DashboardStatsResponse",
    "additionalProperties": false
  }
}