This article shows where to find your API request logs in API Press how to read entries and how to manage them for quick debugging.
Where to Find Logs
- Open your WordPress admin then click API Press → Logs
- You will see a table of recent requests from all of your APIs
- Each API tab also shows a short summary of recent activity so you can review context while editing a single API
Turning Logging On
Logging is enabled for all API requests within the admin. So when you set up your API and hit Send in the admin, the call will be logged.
By default, logging is turned off when using the shortcode or the template tag on the front end. To enable this, add logging="true" to the shortcode or 'logging' => true to the template tag.
What Gets Recorded
Each log entry typically includes:
- Date: the time the request was sent
- API: the name of the API tab that sent the request
- Method: GET POST PUT PATCH or DELETE
- URL: base plus endpoint path with any query string
- Status: HTTP status code like 200 or 404
- Response time: request duration in ms
- Request details: headers and body if captured
- Response snippet: a preview of the response body if available
Learn about status codes in Understanding Requests and Responses.
Filtering and Searching
Use the controls above the table to narrow results:
- API filter: show logs for a single API
- Method filter: show only GET POST PUT PATCH or DELETE
- Status filter: focus on successes or errors
- Date range: review a specific period
- Search: find URLs IDs or keywords in request or response
Viewing Details
- Click View on a row to see full request and response detail
- Use this to confirm headers body content and exact payloads the API received
Deleting Logs
- Hover a row then click Delete to remove a single entry
- Select multiple rows then choose Bulk actions → Delete to clear several at once
- Deleting entries permanently removes them from the database
Export to CSV (PRO)
Export logs for analysis or to share with a developer.
- Install the PRO plugin
- Open API Press → Logs then click Download CSV
- Apply filters first if you only want a subset in the export
Auto Purge Old Logs (PRO)
Keep the database lean by scheduling automatic cleanup.
- Install the PRO plugin
- Go to API Press → Logs settings
- Enable Auto purge and set the number of days to retain logs
