---
title: "Update model autoscaling group"
method: PUT
path: "/concurrent_connections/{model_id}"
tags: ["Infrastructure"]
---

# Update model autoscaling group

`PUT /concurrent_connections/{model_id}`

Update the min, max, and desired capacity of the autoscaling group for a specific model.

## Path parameters

- `model_id` string, required

## Headers

- `x-api-key` string, required

## Request body

- ModelUpdateASGRequest — Request to update autoscaling group capacity
  - `size` integer, required — Desired capacity for the autoscaling group

## Response `200`

Updated connection info

- ModelConcurrentConnectionsResponse — Autoscaling group connection information
  - `success` boolean
  - `message` string
  - `data` object
    - `concurrent_connections` integer — Current number of active connections
    - `desired_concurrent_connections` integer — Desired number of connections in the autoscaling group

## Other responses

- `400` — Bad request — invalid size parameter
- `401` — Unauthorized — invalid or missing API key
- `500` — Internal server error

---

[API](https://skmtc.dev/deepdub-ai/apis/deepdub-api.md) · [All operations](https://skmtc.dev/deepdub-ai/apis/deepdub-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/deepdub-ai/deepdub-api/revisions/903a930c3849/schema)
