Get Asset by ID

View as Markdown
Retrieve detailed information about a specific asset including its hierarchical children, static properties, and location data. This operation returns the complete asset structure with all nested children if they exist.

Authentication

X-Trebellar-Api-Keystring
API Key authentication via header
OR
AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

assetIdstringRequired

A unique identifier for an asset. Can be an AssetId or an ExternalId. ExternalIds are denoted by the “eid:” prefix.

Response

Asset retrieved successfully with complete hierarchical structure
STRUCTUREobject
Structure asset representing a building
OR
FLOORobject
Floor asset representing a building floor
OR
SPACEobject
Space asset representing a room or area
OR
DESKobject
Desk asset representing a workstation
OR
OTHERobject
Sensor group asset
OR
SENSORobject
Sensor asset for monitoring

Errors

400
Bad Request Error
404
Not Found Error