Viewing API Logs
The API log displays the API calls issued to the Device Cloud by a user or a thing.
Each log entry shows timestamp, command, execution time, server that processed the request, and the user name of the user who executed the request.
- Click Developer and then click API log.
-
(Optional) Do one or more of the following to specify filter
criteria:
-
To restrict the results shown to a specific date range, select a date and time in the From and To calenders.
-
To restrict the results to a specific API command, select a service from the Command list and optionally, type a command in the text box.
By default, the logs for all services and commands appear. If you select a service, by default logs for all the service commands appear.
-
To filter the list based on a thing or user, type the thing key or the email address of the user in the Who box.
-
To view the API calls with an error response, select the Failures only check box.
-
-
(Optional) To apply the filter criteria, click Show.
The filters are used in combination to get a consolidated list.
-
Click the View icon of the
API log that you want to view.
A Request and Response page appears with the JSON request sent by the client and the response received from the server.