For the complete documentation index, see llms.txt. This page is also available as Markdown.

getActiveUsersWeekly

Get active users grouped by week.

Examples

query GetActiveUsersWeekly($input: ActiveUsersWeeklyInput) {
  getActiveUsersWeekly(input: $input) {
    week
    activeUsers
  }
}

Variables

This is an example input showing all available input fields. Only fields marked as required in the schema are mandatory.

{
  "input": {
    "dateRange": {
      "from": 1749000000000,
      "to": 1749900000000
    }
  }
}
curl -X POST \
https://api.cloud.ox.security/api/apollo-gateway \
-H 'Content-Type: application/json' \
-H 'Authorization: YOUR_API_TOKEN' \
-d '{
 "query": "query GetActiveUsersWeekly($input: ActiveUsersWeeklyInput) { getActiveUsersWeekly(input: $input) { week activeUsers } }",
 "variables": {
    "input": {
      "dateRange": {
        "from": 1749000000000,
        "to": 1749900000000
      }
    }
  }
}'

Arguments

You can use the following argument(s) to customize your getActiveUsersWeekly query.

Argument
Description
Supported fields

Optional date range filter

Fields

Return type: [ActiveUsersWeeklyItem!]!

You can use the following field(s) to specify what information your getActiveUsersWeekly query will return. Please note that some fields may have their own subfields.

Field
Description
Supported fields

week String!

ISO string of the week start date

activeUsers Int!

Number of distinct active users in the week

Last updated