Skip to main content

ai_prompt_prompt_classifications

Retrieves distinct prompt classifications used in AI prompts for dropdown filtering.

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.
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  ai_prompt_prompt_classifications(start_time: "123456789", end_time: "123456789") {
    weblog_time
    obfuscated
    entries {
      id
      is_name_l10n_tag
      name
      total
    }
  }
}
}
RESPONSE
{
"data": {
  "GENERATIVE_AI": {
    "ai_prompt_prompt_classifications": {
  "weblog_time": 123,
  "obfuscated": true,
  "entries": [{
    "id": 123,
    "is_name_l10n_tag": true,
    "name": "example_value",
    "total": 123
  }]
}
  }
}
}