system

Returns the latest log lines.

get/system/log

Request

  • Base URL
    https://demo.evcc.io/api
  • URL
    https://demo.evcc.io/api/system/log
  • Auth
    • API key in cookie auth
    • or HTTP bearer

Query parameters

areasLogArea[]

Comma-separated list of log areas

[
  "lp-1",
  "site",
  "db"
]
level'FATAL' | 'ERROR' | 'WARN' | 'INFO' | 'DEBUG' | 'TRACE' required
Example:DEBUG

Log level

countinteger

Number of log lines to return

format'txt'

File type

Response

Success

string[] required

Changes

    • breaking

      the response's body type changed from object to array for status

    • warning

      removed the optional property from the response with the status

    • info

      the endpoint scheme security bearerAuth was added to the API