From c6814914234ce6f5662e2d3ec4e83acc297dad09 Mon Sep 17 00:00:00 2001 From: Jason Stirnaman Date: Mon, 15 Dec 2025 14:20:44 -0500 Subject: [PATCH] fix(influxdb3): add retention_period to CreateDatabaseRequest (#6629) Add the undocumented retention_period parameter to the database creation API for InfluxDB 3 Core. closes #6610 --- api-docs/influxdb3/core/v3/ref.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/api-docs/influxdb3/core/v3/ref.yml b/api-docs/influxdb3/core/v3/ref.yml index 2d8a66b4a..d7a3681b2 100644 --- a/api-docs/influxdb3/core/v3/ref.yml +++ b/api-docs/influxdb3/core/v3/ref.yml @@ -2115,6 +2115,12 @@ components: properties: db: type: string + retention_period: + type: string + description: | + The retention period for the database. Specifies how long data should be retained. + Use duration format (for example, "1d", "1h", "30m", "7d"). + example: 7d required: - db CreateTableRequest: