Read the pending-task count for a process path (read model)
GET/queues/:taskType/depth
A projection, not a live domain query: returns how many tasks of taskType currently sit Pending (not yet claimed) in the pool. Read-only — this endpoint never mutates state. An unrecognized taskType is not an error; it simply has a depth of 0, since this is a count over existing tasks rather than a lookup against a fixed enum the server enforces.
Request
Responses
- 200
- 500
Current pending-task count for taskType.
An unexpected server-side failure (e.g. a repository or event-publisher error).