获取队列统计信息
GET/v1/environments/{environment_id}/work/stats
获取某个环境的工作队列统计信息。
Parameters
Returns
获取队列统计信息
ant beta:environments:work stats \
--api-key my-anthropic-api-key \
--environment-id env_011CZkZ9X2dpNyB7HsEFoRfWResponse 200
{
"depth": 0,
"oldest_queued_at": "oldest_queued_at",
"pending": 0,
"type": "work_queue_stats",
"workers_polling": 0
}Returns Examples
Response 200
{
"depth": 0,
"oldest_queued_at": "oldest_queued_at",
"pending": 0,
"type": "work_queue_stats",
"workers_polling": 0
}