---
title: "Set Agent Concurrency"
method: PUT
path: "/api/apps/{name}/ai/concurrency"
tags: ["deploy"]
---

# Set Agent Concurrency

`PUT /api/apps/{name}/ai/concurrency`

## Request

- Base URL: `https://softkiln.com` (the document declares no server; this is the origin it was published from)
- URL: `https://softkiln.com/api/apps/{name}/ai/concurrency`
- Auth: none declared

Set how many of this app's ticket runs may execute at once. Platform admin only.

`LogtoAdminUser`, not the app's own admins: concurrency is capacity the
platform pays for, and is to be sold as an add-on — an app admin raising
their own would be giving it away.

## Path parameters

- `name` string, required

## Request body

- SetConcurrencyRequest
  - `max_concurrent_runs` integer, nullable, required

## Response `200`

Successful Response

- AiStatusOut
  - `enabled` boolean, required
  - `configured` boolean, required
  - `available_models` string[], required
  - `max_completion_tokens_cap` integer, nullable, required
  - `period_cap_microcents` integer, nullable, required
  - `org_available_microcents` integer, required
  - `agent_offered` boolean, required
  - `max_concurrent_runs` integer, nullable, required
  - `default_concurrent_runs` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/softkiln/apis/app-manager-api.md) · [All operations](https://skmtc.dev/softkiln/apis/app-manager-api/llms.txt) · [OpenAPI document](https://skmtc.dev/softkiln/apis/app-manager-api/revisions/de2b674a7f21?raw)
