---
title: "Export logs to file"
method: POST
path: "/api/v1/k8s/logs/export"
tags: ["Export"]
---

# Export logs to file

`POST /api/v1/k8s/logs/export`

## Request

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

Start an async job to export logs in CSV or JSON format

## Request body

- object

## Response `202`

Accepted

- object

---

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