Skip to main content

gen_ai_transaction_lineage_primary_lane

Retrieves Gen AI transaction lineage data based on dlpengine or dictionary or prompt classification or document type Can retrieve users if fetch_user is true This is mainly for the primary lane usage

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.
app - [String]Filter for the application name.
action - [PolicyAction]
aggregate - Aggregate!The field on which to perform the aggregation. The aggregation operation to perform.
group_type - LineageType!Possible values are DLP_ENGINE, DLP_DICTIONARY, ML_CATEGORY, PROMPT_CLASS
fetch_user - Boolean!
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  gen_ai_transaction_lineage_primary_lane(start_time: "123456789", end_time: "123456789", app: ["example_app"], action: [ACTION_TAKEN_ALLOWED], aggregate: { on: TRANSACTIONS, op: SUM }, group_type: DLP_ENGINE, fetch_user: true) {
    weblog_time
    obfuscated
    entries {
      id
      is_name_l10n_tag
      name
      total
    }
  }
}
}
RESPONSE
{
"data": {
  "GENERATIVE_AI": {
    "gen_ai_transaction_lineage_primary_lane": {
  "weblog_time": 123,
  "obfuscated": true,
  "entries": [{
    "id": 123,
    "is_name_l10n_tag": true,
    "name": "example_value",
    "total": 123
  }]
}
  }
}
}