Get async queue status
Utilities
Get async status
Retrieve organization-wide async queue status including queued tasks, processing tasks, and concurrency usage for monitoring and capacity planning.
GET
Get async queue status
Overview
This endpoint provides real-time visibility into your organization’s async task queue and processing capacity. Use it to:- Monitor queue health: Track how many tasks are waiting to be processed
- Understand processing capacity: See current concurrency usage versus your plan limit
- Debug delays: Identify if tasks are queued due to high volume or concurrency limits
- Plan capacity: Decide whether to upgrade your plan based on actual usage
- queuedTasks: Number of tasks currently waiting in the queue (status:
QUEUED) - processingTasks: Number of tasks actively being processed (status:
PROCESSING) - priorityBreakdown: Queued task counts per priority level, so you can see how your queue is distributed across priorities
- concurrency: Current concurrency slot usage compared to your plan’s maximum
Response fields
| Field | Type | Description |
|---|---|---|
queuedTasks | integer | Number of tasks currently queued for your organization |
processingTasks | integer | Number of tasks currently being processed for your organization |
priorityBreakdown | array | Queued task counts per priority level, ordered by priority descending. Only includes levels with queued tasks. |
priorityBreakdown[].priority | integer | The priority level (1-10) |
priorityBreakdown[].count | integer | Number of queued tasks at this priority level |
concurrency.used | integer | Number of concurrent slots currently in use |
concurrency.max | integer | Maximum allowed concurrent tasks for your organization (based on your plan) |
The
concurrency object may be null if concurrency information cannot be retrieved at the time of the request. This is rare but can occur during system maintenance.Example usage
Check current queue status
Monitor queue status programmatically
Use cases
Capacity planning
Monitor concurrency usage patterns to determine if you need to upgrade your plan:Queue health monitoring
Track queue size to detect processing bottlenecks or high-volume periods:Throttling task submission
Adjust your task submission rate based on current queue status:Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Successful response with queue metrics.
Number of tasks currently queued for this organization.
Example:
3
Number of tasks currently being processed for this organization.
Example:
2
Queued task counts per priority level, ordered by priority descending. Only includes priority levels that have queued tasks.
Current concurrency usage. Null if unable to retrieve concurrency information.