---
title: "Get the configuration for a Project-level Task Queue."
method: GET
path: "/management/v1/project/task-queue/task_log_cleanup/config"
tags: ["tasks"]
---

# Get the configuration for a Project-level Task Queue.

`GET /management/v1/project/task-queue/task_log_cleanup/config`

## Request

- Base URL: `https://localhost`
- URL: `https://localhost/management/v1/project/task-queue/task_log_cleanup/config`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/docs/management/v1/project/task-queue/task_log_cleanup/config/get.ts> (a function with typed inputs; its response is checked against the schema)

These configurations are global per project and shared across all instances of this kind of task.

## Headers

- `x-project-id` string, nullable

## Response `200`

- GetTaskLogCleanupConfig
  - `max-seconds-since-last-heartbeat` integer, nullable
  - `queue-config` TaskLogCleanupConfig, required
    - `cleanup-period` string, nullable: How often to run the cleanup task in ISO8601 duration format. Defaults to once a day (P1D). If a value below 1 day is provided, it will be set to the default of 1 day.
    - `retention-period` string, nullable: How long to retain task logs before deletion in ISO8601 duration format. Defaults to 90 days.

## Other responses

- `4XX`

---

[API](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api.md) - [All operations](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/llms.txt) - [OpenAPI document](https://skmtc.dev/lakekeeper/apis/lakekeeper-management-api/revisions/c5cb9a12a98c?raw)
