gen_ai_insights_to_department
Retrieves Gen AI transaction lineage data grouped by department with detailed breakdown Provides comprehensive insights with pagination support for department-based analysis
Response
Returns GenAITransactionLineageResponse
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. |
group_type - DepartmentInsightsGroup! | Possible values are DEPARTMENT, APPLICATION, USER |
filter - DepartmentInsightsFilter | |
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_department(start_time: "123456789", end_time: "123456789", group_type: DEPARTMENT, filter: { app_status: UN_SANCTIONED, action: ACTION_TAKEN_ALLOWED, department_id: 10 }, page_size: 10, page_number: 10) {
weblog_time
obfuscated
entries {
id
is_name_l10n_tag
name
total
}
}
}
}RESPONSE
{
"data": {
"GENERATIVE_AI": {
"gen_ai_insights_to_department": {
"weblog_time": 123,
"obfuscated": true,
"entries": [{
"id": 123,
"is_name_l10n_tag": true,
"name": "example_value",
"total": 123
}]
}
}
}
}