activity_by_url_category
Retrieves activity grouped by URL category over a specified time period. Groups by URL category and shows transaction counts for each category. The category name format is "superCategory/Category" (e.g., "INFORMATION_TECHNOLOGY/AI_ML_APPS").
Response
Returns GenAIAggregatedResponse
Arguments
| Name | Description |
|---|---|
start_time - Long! | The start of the time range in Unix milliseconds. |
end_time - Long! | The end of the time range in Unix milliseconds. |
url_category - [String!] | Optional list of URL categories to filter by (e.g., ["AI_ML_APPS"]). |
url_super_category - [String!] | Optional list of URL super categories to filter by (e.g., ["INFORMATION_TECHNOLOGY"]). |
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
activity_by_url_category(start_time: "123456789", end_time: "123456789", url_category: ["example_url_category"], url_super_category: ["example_url_super_category"]) {
entries(limit: 10, order_by: [{ name: ASC, total: ASC }], filter_by: { name: { in: ["AWS"] } }) {
name
total
}
obfuscated
}
}
}RESPONSE
{
"data": {
"GENERATIVE_AI": {
"activity_by_url_category": {
"entries": [{
"name": "example_value",
"total": 123
}],
"obfuscated": true
}
}
}
}