---
title: "GET /config/garbage-collection"
method: GET
path: "/config/garbage-collection"
tags: ["internal"]
---

# GET /config/garbage-collection

`GET /config/garbage-collection`

get information of gc settings

## Response `200`

lakeFS garbage collection config

- GarbageCollectionConfig
  - `grace_period` integer — Duration in seconds. Objects created in the recent grace_period will not be collected.

## Other responses

- `401` — Unauthorized

---

[API](https://skmtc.net/treeverse/apis/lakefs-api.md) · [All operations](https://skmtc.net/treeverse/apis/lakefs-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/treeverse/lakefs-api/versions/4617f80bee61/schema)
