> This page is for NVIDIA Infra Controller.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/infra-controller/llms.txt.

# Get Rack power state

GET https://nico-rest-api.nico.svc.cluster.local/v2/org/{org}/nico/rack/{id}/power

Read synthesized rack power summaries, each current inventory member's power details, tracked Core actions and outstanding Flow power tasks. Accepts an external inventory rack ID, not a rack name or internal hardware UUID. This passive read does not issue power commands.

Org must have an Infrastructure Provider entity. User must have authorization role with `PROVIDER_ADMIN` suffix in that Org. The Site must belong to that Provider and have the `flow` capability enabled.

Actual and desired summaries preserve the counts supplied by Flow in `coverage`. REST does not recompute these categories from member read errors: for example, a newer state that REST represents as `Unsupported` can count as unavailable in Flow's coverage. Two disagreeing known states produce `Mixed`, even when other members are unavailable. Otherwise unknown or unavailable supported evidence produces `Unknown`. Desired votes come only from enabled `On` and `Off` policies: missing policies, disabled policies and inapplicable policies never vote as `Off`. Unsupported members remain visible in coverage but do not make a summary incomplete. `complete` does not imply that every physical device supports a power read.

Every current, non-deleted inventory member appears in `components`, including unlinked and unsupported types. Known member types follow the order `Unknown`, `Compute`, `NVSwitch`, `PowerShelf`, `TORSwitch`, `UMS`, `CDU`, with deterministic inventory order within each type rather than sorting by external inventory ID. Future service types displayed as `Unknown` retain their service position. An unlinked component's position is not a stable identity across reads. Each component includes its Core actions and their read error under `operations`. An empty action list with a null error means no tracked maintenance actions.

Root `operations.tasks` contains each outstanding power task once, ordered by creation time then task UUID. Each component's compact task references follow that root ordering and supply its relevance. Root task `relevance` is `Unknown`. Full recorded target selections remain on root tasks, including moved or removed members and empty selections. Unavailable target identities set that task's `rackId` and `targets` to null with `targetsError`, preserving its other metadata. Internal hardware UUIDs are never substituted for external inventory IDs.

All response fields are present. Null indicates unavailable or inapplicable data as documented on each field; successful empty lists are arrays with a null corresponding read error. Missing service sections report `Unsupported`. Hardware, stored policies, Core actions and Flow tasks are collected separately and can reflect different instants. A `Running` task does not establish hardware dispatch or correlate to an `Active` Core action.

More than 256 outstanding power tasks across the rack reports `operations.tasksError: LimitExceeded`. The separate waiting-context limit is 256 nonterminal tasks of all types; exceeding it reports `waitingContext.error: LimitExceeded` while retaining power tasks. Flow also limits the encoded proxy response to 1,991,680 bytes, independently of the HTTP response size. It first replaces nonempty successful waiting-context lists with `LimitExceeded`. Empty contexts and existing context errors remain unchanged. If the result still exceeds this allowance, the request fails with HTTP 429; members, tasks, actions and recorded selections are never truncated to fit.

Reference: https://docs.nvidia.com/infra-controller/rest-api-reference/api-reference/rack/get-rack-power-state

## Authentication

- `Authorization` header (bearer token, required) — ``` export JWT_BEARER_TOKEN="<jwt-bearer-token>" # Example org name: "acme-inc export ORG_NAME=<org-name> # Use the JWT bearer token in your API request auth header: curl -v -X GET -H "Content-Type: application/json" -H "Authorization: Bearer $JWT_BEARER_TOKEN" https://nico-rest-api.nico.svc.cluster.local/v2/org/$ORG_NAME/nico/user/current ```

## Request

### Path parameters

- `org` (string, required) — Name of the Org
- `id` (string, required) — External inventory Rack ID

### Query parameters

- `siteId` (string, required) — ID of the Site that owns the rack.

## Response

### 200

Rack summaries and independently available member and operation details.

