---
title: "Get connections for a model"
method: GET
path: "/concurrent_connections/{model_id}"
tags: ["Infrastructure"]
---

# Get connections for a model

`GET /concurrent_connections/{model_id}`

Get the current number of machines and connections available for a specific model's autoscaling group.

## Path parameters

- `model_id` string, required

## Headers

- `x-api-key` string, required

## Response `200`

Connection info for the model

- 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

- `401` — Unauthorized — invalid or missing API key
- `404` — Model not found
- `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)
