Anthropic · Schema
SelfHostedWorkQueueStats
Statistics about the work queue for an environment. Uses Redis Stream consumer group metrics for O(1) queries.
LLMAnthropicArtificial IntelligenceClaudeFoundation ModelsMachine LearningMCPAgents
Properties
| Name | Type | Description |
|---|---|---|
| depth | integer | Number of work items waiting to be picked up (lag from consumer group) |
| oldest_queued_at | object | RFC 3339 timestamp of oldest item in the work stream (includes both queued and pending items), null if stream empty |
| pending | integer | Number of work items being processed (polled but not acknowledged) |
| type | string | The type of object |
| workers_polling | object | Number of workers that have polled for work in the last 30 seconds. Requires worker_id to be sent with poll requests. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/anthropic/main/json-schema/anthropic-beta-self-hosted-work-queue-stats-schema.json",
"title": "SelfHostedWorkQueueStats",
"description": "Statistics about the work queue for an environment.\n\nUses Redis Stream consumer group metrics for O(1) queries.",
"x-generated": "2026-09-23",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/anthropic-environments-api-openapi.yml#/components/schemas/BetaSelfHostedWorkQueueStats",
"properties": {
"depth": {
"type": "integer",
"title": "Depth",
"description": "Number of work items waiting to be picked up (lag from consumer group)"
},
"oldest_queued_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Oldest Queued At",
"description": "RFC 3339 timestamp of oldest item in the work stream (includes both queued and pending items), null if stream empty"
},
"pending": {
"type": "integer",
"title": "Pending",
"description": "Number of work items being processed (polled but not acknowledged)",
"default": 0
},
"type": {
"type": "string",
"const": "work_queue_stats",
"title": "Type",
"description": "The type of object",
"default": "work_queue_stats"
},
"workers_polling": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Workers Polling",
"description": "Number of workers that have polled for work in the last 30 seconds. Requires worker_id to be sent with poll requests."
}
},
"type": "object",
"required": [
"depth",
"oldest_queued_at",
"pending",
"type",
"workers_polling"
]
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/anthropic-beta-self-hosted-work-queue-stats"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.