GET
/
api
/
v2
/
concurrency_limits
/
{id_or_name}

Headers

x-prefect-api-version
string

Path Parameters

id_or_name
required

The ID or name of the concurrency limit

Response

200 - application/json

A response object for global concurrency limits.

id
string
created
string | null
updated
string | null
active
boolean
default: true

Whether the global concurrency limit is active.

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.

slot_decay_per_second
number
default: 2

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