---
title: "Get labels for a specific node"
method: GET
path: "/api/edgenodes/{edgeNodeId}/labels"
tags: ["EdgeNodes"]
---

# Get labels for a specific node

`GET /api/edgenodes/{edgeNodeId}/labels`

Returns a list of all labels connected to the specified node with the specified filters.

## Path parameters

- `edgeNodeId` string, uuid, required

## Query parameters

- `offset` integer
- `limit` integer
- `conditions` Condition[]
  - `propertyName` string, nullable
  - `propertyValue` string, nullable
  - `operator` string, nullable
- `includeCount` boolean
- `descending` boolean
- `orderBy` string
- `filters` Filter[]
  - `propertyName` string, nullable
  - `propertyValue` string[], nullable
  - `filtertype` string, nullable
  - `ignoreCase` boolean

## Response `200`

OK

- CollectionViewModel2LabelViewModelLabelDto — Collection of items.
  - `offset` integer — The offset of the collection.
  - `limit` integer — The limit of the collection.
  - `count` integer, nullable — The total number of items in the collection.
  - `items` Label[], nullable — Array of items.
    - `id` string, uuid — The identifier of the label.
    - `organizationId` string, uuid — The identifier of the organization.
    - `name` string, nullable — The name of the label.
    - `createdAt` string, date-time — The time the label was created.
    - `createdBy` Creator — Object representing the creator of an object.
      - `type` string, nullable — Type of the creator. Can be `Unknown`, `User`, `EdgeNode`, `EdgeNodeRegistrar` or `Anonymous`.
      - `id` string, uuid — The identifier of the creator.
      - `name` string, nullable — The name of the creator.
    - `updatedAt` string, date-time — The time the label was last updated.
    - `updatedBy` Creator — Object representing the creator of an object.
      - `type` string, nullable — Type of the creator. Can be `Unknown`, `User`, `EdgeNode`, `EdgeNodeRegistrar` or `Anonymous`.
      - `id` string, uuid — The identifier of the creator.
      - `name` string, nullable — The name of the creator.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `503` — Service Unavailable

---

[API](https://skmtc.net/crosser/apis/edge-director-api.md) · [All operations](https://skmtc.net/crosser/apis/edge-director-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/crosser/edge-director-api/versions/746b3f44e69d/schema)
