diff --git a/.generator/schemas/v2/openapi.yaml b/.generator/schemas/v2/openapi.yaml
index 0bf14e17433..aad2fc17069 100644
--- a/.generator/schemas/v2/openapi.yaml
+++ b/.generator/schemas/v2/openapi.yaml
@@ -213450,12 +213450,14 @@ paths:
start with `app.` and end with `.count`. The exception is a value whose only `*` is at the end (for
example, `http.request*`): it matches names that start with that text and is case-sensitive.
Spaces are treated as `*`. Only one value is accepted; repeating the parameter returns
- `400 Bad Request`. Allowed characters are letters, digits, `_`, `.`, `*`, and spaces. An empty value
- is ignored.
+ `400 Bad Request`. Allowed characters are letters, digits, `_`, `.`, `*`, and spaces. Surrounding spaces
+ are ignored, and an empty or spaces-only value is ignored. The value can be at most 200 characters (the
+ longest metric name); a longer value returns `400 Bad Request`.
in: query
name: filter[metrics.id]
required: false
schema:
+ maxLength: 200
pattern: "^[a-zA-Z0-9_.* ]*$"
type: string
- description: |-
diff --git a/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java b/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java
index 8e6d2b5870e..aacbf161107 100644
--- a/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java
+++ b/src/main/java/com/datadog/api/client/v2/api/MetricsApi.java
@@ -3324,8 +3324,9 @@ public ListTagConfigurationsOptionalParameters filterRelatedAssets(
* http.request*): it matches names that start with that text and is case-sensitive.
* Spaces are treated as *. Only one value is accepted; repeating the parameter
* returns 400 Bad Request. Allowed characters are letters, digits, _
- * , ., *, and spaces. An empty value is ignored.
- * (optional)
+ * , ., *, and spaces. Surrounding spaces are ignored, and
+ * an empty or spaces-only value is ignored. The value can be at most 200 characters (the
+ * longest metric name); a longer value returns 400 Bad Request. (optional)
* @return ListTagConfigurationsOptionalParameters
*/
public ListTagConfigurationsOptionalParameters filterMetricsId(String filterMetricsId) {