---
title: "Get Available Replicas"
method: GET
path: "/api/deployments/available-replicas"
tags: ["Deployment"]
---

# Get Available Replicas

`GET /api/deployments/available-replicas`

## Request

- Base URL: `https://api.unorouter.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.unorouter.com/api/deployments/available-replicas`
- Auth: one of:
  - API key in header `Authorization` and API key in header `New-Api-User`
  - API key in header `New-Api-User` and API key in cookie `session`

## Query parameters

- `hardware_id` integer
- `gpu_count` integer

## Response `200`

OK

- ResponseIonetAvailableReplicasResponse: Response_ionet.AvailableReplicasResponse schema
  - `data` AvailableReplicasResponse, required
    - `replicas` AvailableReplica[], nullable, required
      - `available_count` integer, required
      - `hardware_id` integer, required
      - `hardware_name` string, required
      - `location_id` integer, required
      - `location_name` string, required
      - `max_gpus` integer, required
  - `message` string, required
  - `success` boolean, required

---

[API](https://skmtc.dev/unorouter/apis/new-api.md) - [All operations](https://skmtc.dev/unorouter/apis/new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/unorouter/apis/new-api/revisions/1b50ada14f59?raw)
