Skip to main content

embedded_ai_insights_to_users

Retrieves Embedded AI transaction lineage data grouped by users with detailed breakdown Provides comprehensive insights with pagination support for user-based analysis

Response

Returns UsersUsageResponse

Arguments​

NameDescription
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 - UserInsightsGroupDefines the data group. Possible values are APPLICATION, USER
page_size - IntThe page size for pagination (defaults to 100)
page_number - IntThe page number for pagination (defaults to 0)
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  embedded_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": {
    "embedded_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
}
  }
}
}