Skip to Content
ReferenceAPI referenceError Logs
Next: these pages describe unreleased changes on the develop branch. Read the docs for the current release

Get the error logs status

GET
/api/v1/error-logs/status

Returns whether this instance reads error logs, whether any error line is stored, and how many problems are new: first seen in the last 24 hours, with a line in the last 24 hours that muted IPs do not hide.

Authorization

cookiesession<token>

Session cookie authentication.

Response Body

Request fulfilled, document follows

application/json
  1. response

Whether error logs are set up or have lines, and how many problems are new.

enabled*boolean

This instance has LOGPARSER_ERROR_LOG_PATHS set.

hasLines*boolean

The database holds at least one error line.

newCount*integer

Problems first seen in the last 24 hours that have a line in the last 24 hours from a client that is not muted, or from no client.

Example Request
curl -X GET 'https://geometrikks.example.com/api/v1/error-logs/status'
Example Response200
{  "enabled": true,  "hasLines": true,  "newCount": 0}