Skip to main content

Get Completed Class Breakdown

GET 

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

Returns a class breakdown of completed jobs grouped by FQCN, including per-class count, average runtime, total runtime, and last-completed-at timestamp.

The same filter set as List Completed Jobs applies (the class filter is intentionally ignored — it would collapse the breakdown to one row).

The breakdown is sorted desc by count. short_class is the FQCN's basename (e.g. App\Jobs\SyncShopifyOrdersJobSyncShopifyOrdersJob). avg_runtime_seconds is null when none of the matched jobs had both reserved_at and completed_at recorded.

Drives the "Completed Jobs by Class" panel on the Queue Admin overview — click a class chip to drill into the matching jobs.

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

Request

Responses

Successful response