embedded_ai_insights_to_location
Retrieves Embedded AI transaction lineage data grouped by location with detailed breakdown Provides comprehensive insights with pagination support for location-based analysis
Response
Returns LocationInsightsResponse
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 - LocationInsightsFilter | |
aggregate - [Aggregate] | The field on which to perform the aggregation. The aggregation operation to perform. |
group_type - LocationInsightsGroup | Defines the data group. Possible values are LOCATION, 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 {
embedded_ai_insights_to_location(start_time: "123456789", end_time: "123456789", filter: { app_name: "Slack", location_id: 10, search_text: "example" }, aggregate: [{ on: TRANSACTIONS, op: SUM }], group_type: LOCATION, page_size: 10, page_number: 10) {
entries {
id
name
total
is_name_l10n_tag
entries {
name
total
}
department_id
total_transactions
total_volume
}
obfuscated
weblog_time
}
}
}RESPONSE
{
"data": {
"GENERATIVE_AI": {
"embedded_ai_insights_to_location": {
"entries": [{
"id": 123,
"name": "example_value",
"total": 123,
"is_name_l10n_tag": true,
"entries": [{
"name": "example_value",
"total": 123
}]
}],
"obfuscated": true,
"weblog_time": 123
}
}
}
}