Usage Logs List API

Know where your requests are consumed and what all records are accessed by whom. Usage Logs List API provides a list of directories for the days your API endpoints are accessed by end users.

These logs can be downloaded from Usage Logs Download API.




Request Type


Request Headers

Below are the list of Accepted Request Headers if you are trying to List Usage Logs.

Request Header Value Required
X-Master-Key <X-Master-Key> Yes
X-Master-Key Required

X-Master-Key is nothing but your Core API Access Key. You will need this Key to access mostly any API end-point on JSONBin. You could find the key on the API Keys page.

Code Samples

  • cURL
curl -v\
  -H "X-Master-key: " \
  --request GET \

Request Response

Success Status Code: 200
  "logs": [
Error Status Code: 401, 404
  "message": "<Error Message>"

For more information on the error codes & errors you might possibly encounter, refer to the below section.

Error Reference

  • 401 Unauthorized
  • 404 Not Found
You need to pass X-Master-Key in the header

In-order to fetch the List of Usage Logs, you need to pass the X-Master-Key header. You can find X-Master-Key on API Keys page

Invalid X-Master-Key provided

You'll encounter this error if you are not passing the X-Master-Key header which is required to authenticate your request while creating Schema Docs or you've passed an incorrect key. In-order to fix this, pass the X-Master-Key header with a value of the API Key which you can find on the API Keys page.

No logs found

You'll encounter this error if no access logs are found for your account.

Create a Free Account

Create an Account View Pricing