> This page is for Self-Hosted, version v3.0 (default).
> For other versions, use one of these documentation indexes:
> - v3.0 (default): https://docs.nvidia.com/run-ai/self-hosted/v3.0/llms.txt
> - v2.26: https://docs.nvidia.com/run-ai/self-hosted/v2.26/llms.txt
> - v2.25: https://docs.nvidia.com/run-ai/self-hosted/v2.25/llms.txt
> - v2.24: https://docs.nvidia.com/run-ai/self-hosted/v2.24/llms.txt

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.nvidia.com/run-ai/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.nvidia.com/run-ai/_mcp/server.

# Get departments node pool resources

GET http://localhost:8080/api/v1/org-unit/departments/node-pool-resources

List departments node pool resources

Reference: https://docs.nvidia.com/run-ai/self-hosted/reference/rest-api/endpoints/organizations/departments/get-department-node-pool-resources

## Authentication

- `Authorization` header (bearer token, required) — Bearer authentication

## Request

### Query parameters

- `filterBy` (list of string, optional) — Filter results by a parameter. Use the format field-name operator value. Operators are == Equals, != Not equals, \<= Less than or equal, >= Greater than or equal, =@ contains, !@ Does not contains, =^ Starts with and =\$ Ends with. Dates are in ISO 8601 timestamp format and available for operators ==, !=, \<= and >=.
- `sortBy` (enum, optional) — Sort results by a parameters.
  - Allowed values: `nodePoolName`, `nodePoolId`, `orgUnitId`, `orgUnitName`, `clusterId`, `gpuDeserved`, `gpuOverQuotaWeight`
- `sortOrder` (enum, optional, default: asc) — Sort results in descending or ascending order.
  - Allowed values: `asc`, `desc`
- `offset` (integer, optional) — The offset of the first item returned in the collection.
- `limit` (integer, optional, default: 50) — The maximum number of entries to return.
- `search` (string, optional) — Filter results by a free text search.

## Response

### 200

ok

- `nodePoolResources` (list of DepartmentNodePoolResources, required)
- `next` (integer, optional)

## Errors

### 400 Bad Request Error

Bad request.

- `code` (integer, required)
- `message` (string, required)
- `details` (string, optional)

### 401 Unauthorized Error

Unauthorized

- `code` (integer, required)
- `message` (string, required)
- `details` (string, optional)

### 403 Forbidden Error

Forbidden

- `code` (integer, required)
- `message` (string, required)
- `details` (string, optional)

### 503 Service Unavailable Error

unexpected error

- `code` (integer, required)
- `message` (string, required)
- `details` (string, optional)

## Types

### DepartmentNodePoolResources

- `id` (string, required) — The unique ID of the resources.
- `orgUnitId` (string, required) — The project/department ID.
- `orgUnitName` (string, required) — The project/department name.
- `clusterId` (string, required)
- `nodePoolId` (string, required)
- `nodePoolName` (string, required)
- `rank` (string, required)
- `resources` (ResourcesPerNodePool, required)

### ResourcesPerNodePool

- `gpu` (ResourcesPerNodePoolGpu, optional) — Defines the GPU quota assignment, maximum GPU device allocation, and weight assigned that determines the fairshare of over-quota resources.
- `cpu` (ResourcesPerNodePoolCpu, optional, nullable)
- `memory` (ResourcesPerNodePoolMemory, optional, nullable)

### ResourcesPerNodePoolGpu

Defines the GPU quota assignment, maximum GPU device allocation, and weight assigned that determines the fairshare of over-quota resources.

- `deserved` (double, optional, nullable) — The resource quota assigned to this org-unit.
- `limit` (double, optional, nullable) — The maximum resource allocation for this org-unit. Set to null for unlimited.
- `overQuotaWeight` (double, optional, nullable) — The weight assigned to determine the org-unit's share of over-quota resources within its rank. When multiple org-units share the same rank in a node pool, resources are distributed proportionally based on their weights. Valid values: 1–20. Requires over-quota weight to be enabled. When enabled, the default is 2. See [GPU over quota](/run-ai/self-hosted/documentation/platform-management/manage-ai-initiatives/organization/projects) for more details.

### ResourcesPerNodePoolCpu

- `deserved` (double, optional, nullable) — The resource quota assigned to this org-unit.
- `limit` (double, optional, nullable) — The maximum resource allocation for this org-unit. Set to null for unlimited.
- `overQuotaWeight` (double, optional, nullable) — The weight assigned to determine the org-unit's share of over-quota resources within its rank. When multiple org-units share the same rank in a node pool, resources are distributed proportionally based on their weights. Valid values: 1–20. Requires over-quota weight to be enabled. When enabled, the default is 2. See [GPU over quota](/run-ai/self-hosted/documentation/platform-management/manage-ai-initiatives/organization/projects) for more details.

### ResourcesPerNodePoolMemory

- `units` (enum, required) — The unit of measurement for CPU memory values.
  - Allowed values: `Mib`, `MB`, `GB`
- `deserved` (double, optional, nullable) — The resource quota assigned to this org-unit.
- `limit` (double, optional, nullable) — The maximum resource allocation for this org-unit. Set to null for unlimited.
- `overQuotaWeight` (double, optional, nullable) — The weight assigned to determine the org-unit's share of over-quota resources within its rank. When multiple org-units share the same rank in a node pool, resources are distributed proportionally based on their weights. Valid values: 1–20. Requires over-quota weight to be enabled. When enabled, the default is 2. See [GPU over quota](/run-ai/self-hosted/documentation/platform-management/manage-ai-initiatives/organization/projects) for more details.

## Examples

**Response**

```json
{
  "nodePoolResources": [
    {
      "id": "string",
      "orgUnitId": "string",
      "orgUnitName": "organization1",
      "clusterId": "string",
      "nodePoolId": "string",
      "nodePoolName": "string",
      "rank": "string",
      "resources": {
        "gpu": {
          "deserved": 1000,
          "limit": 0,
          "overQuotaWeight": 2
        },
        "cpu": {
          "deserved": 1000,
          "limit": 0,
          "overQuotaWeight": 2
        },
        "memory": {
          "units": "Mib",
          "deserved": 1000,
          "limit": 0,
          "overQuotaWeight": 2
        }
      }
    }
  ],
  "next": 1
}
```

**SDK Code**

```python
import requests

url = "http://localhost:8080/api/v1/org-unit/departments/node-pool-resources"

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

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

print(response.json())
```

```javascript
const url = 'http://localhost:8080/api/v1/org-unit/departments/node-pool-resources';
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 := "http://localhost:8080/api/v1/org-unit/departments/node-pool-resources"

	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("http://localhost:8080/api/v1/org-unit/departments/node-pool-resources")

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

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("http://localhost:8080/api/v1/org-unit/departments/node-pool-resources")
  .header("Authorization", "Bearer <token>")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'http://localhost:8080/api/v1/org-unit/departments/node-pool-resources', [
  'headers' => [
    'Authorization' => 'Bearer <token>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("http://localhost:8080/api/v1/org-unit/departments/node-pool-resources");
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: "http://localhost:8080/api/v1/org-unit/departments/node-pool-resources")! 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()
```