---
title: "Get One Resource"
method: GET
path: "/api/resources/{name}"
tags: ["Resource API"]
---

# Get One Resource

`GET /api/resources/{name}`

## Request

- The document declares no server URL.
- Auth: none declared

Returns the request resource's information.

## Path parameters

- `name` string, required

## Headers

- `x-osmo-allowed-pools` string, nullable

## Response `200`

Successful Response

- ResourcesResponse: Object storing execution cluster node resource information.
  - `resources` ResourcesEntry[], required
    - `hostname` string, required
    - `exposed_fields` object, required
    - `taints` object[], required
    - `usage_fields` object, required
    - `conditions` string[], nullable
    - `non_workflow_usage_fields` object, required
    - `allocatable_fields` object, required
    - `platform_allocatable_fields` object, nullable
    - `platform_available_fields` object, nullable
    - `platform_workflow_allocatable_fields` object, nullable
    - `config_fields` object, nullable
    - `backend` string, required
    - `label_fields` object, nullable
    - `pool_platform_labels` object, required
    - `resource_type` 'RESERVED' | 'SHARED' | 'UNUSED', required: Resource type for BackendResource.

## Other responses

- `422`: Validation Error

## Changes

- **2026-09-09** `6a9fcaf5bc77`: 1 info
  - added the new optional `header` request parameter `x-osmo-allowed-pools`
- **2026-08-03** `b9d312a13f5d`: 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status
- **2026-04-08** `a8157dc3279d`: 7 breaking
  - response property `resources/items/conditions` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `resources/items/config_fields` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `resources/items/label_fields` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - response property `resources/items/platform_allocatable_fields` list-of-types was widened by adding types `null` to media type `application/json` of response `200`
  - …3 more
- **2026-03-31** `639e39b0d1eb`: 1 breaking, 1 info
  - the response's body type changed from `string` to `object` for status `200`
  - added the required property `resources` to the response with the `200` status

[Operation history](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/changes/api/resources/:name/get.md)

---

[API](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api.md) - [All operations](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nvidia/apis/nvidia-corporation-osmo-api/revisions/845585a71dbb?raw)
