---
title: "GET /api/v1/config/log-retention-configs"
method: GET
path: "/api/v1/config/log-retention-configs"
tags: ["LogRetentionConfig"]
---

# GET /api/v1/config/log-retention-configs

`GET /api/v1/config/log-retention-configs`

## Query parameters

- `page.max_size` integer
- `page.token` string
- `slugs` string[]
- `names` string[]

## Response `200`

A successful response.

- Configv1ListLogRetentionConfigsResponse
  - `log_retention_configs` Configv1LogRetentionConfig[]
    - `created_at` string, date-time — Timestamp of when the LogRetentionConfig was created. Cannot be set by clients.
    - `filter` string, required — Log query filter. Only matching logs will have the retention config applied.
    - `mode` 'ENABLED' | 'DISABLED', required
    - `name` string, required — The name of the LogRetentionConfig. You can modify this value after the LogRetentionConfig is created.
    - `retention_days` integer, required — Number of days to retain matching logs in long-term (Iceberg) storage after they are exported. Once this period elapses, data is expired from Iceberg by the IcebergDeleter.
    - `slug` string, required — The unique identifier of the LogRetentionConfig. If a `slug` isn't provided, one is generated based on the `name` field. You can't modify this field after the LogRetentionConfig is created.
    - `updated_at` string, date-time — Timestamp of when the LogRetentionConfig was last updated. Cannot be set by clients.
  - `page` Configv1PageResult
    - `next_token` string — An opaque page token that identifies the next page of items that the client should request. An empty value indicates that there are no more items to return.

## Other responses

- `500` — An unexpected error response.
- `default` — An undefined error response.

---

[API](https://skmtc.dev/chronosphere/apis/data-v1-api.md) · [All operations](https://skmtc.dev/chronosphere/apis/data-v1-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chronosphere/data-v1-api/revisions/ee91fd539ced/schema)
