GET
/
api
/
v2
/
concurrency_limits
/
{id_or_name}
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created": "2023-11-07T05:31:56Z",
  "updated": "2023-11-07T05:31:56Z",
  "active": true,
  "name": "<string>",
  "limit": 123,
  "active_slots": 123,
  "slot_decay_per_second": 2
}

Headers

x-prefect-api-version
string

Path Parameters

id_or_name
required

The ID or name of the concurrency limit

Response

200
application/json
Successful Response

A response object for global concurrency limits.

id
string
required
created
string | null
required
updated
string | null
required
name
string
required

The name of the global concurrency limit.

limit
integer
required

The concurrency limit.

active_slots
integer
required

The number of active slots.

active
boolean
default:
true

Whether the global concurrency limit is active.

slot_decay_per_second
number
default:
2

The decay rate for active slots when used as a rate limit.