smatty_acdc
smatty_acdc2mo ago

Usage Stats API

Hi guys - is there an available API that displays usage stats in a front-end application. It would be nice to be able to fetch user data usage information, so that if I have limits (ie; per subscription plan) that the User could easily go view a dashboard where they could see their usage for the month. Similar to the Dashboard usage stats, but could be implemented specific to individual users.
2 Replies
Convex Bot
Convex Bot2mo ago
Thanks for posting in <#1088161997662724167>. Reminder: If you have a Convex Pro account, use the Convex Dashboard to file support tickets. - Provide context: What are you trying to achieve, what is the end-user interaction, what are you seeing? (full error message, command output, etc.) - Use search.convex.dev to search Docs, Stack, and Discord all at once. - Additionally, you can post your questions in the Convex Community's <#1228095053885476985> channel to receive a response from AI. - Avoid tagging staff unless specifically instructed. Thank you!
ian
ian2mo ago
You could capture their usage into a table or use the Aggregate component, then show the user that information. Or if you're trying to associate Convex usage data with a user, you could use the Log Streams integration to capture user usage data, and track which requests came from which users, then have some job that occasionally queries for usage data and associates it with users. But this is all custom, not sure what kind of API would make sense at the platform level.

Did you find this page helpful?