Skip to main content

ai_prompt_classification

Retrieves AI prompt classification grouped by prompt class with nested application breakdown. Filters for specific AI applications and groups by PROMPT_CLASS and APP_ID.

Arguments​

NameDescription
start_time - Long!The start of the time range in Unix milliseconds.
end_time - Long!The end of the time range in Unix milliseconds.
app - [String!]Optional list of specific AI applications to include.
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  ai_prompt_classification(start_time: "123456789", end_time: "123456789", app: ["example_app"]) {
    entries {
      name
      total
      is_name_l10n_tag
      entries {
        name
        total
        is_name_l10n_tag
      }
    }
    obfuscated
  }
}
}
RESPONSE
{
"data": {
  "GENERATIVE_AI": {
    "ai_prompt_classification": {
  "entries": [{
    "name": "example_value",
    "total": 123,
    "is_name_l10n_tag": true,
    "entries": [{
      "name": "example_value",
      "total": 123,
      "is_name_l10n_tag": true
    }]
  }],
  "obfuscated": true
}
  }
}
}