---
title: "GET /allocations/{hostname?}"
method: GET
path: "/allocations/{hostname?}"
---

# GET /allocations/{hostname?}

`GET /allocations/{hostname?}`

## Request

- Base URL: `https://www.rcac.purdue.edu/api`
- URL: `https://www.rcac.purdue.edu/api/allocations/{hostname?}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/purdue/apis/rcac-api/docs/allocations/:hostname%3F/get.ts> (a function with typed inputs; its response is checked against the schema)

Display a listing of allocations.

## Path parameters

- `hostname` string

## Query parameters

- `format` 'json' | 'slurmcfg'

---

[API](https://skmtc.dev/purdue/apis/rcac-api.md) - [All operations](https://skmtc.dev/purdue/apis/rcac-api/llms.txt) - [OpenAPI document](https://skmtc.dev/purdue/apis/rcac-api/revisions/b6b910de69b0?raw)
