---
title: "Start archive job"
method: POST
path: "/api/v1/k8s/logs/archive/jobs"
tags: ["Archive"]
---

# Start archive job

`POST /api/v1/k8s/logs/archive/jobs`

## Request

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

Manually trigger a log archiving job

## Request body

- object

## Response `202`

Accepted

- K8sLogsK8sLogArchiveJob
  - `app_name_filter` string
  - `archive_path` string
  - `archive_size` integer
  - `cluster_id_filter` string
  - `created_at` string
  - `end_date_filter` string
  - `end_time` string
  - `error_message` string
  - `id` string
  - `log_level_filter` string
  - `logs_processed` integer
  - `namespace_filter` string: Kubernetes-specific job details
  - `policy_id` string
  - `start_date_filter` string
  - `start_time` string
  - `status` string: pending, running, 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)
