embedded_ai_usage_trends
Retrieves Embedded AI application usage trends over time, grouped by time periods and applications. Supports different metric types (Volume, Transactions, Users) for EMBEDDED_AI applications only.
Response
Returns GenAIAppTrendResponse
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. |
metric_type - GenAIMetricType! | The metric type to aggregate (BY_VOLUME, BY_TRANSACTIONS, or BY_USERS). |
QUERY
query GENERATIVE_AI {
GENERATIVE_AI {
embedded_ai_usage_trends(start_time: "123456789", end_time: "123456789", metric_type: BY_VOLUME) {
entries {
name
total
entries {
name
total
}
}
obfuscated
}
}
}RESPONSE
{
"data": {
"GENERATIVE_AI": {
"embedded_ai_usage_trends": {
"entries": [{
"name": "example_value",
"total": 123,
"entries": [{
"name": "example_value",
"total": 123
}]
}],
"obfuscated": true
}
}
}
}