---
title: "Returns a list of BackgroundJobs threads"
method: POST
path: "/v1/admin/background_job/loggers"
tags: ["Background Jobs"]
---

# Returns a list of BackgroundJobs threads

`POST /v1/admin/background_job/loggers`

Get loggers from all Background Jobs workers.

## Request body

- BackgroundJobLoggerRequest
  - `executor` 'AI' | 'AI_AGENT' | 'AI_BG' | 'BROKER' | 'COMPLIANCE' | 'COST' | 'COST_BG' | 'COST_BG_CLOUD_BILLING' | 'COST_BG_K8S_BILLING' | 'FEATURE_FLAGS' | 'GOVERNANCE' | 'HEATSTACK' | 'HEATSTACK_BG' | 'IDENTITY' | 'IDENTITY_BG' | 'OPERATIONS' | 'REPORT_GENERATION' | 'RESOURCE_INVENTORY' | 'RESOURCE_INVENTORY_BG' | 'SECURITY' — Filter to loggers in this executor

## Response `200`

Generated

- BackgroundJobLogger[]
  - `executor` 'AI' | 'AI_AGENT' | 'AI_BG' | 'BROKER' | 'COMPLIANCE' | 'COST' | 'COST_BG' | 'COST_BG_CLOUD_BILLING' | 'COST_BG_K8S_BILLING' | 'FEATURE_FLAGS' | 'GOVERNANCE' | 'HEATSTACK' | 'HEATSTACK_BG' | 'IDENTITY' | 'IDENTITY_BG' | 'OPERATIONS' | 'REPORT_GENERATION' | 'RESOURCE_INVENTORY' | 'RESOURCE_INVENTORY_BG' | 'SECURITY' — Executor owning the logger
  - `name` string — Name of the logger
  - `level` 'CRITICAL' | 'ERROR' | 'WARNING' | 'INFO' | 'DEBUG' | 'DEBUG_VERBOSE' | 'DEBUG_OBNOXIOUS' | 'NOTSET' — Level of a Background Job Logger
  - `effective_level` 'CRITICAL' | 'ERROR' | 'WARNING' | 'INFO' | 'DEBUG' | 'DEBUG_VERBOSE' | 'DEBUG_OBNOXIOUS' | 'NOTSET' — Level of a Background Job Logger

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `500` — Internal Server Error

---

[API](https://skmtc.dev/corestack/apis/corestack-external-api.md) · [All operations](https://skmtc.dev/corestack/apis/corestack-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corestack/corestack-external-api/revisions/bf2cdf20826d/schema)
