---
title: "Get assets assigned to edge (getEdgeAssets)"
method: GET
path: "/api/edge/{edgeId}/assets"
tags: ["asset-controller"]
---

# Get assets assigned to edge (getEdgeAssets)

`GET /api/edge/{edgeId}/assets`

Returns a page of assets assigned to edge. You can specify parameters to filter the results. The result is wrapped with PageData object that allows you to iterate over result set using pagination. See response schema for more details.

## Path parameters

- `edgeId` string, required

## Query parameters

- `pageSize` integer, required
- `page` integer, required
- `type` string
- `textSearch` string
- `sortProperty` 'createdTime' | 'name' | 'type' | 'label' | 'customerTitle'
- `sortOrder` 'ASC' | 'DESC'
- `startTime` integer
- `endTime` integer

## Response `200`

OK

- PageDataAsset
  - `data` Asset[] — Array of the entities
    - `id` AssetId
      - `id` string, uuid, required — ID of the entity, time-based UUID v1
      - `entityType` 'ASSET', required — string
    - `createdTime` integer — Timestamp of the asset creation, in milliseconds
    - `tenantId` TenantId
      - `id` string, uuid, required — ID of the entity, time-based UUID v1
      - `entityType` 'TENANT', required — string
    - `customerId` CustomerId
      - `id` string, uuid, required — ID of the entity, time-based UUID v1
      - `entityType` 'CUSTOMER', required — string
    - `name` string, required — Unique Asset Name in scope of Tenant
    - `type` string — Asset type
    - `label` string — Label that may be used in widgets
    - `assetProfileId` AssetProfileId
      - `id` string, uuid, required — ID of the entity, time-based UUID v1
      - `entityType` 'ASSET_PROFILE', required — string
    - `version` integer
    - `additionalInfo` unknown
  - `totalPages` integer — Total number of available pages. Calculated based on the 'pageSize' request parameter and total number of entities that match search criteria
  - `totalElements` integer — Total number of elements in all available pages
  - `hasNext` boolean — 'false' value indicates the end of the result set

---

[API](https://skmtc.net/thingsboard/apis/thingsboard-rest-api.md) · [All operations](https://skmtc.net/thingsboard/apis/thingsboard-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/thingsboard/thingsboard-rest-api/revisions/40169ccdec5c/schema)
