Docs / API reference /
Check the async queue
GET https://api.answerline.dev/v1/async/status
Returns async queue metrics for the whole organization: how many tasks are queued and processing, plus concurrency in use.
Returns
-
queuedTasksinteger required -
Tasks this organization currently has waiting in the queue.
-
processingTasksinteger required -
Tasks this organization has in progress right now.
-
priorityBreakdownobject[] required -
Number of queued tasks for each priority level, highest priority first. Priority levels with no queued tasks are left out.
-
concurrencyobject -
Concurrency in use right now; null when it could not be read.
2 properties
-
concurrency.usedinteger -
Concurrency slots occupied right now.
-
concurrency.maxinteger -
Highest number of tasks this organization may run concurrently.
-
Responses
- 200
- Success: queue metrics returned.
- 401
- Unauthorized - authentication failed
- 429
- Too Many Requests - the service dropped the request because it was overloaded (
SERVICE_OVERLOADED), which returnsRetry-Afterwithout any limit headers, or one address presented too many unknown keys (RATE_LIMIT_EXCEEDED, withRetry-After) - 500
- Internal Server Error