Skip to main content

ai_top_users_with_details

Retrieves detailed breakdown for specific top AI users. Second step to get app usage details for specific users. Supports both Gen AI and Embedded AI.

Response

Returns GenAITopUsersResponse

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.
app_type - AIAppType!The type of applications to include (GEN_AI or EMBEDDED_AI).
apps - [String!]List of specific applications to include in the analysis.
user_ids - [GenAIUserInput!]!List of user IDs and names to get detailed breakdown for.
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  ai_top_users_with_details(start_time: "123456789", end_time: "123456789", app_type: GEN_AI, apps: ["example_apps"], user_ids: [{ id: 10, name: "example" }]) {
    entries {
      id
      name
      total
      entries {
        name
        total
      }
    }
    obfuscated
  }
}
}
RESPONSE
{
"data": {
  "GENERATIVE_AI": {
    "ai_top_users_with_details": {
  "entries": [{
    "id": 123,
    "name": "example_value",
    "total": 123,
    "entries": [{
      "name": "example_value",
      "total": 123
    }]
  }],
  "obfuscated": true
}
  }
}
}