Skip to main content

Get Pending Class Breakdown

GET 

/api/v2/queue-admin/jobs/pending/class-breakdown

Returns a class breakdown for pending+delayed jobs across all Horizon queues, grouped by FQCN. The same filter set as List Pending Jobs applies (the class filter is intentionally ignored here — you would otherwise be filtering the breakdown by exactly one class).

The breakdown is sorted desc by count. short_class is the FQCN's basename (e.g. App\Jobs\SyncShopifyOrdersSyncShopifyOrders).

Drives the "Breakdown by Class" expansion panel on the Queue Admin Pending tab — click a class chip to set filter[class] on the main list.

Authentication: Requires Bearer token. Caller must pass the is_power_user middleware.

Request

Responses

Successful response