---
title: "Get Kubernetes log metadata (S3 mode)"
method: GET
path: "/api/v1/k8s/logs/s3/metadata"
tags: ["K8s Logs - S3"]
---

# Get Kubernetes log metadata (S3 mode)

`GET /api/v1/k8s/logs/s3/metadata`

## Request

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

Retrieve K8s log metadata when using S3 storage

## Query parameters

- `cluster_id` string
- `namespace` string
- `pod_name` string
- `start_time` string
- `end_time` string
- `limit` integer

## Response `200`

OK

- K8sLogsLogMetadata[]
  - `app_name` string
  - `cluster_id` string
  - `compressed_size` integer
  - `compression` string
  - `container_name` string
  - `created_at` string
  - `end_timestamp` string
  - `id` string
  - `line_count` integer
  - `log_level` string
  - `namespace` string
  - `org_id` string
  - `pod_name` string
  - `s3_bucket` string
  - `s3_key` string
  - `start_timestamp` string
  - `uncompressed_size` integer

---

[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)
