> ## Documentation Index
> Fetch the complete documentation index at: https://developers.telluspowergroup.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get charger details

> Retrieves detailed information about a specific charger, including connector states.

**Related:** proposed extensions to this entity (component-level health, OCPP version metadata) are documented in [Proposed Extensions](https://developers.telluspowergroup.com/diagnostics/proposed-extensions).




## OpenAPI

````yaml /api-reference/openapi.json get /operator/devices/{device_id}
openapi: 3.1.0
info:
  title: Tellus Open Platform API
  version: 1.3.0
  summary: Charger-platform integration API for CPMS, EMS, aggregators, and chargers.
  description: >
    The Tellus Open Platform API enables Charging Point Management Systems
    (CPMS),

    Energy Management Systems (EMS), aggregators and chargers themselves to
    integrate

    with the Tellus charging-platform infrastructure.


    The API is divided into three logical surfaces:


    - **Operator-side API** (`/v1/operator/...`) — used by CPMS, EMS, and
    aggregators
      to query the fleet, retrieve charging records, control chargers, schedule charging,
      issue load-flexibility commands, and subscribe to a real-time telemetry WebSocket.
    - **Charger-side API** (`/v1/device/...`) — used by chargers themselves for
      registration, heartbeat, telemetry, event reporting, charging-record upload,
      command fetching (long-polling), command-status reporting, and firmware-upgrade
      status.
    - **Operator-to-operator interop (legacy)** — an older roaming-style
    interface
      (PascalCase, PUT-based) used for data exchange between operator platforms,
      modelled after China's national charging-interop standard. Most modern partners
      should integrate via the Operator-side API instead.

    All requests use HTTPS (TLS 1.2 or higher). Plain HTTP is not supported.

    All bodies are `application/json`. Timestamps are ISO 8601 UTC.

    Energy is in kWh, power in kW, current in A, voltage in V, temperature in
    °C,

    and SOC is an integer percentage 0–100.


    Optional request signing using HMAC-SHA256 is supported for high-security

    operations (see §2.2.4 of the v1.3 specification).
  contact:
    name: Tellus Power — Platform Team
    url: https://www.telluspowergroup.com
  license:
    name: Proprietary — Tellus Power Group
servers:
  - url: https://api.telluspower.example.com/v1
    description: >
      Production (HOSTNAME PENDING).

      The v1.3 specification uses `api.chargingplatform.com` as a placeholder;
      the

      real production hostname has not yet been confirmed by the developer team.
  - url: https://api-test.telluspower.example.com/v1
    description: |
      Test / Sandbox (HOSTNAME PENDING). To be confirmed by the developer team.
security: []
tags:
  - name: Operator — Authentication
    description: OAuth2 client-credentials grant for CPMS / EMS / Aggregator integrations.
  - name: Operator — Sites & Devices
    description: >-
      Read-only resource queries — sites accessible to the authenticated client,
      and per-device detail with connector states.
  - name: Operator — Remote Control
    description: >-
      Initiate charging, stop charging, V2G discharge, and set charging
      schedules remotely.
  - name: Operator — Charging Records
    description: Historical session data (CDR — Charging Detail Records).
  - name: Operator — Energy & Flexibility
    description: >-
      Aggregated energy time-series and load-flexibility / demand-response
      control.
  - name: Operator — Commands
    description: Track execution of issued commands.
  - name: Operator — Telemetry Stream (WebSocket)
    description: >-
      Real-time telemetry subscription via WebSocket. Documented here for
      reference; the connection is established outside the OpenAPI
      request/response model.
  - name: Charger — Provisioning
    description: First-time device registration and access-token issuance.
  - name: Charger — Reporting
    description: Heartbeat, real-time telemetry, event reporting, charging-record upload.
  - name: Charger — Commands
    description: Long-polling for pending commands and reporting their execution status.
  - name: Charger — Firmware
    description: Firmware upgrade status reporting.
  - name: Operator-to-operator (legacy interop)
    description: |
      Older roaming-style interface (PascalCase fields, PUT methods) used for
      data exchange between operator platforms. Modern partners should normally
      integrate via the Operator-side API instead.
externalDocs:
  description: >-
    Tellus Power developer documentation — guides, diagnostics, runbooks, and
    proposed API extensions
  url: https://developers.telluspowergroup.com
paths:
  /operator/devices/{device_id}:
    get:
      tags:
        - Operator — Sites & Devices
      summary: Get charger details
      description: >
        Retrieves detailed information about a specific charger, including
        connector states.


        **Related:** proposed extensions to this entity (component-level health,
        OCPP version metadata) are documented in [Proposed
        Extensions](https://developers.telluspowergroup.com/diagnostics/proposed-extensions).
      parameters:
        - name: device_id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: Device returned.
          content:
            application/json:
              schema:
                allOf:
                  - $ref: '#/components/schemas/ApiEnvelope'
                properties:
                  data:
                    $ref: '#/components/schemas/Device'
        '404':
          description: Device not found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      security:
        - operatorOAuth2:
            - read
      externalDocs:
        description: Proposed component-health and OCPP-metadata extensions to this entity
        url: >-
          https://developers.telluspowergroup.com/diagnostics/proposed-extensions
components:
  schemas:
    ApiEnvelope:
      type: object
      description: |
        Standard response envelope. `code` is `0` on success and a non-zero
        application code on error (see Error Codes — §14).
      required:
        - code
        - message
      properties:
        code:
          type: integer
          description: 0 = success; otherwise an error code per the Error Codes section.
        message:
          type: string
          description: Human-readable description.
        data:
          description: Endpoint-specific payload.
    Device:
      type: object
      required:
        - device_id
      properties:
        device_id:
          type: string
          description: Platform-issued unique device identifier.
        sn:
          type: string
          description: Manufacturer serial number.
        model:
          type: string
        manufacturer:
          type: string
        firmware_version:
          type: string
        status:
          type: string
          enum:
            - online
            - offline
        connectors:
          type: array
          items:
            $ref: '#/components/schemas/Connector'
        last_heartbeat:
          type: string
          format: date-time
        site_id:
          type: string
      example:
        device_id: dvc_a1b2c3d4e5f6
        sn: SN1234567890
        model: AC-7kW-V2
        manufacturer: ChargeTech
        firmware_version: 2.1.0
        status: online
        connectors:
          - connector_id: 1
            status: charging
            power: 6.8
            current: 30.5
            voltage: 223
            energy_delivered: 12.3
            soc: 55
            temperature: 38
            last_telemetry_time: '2025-03-15T11:00:00Z'
        last_heartbeat: '2025-03-15T11:00:00Z'
        site_id: site_001
    ErrorResponse:
      allOf:
        - $ref: '#/components/schemas/ApiEnvelope'
      properties:
        code:
          type: integer
          examples:
            - 1001
            - 1002
            - 2001
            - 2002
            - 2003
            - 3001
            - 4001
            - 5001
            - 9001
        details:
          type: object
          description: Optional diagnostic details (e.g., `{ field, value }`).
      example:
        code: 1001
        message: Parameter 'power' must be positive
        details:
          field: power
          value: -5
    Connector:
      type: object
      required:
        - connector_id
        - status
      properties:
        connector_id:
          type: integer
          minimum: 1
          description: 1-based connector index, unique within a device.
        status:
          $ref: '#/components/schemas/ConnectorState'
        power:
          type: number
          description: Current power (kW). Negative when state is `discharging`.
        voltage:
          type: number
          description: Voltage (V).
        current:
          type: number
          description: Current (A).
        energy_delivered:
          type: number
          description: Energy delivered in the current session (kWh). 0 if no session.
        soc:
          type: integer
          minimum: 0
          maximum: 100
          description: State of charge (%) of the connected vehicle, if known.
        temperature:
          type: number
          description: Temperature (°C).
        last_telemetry_time:
          type: string
          format: date-time
    ConnectorState:
      type: string
      enum:
        - idle
        - charging
        - discharging
        - fault
        - unavailable
      description: Current state of the connector.
  securitySchemes:
    operatorOAuth2:
      type: oauth2
      description: |
        OAuth2 client-credentials grant for operator-side integrations.
        Obtain an access token by POSTing `client_id` and `client_secret`
        to `/v1/operator/oauth/token`. Tokens are valid for 24 hours
        (86,400 seconds).
      flows:
        clientCredentials:
          tokenUrl: /v1/operator/oauth/token
          scopes:
            read: >-
              Read-only access to sites, devices, charging records, telemetry,
              and aggregated energy.
            write: >-
              Write access — remote start, stop, discharge, schedule,
              flexibility commands.

````