- `id` (string, required, nullable) — External inventory rack ID, or null when the service omits it; never an internal UUID fallback.
- `actual` (RackPowerSummary, required) — A state derived from member evidence, not a rack hardware observation or a stored rack policy. Known disagreement takes precedence over incomplete evidence. Without disagreement, unknown or unavailable supported evidence makes the state `Unknown`. No applicable votes also gives `Unknown`. An unrecognized service state maps to `Unknown` while preserving the supplied coverage and complete flag. An omitted service summary is `Unknown` with zero counts and complete false.
- `desired` (RackPowerSummary, required) — A state derived from member evidence, not a rack hardware observation or a stored rack policy. Known disagreement takes precedence over incomplete evidence. Without disagreement, unknown or unavailable supported evidence makes the state `Unknown`. No applicable votes also gives `Unknown`. An unrecognized service state maps to `Unknown` while preserving the supplied coverage and complete flag. An omitted service summary is `Unknown` with zero counts and complete false.
- `operations` (RackPowerOperations, required) — Each outstanding Flow power task once. Components include their own Core actions and references to these full task records. Core and Flow are separate observations; an action does not establish a task link.
- `components` (list of RackComponentPowerState, required) — Every current non-deleted inventory member, including unsupported and unlinked members. Known types follow `Unknown`, `Compute`, `NVSwitch`, `PowerShelf`, `TORSwitch`, `UMS`, `CDU`, with deterministic inventory order within each type rather than sorting by external inventory ID. Future service types displayed as `Unknown` retain their service position. Internal hardware UUIDs are not exposed.

## Errors

### 400 Bad Request Error

Error response when request data cannot be validated

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 403 Forbidden Error

Error response when user is not authorized to call an endpoint or retrieve/modify objects

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 404 Not Found Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 412 Precondition Failed Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 429 Too Many Requests Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 500 Internal Server Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 501 Not Implemented Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 502 Bad Gateway Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 503 Service Unavailable Error

Response when the API handler encounters an unexpected error

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

### 504 Gateway Timeout Error

The Site did not return a result within the request budget allocated to Site communication within the request cycle. This can occur if the Site Controller is down or under heavy request load. Operations are in general safe to retry. In rare cases, operations that create or update resources may succeed even if timeout is returned.

- `source` (string, optional) — Source of the error, taken from `api.name` in the REST API server configuration file (`/app/config.yaml` in the supplied Kubernetes deployment; default API name `nico`). This is a configurable string, for example `nico` or `carbide`
- `message` (string, optional) — Message describing the error
- `data` (NiCoApiErrorData, optional, nullable) — Additional data about the error
- `retryable` (boolean, optional) — True permits bounded retries with backoff, without guaranteeing success. False prohibits automatic retries. Omission means unclassified.

## Types

### RackPowerSummary

A state derived from member evidence, not a rack hardware observation or a stored rack policy. Known disagreement takes precedence over incomplete evidence. Without disagreement, unknown or unavailable supported evidence makes the state `Unknown`. No applicable votes also gives `Unknown`. An unrecognized service state maps to `Unknown` while preserving the supplied coverage and complete flag. An omitted service summary is `Unknown` with zero counts and complete false.

- `state` (enum, required) — Shared known state, `Mixed` for known disagreement, or `Unknown` when evidence cannot establish either or the service supplies an unrecognized state.
  - Allowed values: `Unknown`, `On`, `Off`, `PoweringOn`, `PoweringOff`, `Paused`, `Reset`, `Mixed`
- `coverage` (RackPowerCoverage, required) — Mutually exclusive member counts supplied by Flow whose sum is total. REST preserves these counts without deriving them from member read errors. A REST `Unsupported` leaf error can still count as unavailable, such as when a newer observed state cannot be represented. Unsupported and unavailable are distinct; disabled, absent and inapplicable policies never become `Off` votes.
- `complete` (boolean, required) — For a summary supplied by the service, true when unknown and unavailable are zero. Unsupported members do not prevent completeness; true does not imply that every physical device supports power reads or that any member voted. An omitted service summary reports false.

### RackPowerOperations

Each outstanding Flow power task once. Components include their own Core actions and references to these full task records. Core and Flow are separate observations; an action does not establish a task link.

