evcc (self-hosted) System API

The system API from evcc (self-hosted) — 5 operation(s) for system.

Operations 5

POST /settings/telemetry/{enable} Enable/disable telemetry #
GET /system/log Logs #
GET /system/log/areas List of all log areas #
DELETE /system/cache Clear cache #
POST /system/shutdown Shutdown evcc #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/evcc:evcc-system-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

evcc-system-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: evcc System API
  description: smart charging. open source energy management.
  version: 0.2.0
  contact:
    url: https://github.com/evcc-io/evcc
servers:
- url: https://demo.evcc.io/api
tags:
- name: System
paths:
  /settings/telemetry/{enable}:
    post:
      operationId: setTelemetryStatus
      summary: Enable/disable telemetry
      description: 'Enable or disable telemetry. Note: Telemetry requires sponsorship.'
      externalDocs:
        url: https://docs.evcc.io/en/reference/configuration/telemetry
      tags:
      - System
      parameters:
      - $ref: '#/components/parameters/enable'
      responses:
        '200':
          $ref: '#/components/responses/BooleanResult'
        '400':
          description: Sponsorship required
  /system/log:
    get:
      operationId: getSystemLogs
      summary: Logs
      description: Returns the latest log lines.
      externalDocs:
        url: https://docs.evcc.io/en/reference/configuration/log
      security:
      - cookieAuth: []
      - bearerAuth: []
      tags:
      - System
      parameters:
      - $ref: '#/components/parameters/logAreas'
      - $ref: '#/components/parameters/logLevel'
      - name: count
        in: query
        description: Number of log lines to return
        example: 100
        schema:
          type: integer
      - name: format
        in: query
        description: File type
        schema:
          type: string
          enum:
          - txt
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: string
            text/plain:
              schema:
                description: Download txt-file
                type: string
                format: binary
        '401':
          $ref: '#/components/responses/Unauthorized'
  /system/log/areas:
    get:
      operationId: getLogAreas
      summary: List of all log areas
      description: Returns a list of all log areas (e.g. `lp-1`, `site`, `db`).
      security:
      - cookieAuth: []
      - bearerAuth: []
      tags:
      - System
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LogAreas'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /system/cache:
    delete:
      operationId: clearCache
      summary: Clear cache
      description: Clears all cached data. This resets all cached values from tariffs, vehicle APIs, and other components that use caching.
      security:
      - cookieAuth: []
      - bearerAuth: []
      tags:
      - System
      responses:
        '200':
          $ref: '#/components/responses/SuccessResult'
        '401':
          $ref: '#/components/responses/Unauthorized'
  /system/shutdown:
    post:
      operationId: shutdownSystem
      summary: Shutdown evcc
      description: Shut down instance. There is no reboot command. We expect the underlying system (docker, systemd, etc.) to restart the evcc instance once it's terminated.
      security:
      - cookieAuth: []
      - bearerAuth: []
      tags:
      - System
      responses:
        '204':
          $ref: '#/components/responses/BlankResponse'
        '401':
          $ref: '#/components/responses/Unauthorized'
components:
  responses:
    SuccessResult:
      description: Success
      content:
        application/json:
          schema:
            type: string
            example: OK
    BooleanResult:
      description: Success - Boolean result
      content:
        application/json:
          schema:
            type: boolean
    BlankResponse:
      description: Success - Blank response
    Unauthorized:
      description: Unauthorized - Login and try again
      content:
        text/plain:
          schema:
            type: string
            enum:
            - Unauthorized
  parameters:
    logAreas:
      name: areas
      description: Comma-separated list of log areas
      in: query
      explode: true
      schema:
        $ref: '#/components/schemas/LogAreas'
    logLevel:
      name: level
      description: Log level
      in: query
      required: true
      schema:
        $ref: '#/components/schemas/LogLevel'
    enable:
      name: enable
      description: Charging mode.
      in: path
      required: true
      schema:
        type: string
        enum:
        - 'true'
        - 'false'
        - '1'
        - '0'
  schemas:
    LogArea:
      externalDocs:
        url: https://docs.evcc.io/en/reference/configuration/log#levels
      type: string
    LogLevel:
      externalDocs:
        url: https://docs.evcc.io/en/reference/configuration/log#log
      type: string
      example: DEBUG
      enum:
      - FATAL
      - ERROR
      - WARN
      - INFO
      - DEBUG
      - TRACE
    LogAreas:
      externalDocs:
        url: https://docs.evcc.io/en/reference/configuration/log#levels
      type: array
      example:
      - lp-1
      - site
      - db
      items:
        $ref: '#/components/schemas/LogArea'
  securitySchemes:
    cookieAuth:
      type: apiKey
      in: cookie
      name: auth
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Long-lived API key (prefixed `evcc_`, managed via /auth/apikey).

        Grants access to /api/db/* without requiring the X-Admin-Password header.

        '