Skip to main content

ai_total_users

Retrieves the total number of distinct users across all AI applications (both GenAI and Embedded AI) over a specified time period. When no appClass filter is applied, data for both application types is returned.

Response

Returns GenAIAggregatedResponse

Arguments​

NameDescription
start_time - Long!The start of the time range in Unix milliseconds.
end_time - Long!The end of the time range in Unix milliseconds.
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  ai_total_users(start_time: "123456789", end_time: "123456789") {
    entries(limit: 10, order_by: [{ name: ASC, total: ASC }], filter_by: { name: { in: ["AWS"] } }) {
      name
      total
    }
    obfuscated
  }
}
}
RESPONSE
{
"data": {
  "GENERATIVE_AI": {
    "ai_total_users": {
  "entries": [{
    "name": "example_value",
    "total": 123
  }],
  "obfuscated": true
}
  }
}
}