gen_ai_insights_to_users
Retrieves Gen AI transaction lineage data grouped by users with detailed breakdown Provides comprehensive insights with pagination support for user-based analysis
Response
Returns UsersUsageResponse
Arguments
| Name | Description |
|---|---|
start_time - Long! | The start time of the query window, as a Unix timestamp. |
end_time - Long! | The end time of the query window, as a Unix timestamp. |
filter - UsersUsageFilter | |
aggregate - [Aggregate] | The field on which to perform the aggregation. The aggregation operation to perform. |
group_type - UserInsightsGroup | Defines the data group. Possible values are APPLICATION, USER |
page_size - Int | The page size for pagination (defaults to 100) |
page_number - Int | The page number for pagination (defaults to 0) |
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
gen_ai_insights_to_users(start_time: "123456789", end_time: "123456789", filter: { department_id: 10, user: { id: 10 }, search_text: "example" }, aggregate: [{ on: TRANSACTIONS, op: SUM }], group_type: APPLICATION, page_size: 10, page_number: 10) {
entries {
id
name
total
is_name_l10n_tag
entries {
name
total
}
department_id
total_transactions
total_volume
}
obfuscated
}
}
}RESPONSE
{
"data": {
"GENERATIVE_AI": {
"gen_ai_insights_to_users": {
"entries": [{
"id": 123,
"name": "example_value",
"total": 123,
"is_name_l10n_tag": true,
"entries": [{
"name": "example_value",
"total": 123
}]
}],
"obfuscated": true
}
}
}
}