How can we identify api call statistics by product groups

Not applicable

Is there a way to identify product groups in a call. We need bi metrics which can tell us how many api calls were made to product group conversation dynamics, or product group call fro example.

Looking for an analytics api which can classify api calls based on a product group.

Solved Solved
0 3 173
1 ACCEPTED SOLUTION

@ChinmayieDikshit , you can use the management API (or a custom report in the Reports UI) to get traffic metrics grouped by API product. For example, the following management API call will get the number of API calls grouped by API products over the timeRange you specify.

curl -u username https://api.enterprise.apigee.com/v1/organizations/your_org/environments/prod/stats/api_product?select=sum(message_count)&timeRange=02%2F01%2F2018%2000%3A00~02%2F28%2F2018%2023%3A59

(The date above is the URL-encoded version of 02/01/2018 00:00~02/28/2018 23:59)

Here's the reference topic.

Hope that helps!

View solution in original post

3 REPLIES 3

Not applicable


@Floyd Jones would you know this?

@ChinmayieDikshit , you can use the management API (or a custom report in the Reports UI) to get traffic metrics grouped by API product. For example, the following management API call will get the number of API calls grouped by API products over the timeRange you specify.

curl -u username https://api.enterprise.apigee.com/v1/organizations/your_org/environments/prod/stats/api_product?select=sum(message_count)&timeRange=02%2F01%2F2018%2000%3A00~02%2F28%2F2018%2023%3A59

(The date above is the URL-encoded version of 02/01/2018 00:00~02/28/2018 23:59)

Here's the reference topic.

Hope that helps!

@ChinmayieDikshit , What do you mean product group ? API Products ?