Skip to navigation

Get a single workload structure element by element id.

View as MarkdownOpen in Claude

Retrieve a specific structure element for a workload, including aggregated requested and allocated resources from pods linked to this element. Completed pods are excluded from aggregation. Requires cluster version >= 2.25.

Authentication

AuthorizationBearer
Bearer authentication

Path parameters

workloadIdstringRequiredformat: "uuid"

The Universally Unique Identifier (UUID) of the workload.

elementIdstringRequiredformat: "uuid"
The unique identifier of the structure element.

Response

Executed successfully.
idstringformat: "uuid"
The unique identifier of the structure element.
namestring<=250 characters
The display name of the structure element.
hierarchyLevelinteger1-3

The position of the element in the workload structure hierarchy. Valid values are 1 (top-level), 2, and 3.

podsRequestedResourcesobject
allocatedResourcesobject
parentIdstring or nullOptionalformat: "uuid"
The unique identifier of the parent element. Empty for level 1 elements, whose parent is implicitly the workload.
createdAtdatetimeOptional
The timestamp when the structure element was created.
topologyobjectOptional
The element's network topology. Populated whenever the element requested topology constraints, or its running pods resolve to an actual placement in the topology hierarchy.
kubernetesRefobject or nullOptional

Reference to the backing K8s object. Present for object-backed elements, nil for logical elements.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error
503
Service Unavailable Error