Skip to main content

content_insights_prompt_classification

Retrieves prompt classification for content insights, grouped by prompt class with application breakdown. Shows transaction counts per prompt class with nested per-application totals, filtered by specific applications.

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!]!List of application names to filter by.
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
  content_insights_prompt_classification(start_time: "123456789", end_time: "123456789", app: ["example_app"]) {
    entries {
      name
      total
      entries {
        name
        total
      }
    }
    obfuscated
    weblogTime
  }
}
}
RESPONSE
{
"data": {
  "GENERATIVE_AI": {
    "content_insights_prompt_classification": {
  "entries": [{
    "name": "example_value",
    "total": 123,
    "entries": [{
      "name": "example_value",
      "total": 123
    }]
  }],
  "obfuscated": true,
  "weblogTime": 123
}
  }
}
}