GET
/
environments
/
{environmentId}
/
analytics
/
overview
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

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

environmentId
string
required

ID of the environment

Required string length: 36
Example:

"95b11417-f18f-457f-8804-68e361f9164f"

Query Parameters

start
string
required

Start date in ISO format (YYYY-MM-DD)

end
string
required

End date in ISO format (YYYY-MM-DD)

granularity
enum<string>
required

Time granularity for the data

Available options:
day,
week,
month

Response

200
application/json

Analytics overview data

The response is of type object.