From 24bc6d27acd45c5c49335f8ff141569e2440f1f3 Mon Sep 17 00:00:00 2001 From: Charles Korn Date: Fri, 6 Mar 2026 19:07:33 +1100 Subject: [PATCH] docs: clarify that `lookback_delta` query parameter takes either a duration or number of seconds Signed-off-by: Charles Korn --- docs/querying/api.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/querying/api.md b/docs/querying/api.md index 78574ec103..a45e3c292b 100644 --- a/docs/querying/api.md +++ b/docs/querying/api.md @@ -101,7 +101,7 @@ URL query parameters: - `timeout=`: Evaluation timeout. Optional. Defaults to and is capped by the value of the `-query.timeout` flag. - `limit=`: Maximum number of returned series. Doesn't affect scalars or strings but truncates the number of series for matrices and vectors. Optional. 0 means disabled. -- `lookback_delta=`: Override the the [lookback period](#staleness) just for this query. Optional. +- `lookback_delta=`: Override the the [lookback period](#staleness) just for this query in `duration` format or float number of seconds. Optional. - `stats=`: Include query statistics in the response. If set to `all`, includes detailed statistics. Optional. The current server time is used if the `time` parameter is omitted. @@ -175,7 +175,7 @@ URL query parameters: - `timeout=`: Evaluation timeout. Optional. Defaults to and is capped by the value of the `-query.timeout` flag. - `limit=`: Maximum number of returned series. Optional. 0 means disabled. -- `lookback_delta=`: Override the the [lookback period](#staleness) just for this query. Optional. +- `lookback_delta=`: Override the the [lookback period](#staleness) just for this query in `duration` format or float number of seconds. Optional. - `stats=`: Include query statistics in the response. If set to `all`, includes detailed statistics. Optional. You can URL-encode these parameters directly in the request body by using the `POST` method and