- `tasks` (list of PowerTask, required) — Each outstanding power task once, ordered by creation time then task UUID. Full recorded selections remain on these rows; relevance is `Unknown` here and supplied by each member's task references.
- `tasksError` (enum, required) — Failure to read the task list, not failure of a power operation. Null on success; a non-null error accompanies an empty task list. A missing service task section reports `Unsupported`.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`

### RackComponentPowerState

One current rack inventory member, including unsupported types and members without managed Core identity.

- `id` (string, required, nullable) — External inventory component ID, or null until linked or when omitted by the service.
- `type` (enum, required) — Inventory component type; `Unknown` includes an unknown inventory type and future or unrecognized service values. Unsupported power-read types retain their known type names.
  - Allowed values: `Compute`, `NVSwitch`, `PowerShelf`, `TORSwitch`, `UMS`, `CDU`, `Unknown`
- `actual` (PowerObservation, required) — A live hardware observation or a categorized failure. Explicit `Unknown` is a successful observation. An observation state this API cannot represent reports `Unsupported`. A present observation without a required state or error outcome reports `InvalidResponse`.
- `desired` (PowerPolicy, required) — Stored compute policy, independent of hardware reads. `Unavailable` means the policy or managed target was not found; it does not prove an intentionally absent policy. A policy status or state this API cannot represent reports `Unsupported`. An `Available` policy without a required state reports `InvalidResponse`.
- `operations` (RackComponentPowerOperations, required) — Independently available Core actions and compact references to the rack's full Flow tasks.

### NiCoApiErrorData

Additional data about the error

### RackPowerCoverage

Mutually exclusive member counts supplied by Flow whose sum is total. REST preserves these counts without deriving them from member read errors. A REST `Unsupported` leaf error can still count as unavailable, such as when a newer observed state cannot be represented. Unsupported and unavailable are distinct; disabled, absent and inapplicable policies never become `Off` votes.

- `total` (uint, required) — Total current inventory members included in this summary.
- `known` (uint, required) — Members contributing a known observed state or enabled `On` or `Off` desired policy.
- `unknown` (uint, required) — Explicit `Unknown` hardware observations; zero for desired policy.
- `unavailable` (uint, required) — Failed, unlinked or malformed reads, including a managed Core target that no longer exists.
- `notApplicable` (uint, required) — Members for which stored desired policy does not apply; zero for actual power.
- `noPolicy` (uint, required) — Members with no stored policy, excluding missing managed targets; zero for actual power.
- `disabledPolicy` (uint, required) — Stored `PowerManagerDisabled` policies; zero for actual power.
- `unsupported` (uint, required) — Inventory types without power reads or explicit unsupported backend observations. These do not prevent completeness. An unavailable or unimplemented Core RPC for a supported type is unavailable instead.

### PowerTask

Power task metadata with external target identities from retained inventory at read time, including soft-deleted rows. An identity lookup failure leaves the task's other fields and other task rows available.

- `id` (string, required) — Flow-generated task UUID, usable with the existing task APIs.
- `rackId` (string, required, nullable) — External inventory ID of the task's recorded rack. Null together with targets when targetsError is non-null; never falls back to an internal rack UUID.
- `operation` (enum, required) — Requested Flow power operation, kept separate from the operation Core stores.
  - Allowed values: `PowerOn`, `ForcePowerOn`, `PowerOff`, `ForcePowerOff`, `Restart`, `ForceRestart`, `WarmReset`, `ColdReset`, `Unknown`
- `overrideReadinessCheck` (boolean, required) — Whether the task bypasses the component readiness gate when it executes.
- `targets` (list of PowerTaskTargetGroup, required, nullable) — Complete recorded selection grouped by type, using external inventory IDs available at read time. Null with targetsError when any external target metadata is unavailable; an empty array with no error means an explicitly empty selection. Groups follow Flow's component-type name order; IDs retain recorded UUID order, including repeated external IDs. IDs are not sorted by their external values or deduplicated across types.
- `targetsError` (enum, required) — Null when rackId and the complete target selection are available. Missing metadata reports `Unsupported`; missing, empty, or purged inventory identities report `NotLinked`. Malformed metadata reports `InvalidResponse`; lookup failures retain their error category. `LimitExceeded` means the recorded target identifiers alone exceed the proxy response allowance, or the tray endpoint removed external metadata to meet that allowance. The rack endpoint preserves metadata and fails the whole request if replacing nonempty successful waiting context lists with `LimitExceeded` cannot make the response fit. Any error makes rackId and targets null, without removing the task or returning a partial selection.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`
- `status` (enum, required) — `Pending` includes Flow `Waiting` and admitted `Pending`; `Running` does not prove hardware dispatch. `Unknown` represents an unrecognized service value.
  - Allowed values: `Pending`, `Running`, `Unknown`, `Succeeded`, `Failed`, `Terminated`
