Please select the area the issue is related to
Area/Management (Management API or Management Portal UI)
Please select the aspect the issue is related to
Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI), Aspect/Monitoring (Metrics, observability, health checks, alerts)
Description
When configuring a Token Based Ratelimit policy on an LLM Provider under the Global Guardrails & Policies section, the duration field accepts values that are not valid for example "10 m". The invalid value is accepted by the UI, saved by the Platform API, and the deployment reports success .
No validation error is shown at save time, deploy time, or runtime. The user believes a limit is active when it is not. The rate limit has silently dropped.
Steps to Reproduce
- Open an LLM Provider in AI Workspace → Global Guardrails & Policies → add Token Based Ratelimit (v1).
- Under
totalTokenLimits → Item 1, set count = 56 and duration = 10 m (with a space).
- Save the policy and Deploy to Gateway.
- Send a chat completion request whose token usage exceeds the limit.
- Repeat the request 2–3 times.
Severity Level of the Issue
Severity/Trivial (Cosmetic issues. Can be fixed in future releases)
Environment Details (with versions)
No response
Please select the area the issue is related to
Area/Management (Management API or Management Portal UI)
Please select the aspect the issue is related to
Aspect/API (API backends, definitions, contracts, interfaces, OpenAPI), Aspect/Monitoring (Metrics, observability, health checks, alerts)
Description
When configuring a Token Based Ratelimit policy on an LLM Provider under the
Global Guardrails & Policiessection, thedurationfield accepts values that are not valid for example"10 m". The invalid value is accepted by the UI, saved by the Platform API, and the deployment reports success .No validation error is shown at save time, deploy time, or runtime. The user believes a limit is active when it is not. The rate limit has silently dropped.
Steps to Reproduce
totalTokenLimits→ Item 1, set count =56and duration =10 m(with a space).Severity Level of the Issue
Severity/Trivial (Cosmetic issues. Can be fixed in future releases)
Environment Details (with versions)
No response