Skip to main content

embedded_ai_insights_to_department

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

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.
group_type - DepartmentInsightsGroup!Possible values are DEPARTMENT, APPLICATION, USER
filter - DepartmentInsightsFilter
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_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": {
    "embedded_ai_insights_to_department": {
  "weblog_time": 123,
  "obfuscated": true,
  "entries": [{
    "id": 123,
    "is_name_l10n_tag": true,
    "name": "example_value",
    "total": 123
  }]
}
  }
}
}