---
title: "Get log collection jobs"
method: GET
path: "/api/v1/k8s/logs/collect/jobs"
tags: ["K8s Logs"]
---

# Get log collection jobs

`GET /api/v1/k8s/logs/collect/jobs`

## Request

- Base URL: `http://localhost:8080`
- URL: `http://localhost:8080/api/v1/k8s/logs/collect/jobs`
- Auth: none declared

Retrieve log collection job history

## Query parameters

- `limit` integer
- `status` string

## Response `200`

OK

- K8sLogsK8sLogCollectionJob[]
  - `app_name` string
  - `cluster_id` string
  - `container_name` string
  - `created_at` string
  - `end_time` string
  - `error_message` string
  - `id` string
  - `logs_collected` integer
  - `namespace` string
  - `pod_name` string
  - `s3_key` string
  - `s3_upload_time` string
  - `start_time` string
  - `status` string: pending, collecting, completed, failed

---

[API](https://skmtc.dev/nife/apis/nife-io-swagger-api.md) - [All operations](https://skmtc.dev/nife/apis/nife-io-swagger-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nife/apis/nife-io-swagger-api/revisions/6e868dc62795?raw)