- `created` (datetime, required, nullable) — Task creation time; null if the service did not supply a usable timestamp.
- `updated` (datetime, required, nullable) — Last recorded task update time; null if unavailable.
- `started` (datetime, required, nullable) — Recorded execution start; null until recorded.
- `relevance` (enum, required) — `Selected` means a recorded target; `RackAffected` means the task selects a shelf in this tray's current rack and can affect this tray without selecting it. `Unknown` represents an unrecognized or unspecified service value, including root rack task records; their per-member task references supply relevance.
  - Allowed values: `Selected`, `RackAffected`, `Unknown`
- `waitingContext` (PowerTaskWaitingContext, required, nullable) — Present for every Flow `Waiting` task, which reports public status `Pending`, and null for every other task. When an older service doesn't supply the context, both lists are empty and `error` is `Unsupported`. Neither list establishes a definitive blocker, queue position or future execution order.

### PowerObservation

A live hardware observation or a categorized failure. Explicit `Unknown` is a successful observation. An observation state this API cannot represent reports `Unsupported`. A present observation without a required state or error outcome reports `InvalidResponse`.

- `state` (enum, required) — Observed state, or null if the read failed or the service cannot represent the state.
  - Allowed values: `Unknown`, `On`, `Off`, `PoweringOn`, `PoweringOff`, `Paused`, `Reset`
- `source` (enum, required) — Selected hardware reader. Null before backend selection or when the source is unavailable.
  - Allowed values: `Redfish`, `RMS`
- `observed` (datetime, required, nullable) — NICo receipt time, not a device timestamp; null without an observation.
- `error` (enum, required) — Null on success. `NotLinked` means a required managed identity, rack assignment, or retained external inventory identity is absent; `NotConfigured` means no provider client; `Unsupported` includes services or proxies that omit a section, external target metadata or waiting context, or observation states and policy statuses or states this API cannot represent. `InvalidResponse` means unusable dependency data, including a present observation without a required outcome or an `Available` policy without a required state. Other categories distinguish missing managed targets, disabled readers, unavailable endpoints or credentials, missing observations, deadlines, read failures and exceeded limits.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`

### PowerPolicy

Stored compute policy, independent of hardware reads. `Unavailable` means the policy or managed target was not found; it does not prove an intentionally absent policy. A policy status or state this API cannot represent reports `Unsupported`. An `Available` policy without a required state reports `InvalidResponse`.

- `status` (enum, required) — `Available` includes disabled power management. `NotApplicable` applies to managed switches and shelves. `Unavailable` also accompanies section errors.
  - Allowed values: `Available`, `Unavailable`, `NotApplicable`
- `state` (enum, required) — Stored policy when `Available`; null otherwise. `PowerManagerDisabled` is a policy, not missing information.
  - Allowed values: `On`, `Off`, `PowerManagerDisabled`
- `error` (enum, required) — Null on success. `NotLinked` means a required managed identity, rack assignment, or retained external inventory identity is absent; `NotConfigured` means no provider client; `Unsupported` includes services or proxies that omit a section, external target metadata or waiting context, or observation states and policy statuses or states this API cannot represent. `InvalidResponse` means unusable dependency data, including a present observation without a required outcome or an `Available` policy without a required state. Other categories distinguish missing managed targets, disabled readers, unavailable endpoints or credentials, missing observations, deadlines, read failures and exceeded limits.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`

### RackComponentPowerOperations

Independently available Core actions and compact references to the rack's full Flow tasks.

