---
title: "Get licenses linked to a controller by nodeId"
method: GET
path: "/v1/license/controller/{nodeId}"
tags: ["License"]
---

# Get licenses linked to a controller by nodeId

`GET /v1/license/controller/{nodeId}`

Retrieve all licenses that are linked to a specific controller identified by its nodeId

## Path parameters

- `nodeId` string, required

## Response `200`

List of licenses linked to the controller

- object
  - `licenses` object[]
    - `id` string, uuid
    - `key` string
    - `gridKw` integer, nullable
    - `solarKw` integer, nullable
    - `batteryKw` integer, nullable
    - `evKw` integer, nullable
    - `creationDate` string, date-time
    - `activationDate` string, date-time, nullable
    - `duration` integer
    - `deactivationDate` string, date-time, nullable
    - `type` 'residential' | 'commercial'

## Other responses

- `401` — Authentication required or invalid token
- `404` — Controller not found

---

[API](https://skmtc.dev/eniris/apis/eniris-metadata-telemetry-query-api.md) · [All operations](https://skmtc.dev/eniris/apis/eniris-metadata-telemetry-query-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/eniris/eniris-metadata-telemetry-query-api/revisions/fe3723575e19/schema)
