This requires API Metrics
You can learn more about setting up API Metrics here
Your users can view their logs directly in the API Explorer
Once you start sending your logs to ReadMe you can also show those logs to authenticated users! Logs will show up in both the Reference section, and in a Logs section.
In the API Explorer, users will see their logs for each endpoint alongside the documentation, so they can easily compare their usage with the documentation of what they should be passing in.
Logs section showing all of the API calls a user has made
There is also be a Logs section where the user will see all of their API calls for all endpoints, and they can filter by status, method, or endpoint.
Connecting Users and Logs
Once you are sending API logs to ReadMe, you will need to setup an authentication to connect the user logged in with ReadMe with specific logs. ReadMe supports logging in with JWT, which you can get setup with this guide.
All you need to do is pass in an id
with the user that matches the id for a log. Then that user will be able to see all of the matching logs.
Need help getting this setup? Send us an email at support@readme.io.
this is a link to another article