- `actions` (list of PowerAction, required) — Tracked Core actions, `Active` before `Pending`; empty when `actionsError` is set.
- `actionsError` (enum, required) — Failure to read this member's Core actions, not a failed action. Null on success, including an empty list; missing service data reports `Unsupported`.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`
- `tasks` (list of PowerTaskReference, required) — References to root tasks selecting or affecting this member, in root task order. Unsupported component types have an empty list and `Unsupported` `tasksError`. A task selecting both supported and unsupported members may still list the unsupported selections in root `operations.tasks[].targets` when that task's `targetsError` is null.
- `tasksError` (enum, required) — Failure to read references, not a failed task. Supported members mirror a failed rack task read. Null on successful empty references; missing service data reports `Unsupported`.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`

### PowerTaskTargetGroup

One recorded component-type selection expressed as external IDs from retained inventory at read time, including soft-deleted rows. These IDs are not historical copies saved with the task.

- `type` (enum, required) — Recorded component type. A mixed task can select component types beyond those supported as the requested power tray.
  - Allowed values: `CDU`, `Compute`, `NVSwitch`, `PowerShelf`, `TORSwitch`, `UMS`
- `componentIds` (list of string, required) — External inventory component IDs in recorded selection order. A component can have moved racks since the task was recorded. Repeated IDs remain present; IDs are not sorted by external value.

### PowerTaskWaitingContext

Scheduling context evaluated once per rack. Present empty lists with no error mean evaluation succeeded with no matching work. Neither list establishes a definitive blocker, queue position or future execution order. More than 256 nonterminal tasks of all types across the rack makes this context unavailable with `LimitExceeded` while retaining primary power tasks. This count limit is independent of the rack power-task limit. The encoded proxy response allowance can also clear nonempty context lists and set the context error to `LimitExceeded` before removing external target information or primary power tasks. Empty contexts and existing context errors are unchanged; refer to the endpoint description for the fallback order.

- `activeConflicts` (list of TaskSummary, required) — `Pending` or `Running` tasks that conflict under the current scheduler rule, ordered by creation time then UUID.
- `earlierWaiting` (list of TaskSummary, required) — All strictly earlier `Waiting` tasks in this rack, ordered by creation time then UUID. They can delay promotion without directly conflicting with this task.
- `error` (enum, required) — Null on success. `NotLinked` means a required managed identity, rack assignment, or retained external inventory identity is absent; `NotConfigured` means no provider client; `Unsupported` includes services or proxies that omit a section, external target metadata or waiting context, or observation states and policy statuses or states this API cannot represent. `InvalidResponse` means unusable dependency data, including a present observation without a required outcome or an `Available` policy without a required state. Other categories distinguish missing managed targets, disabled readers, unavailable endpoints or credentials, missing observations, deadlines, read failures and exceeded limits.
  - Allowed values: `NotLinked`, `NotConfigured`, `Unsupported`, `DeadlineExceeded`, `ReadFailed`, `InvalidResponse`, `LimitExceeded`, `NotFound`, `Disabled`, `EndpointUnavailable`, `CredentialsUnavailable`, `NoObservation`

### PowerAction

Saved Core maintenance; no stable action ID, Flow task correlation ID or execution-start time is available.

- `status` (enum, required) — `Active` means admitted maintenance, not hardware dispatch. `Pending` is a distinct saved request, without a promise of admission. `Unknown` represents an unrecognized service value.
  - Allowed values: `Active`, `Pending`, `Unknown`
- `operation` (enum, required) — Recorded operation. For `Reset`, graceful=true identifies an explicit graceful host reboot; legacy records do not preserve the original restart mode.
  - Allowed values: `PowerOn`, `PowerOff`, `Reset`, `ChassisReset`, `AcPowercycle`, `Unknown`
- `requested` (datetime, required, nullable) — Saved submission time, not admission/start time; null for legacy admitted requests without metadata.
- `initiator` (string, required, nullable) — Saved initiator, including an explicitly empty string; null when unavailable.
- `graceful` (boolean, required, nullable) — For `PowerOff`, true is graceful and false is forced. For an explicit graceful host reboot, operation is `Reset` and graceful is true. Null for legacy Reset records and other operations.
- `chassisId` (string, required, nullable) — Recorded Redfish chassis identifier for `ChassisReset`, otherwise null.

### PowerTaskReference

A reference to a full task in the rack's operations.tasks list, with its relevance to this member.

- `id` (string, required) — Public Flow task UUID matching a root task ID.
- `relevance` (enum, required) — Relevance is `Selected` for a recorded target, `RackAffected` when a shelf selection affects this member's rack, or `Unknown` for an unrecognized service value.
  - Allowed values: `Selected`, `RackAffected`, `Unknown`

### TaskSummary

Brief metadata for an active conflicting task or an earlier waiting task, including non-power tasks; no reports or targets are exposed here.

- `id` (string, required) — Flow-generated task UUID.
- `type` (enum, required) — Task type, which can be non-power work such as `BringUp`. `Unknown` represents an unrecognized service value.
  - Allowed values: `PowerControl`, `FirmwareControl`, `BringUp`, `Decommission`, `InjectExpectation`, `ComponentReset`, `Unknown`
- `status` (enum, required) — Public task status; Flow `Waiting` maps to `Pending`.
  - Allowed values: `Pending`, `Running`, `Unknown`, `Succeeded`, `Failed`, `Terminated`

## Examples

**Response**

```json
{
  "id": "rack-01",
  "actual": {
    "state": "Mixed",
    "coverage": {
      "total": 4,
      "known": 4,
      "unknown": 0,
      "unavailable": 0,
      "notApplicable": 0,
      "noPolicy": 0,
      "disabledPolicy": 0,
      "unsupported": 0
    },
    "complete": true
  },
  "desired": {
    "state": "On",
    "coverage": {
      "total": 4,
      "known": 2,
      "unknown": 0,
      "unavailable": 0,
      "notApplicable": 2,
      "noPolicy": 0,
      "disabledPolicy": 0,
      "unsupported": 0
    },
    "complete": true
  },
  "operations": {
    "tasks": [
      {
        "id": "550e8400-e29b-41d4-a716-446655440000",
        "rackId": "rack-01",
        "operation": "PowerOn",
        "overrideReadinessCheck": false,
        "targets": [
          {
            "type": "Compute",
            "componentIds": [
              "compute-01"
            ]
          }
        ],
        "targetsError": null,
        "status": "Running",
        "created": "2026-11-09T17:59:58Z",
        "updated": "2026-11-09T18:00:00Z",
        "started": "2026-11-09T17:59:59Z",
        "relevance": "Unknown",
        "waitingContext": null
      }
    ],
    "tasksError": null
  },
  "components": [
    {
      "id": "compute-01",
      "type": "Compute",
      "actual": {
        "state": "Off",
        "source": "RMS",
        "observed": "2026-11-09T18:00:02Z",
        "error": null
      },
      "desired": {
        "status": "Available",
        "state": "On",
        "error": null
      },
      "operations": {
        "actions": [
          {
            "status": "Active",
            "operation": "PowerOn",
            "requested": "2026-11-09T18:00:00Z",
            "initiator": "admin",
            "graceful": null,
            "chassisId": null
          }
        ],
        "actionsError": null,
        "tasks": [
          {
            "id": "550e8400-e29b-41d4-a716-446655440000",
            "relevance": "Selected"
          }
        ],
        "tasksError": null
      }
    },
    {
      "id": "compute-02",
      "type": "Compute",
      "actual": {
        "state": "On",
        "source": "RMS",
        "observed": "2026-11-09T18:00:02Z",
        "error": null
      },
      "desired": {
        "status": "Available",
        "state": "On",
        "error": null
      },
      "operations": {
        "actions": [],
        "actionsError": null,
        "tasks": [],
        "tasksError": null
      }
    },
    {
      "id": "switch-01",
      "type": "NVSwitch",
      "actual": {
        "state": "On",
        "source": "RMS",
        "observed": "2026-11-09T18:00:02Z",
        "error": null
      },
      "desired": {
        "status": "NotApplicable",
        "state": null,
        "error": null
      },
      "operations": {
        "actions": [],
        "actionsError": null,
        "tasks": [],
        "tasksError": null
      }
    },
    {
      "id": "shelf-01",
      "type": "PowerShelf",
      "actual": {
        "state": "On",
        "source": "RMS",
        "observed": "2026-11-09T18:00:02Z",
        "error": null
      },
      "desired": {
        "status": "NotApplicable",
        "state": null,
        "error": null
      },
      "operations": {
        "actions": [],
        "actionsError": null,
        "tasks": [],
        "tasksError": null
      }
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power"

querystring = {"siteId":"siteId"}

headers = {"Authorization": "Bearer <token>"}

response = requests.get(url, headers=headers, params=querystring)

print(response.json())
```

```javascript
const url = 'https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId';
const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("Authorization", "Bearer <token>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId")
  .header("Authorization", "Bearer <token>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId");
var request = new RestRequest(Method.GET);
request.AddHeader("Authorization", "Bearer <token>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["Authorization": "Bearer <token>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://nico-rest-api.nico.svc.cluster.local/v2/org/org/nico/rack/id/power?siteId=siteId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```