Join us at inaugural PyAI Conf in San Francisco on March 10th! Learn more
cURL
curl --request POST \ --url https://api.example.com/work_queues/{id}/concurrency_status \ --header 'Content-Type: application/json' \ --data ' { "page": 1, "limit": 123 } '
{ "active_slots": 123, "count": 123, "limit": 123, "pages": 123, "page": 123, "concurrency_limit": 123, "flow_runs": [ { "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "name": "<string>", "state_type": "SCHEDULED", "state_name": "<string>", "start_time": "2023-11-07T05:31:56Z", "state_timestamp": "2023-11-07T05:31:56Z", "time_in_current_state": 123 } ] }
Read concurrency status for a work queue, including paginated flow run summaries. active_slots always reflects the total count.
The work queue id
x >= 1
Defaults to PREFECT_API_DEFAULT_LIMIT if not provided.
Successful Response
Paginated queue-level concurrency status with flow run details.
Total number of slot-holding flow runs.
Page size.
Total number of pages.
Current page number (1-indexed).
Show child attributes
Was this page helpful?