---
title: "Scale a cluster's replica count"
method: POST
path: "/v1/clusters/{id}/scale"
tags: ["Clusters"]
---

# Scale a cluster's replica count

`POST /v1/clusters/{id}/scale`

## Path parameters

- `id` string, required

## Request body

- ScaleRequest
  - `replicaCount` integer, required

## Response `200`

OK

- ClusterSummary
  - `activeReplicas` integer
  - `createdAt` string
  - `endpointUrl` string
  - `gpuModelId` string
  - `id` string, required
  - `name` string, required
  - `organizationId` string, required
  - `replicaCount` integer
  - `status` string, required

## Other responses

- `400` — The request is invalid
- `401` — Missing or invalid API key
- `403` — API key lacks the required scope
- `404` — Resource not found
- `409` — The request conflicts with existing state
- `503` — The request is valid but the capacity it needs is momentarily unavailable: a transient saturation that clears on node or VM turnover, not a durable conflict. Codes: NODE_AT_CAPACITY, INSUFFICIENT_GPU_CAPACITY, INSUFFICIENT_CPU_CAPACITY, INSUFFICIENT_IP_CAPACITY. Retry the same request with exponential backoff; the Retry-After header suggests how long to wait.

---

[API](https://skmtc.net/openrelay/apis/openrelay-api.md) · [All operations](https://skmtc.net/openrelay/apis/openrelay-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/openrelay/openrelay-api/revisions/ed76b41e8006/schema)
