Skip to main content
GET
/
environments
/
{environmentId}
/
analytics
/
overview
Get analytics overview data
curl --request GET \
  --url https://app.dynamicauth.com/api/v0/environments/{environmentId}/analytics/overview \
  --header 'Authorization: Bearer <token>'
{
  "activeUsers": [
    {
      "date": "2023-12-25",
      "nUsers": 123
    }
  ],
  "sessions": {
    "byLoginMethod": [
      {
        "date": "2023-12-25",
        "dimValue": "<string>",
        "nSessionsVisits": 123
      }
    ],
    "byOperatingSystem": [
      {
        "date": "2023-12-25",
        "dimValue": "<string>",
        "nSessionsVisits": 123
      }
    ]
  }
}

Authorizations

Authorization
string
header
required

Path Parameters

environmentId
string
required
Required string length: 36
Example:

Query Parameters

start
string
required
end
string
required
granularity
enum<string>
required
Available options:
day,
week,
month

Response

activeUsers
object[]
required
sessions
object
required