Skip to main content
SLO & Service Quality/SLO
GETSLOSince 1.0SynchronousAuth Required

GetQueryTimeoutConfig

Retrieve the current VictoriaMetrics query timeout and fallback configuration.

Execution Availability

Try It Out

Submit a mock request using the current auth context and example-driven inputs.

Request Inputs

This API requires no request parameters.

Responses

200 OK

On success, this API returns the following response structure.

  • vmQueryTimeoutMsString

    VictoriaMetrics query timeout in milliseconds before fallback is triggered.

    Example: 5000

  • staleDataTtlSecsString

    Time-to-live in seconds for stale cached data to be considered valid.

    Example: 300

  • fallbackModeString

    Fallback strategy when VM is unavailable: stale_cache | last_known_good | conservative_estimate.

    Example: stale_cache

Endpoint

GET/api/v1/slo/config/query-timeout

/api/v1/slo/config/query-timeout

Operation ID

GetQueryTimeoutConfig

Permalink

Request Example

curl -X GET '{host}/api/v1/slo/config/query-timeout' -H 'Authorization: Bearer {token}'

Response Example

200
{
  "vmQueryTimeoutMs": 5000,
  "staleDataTtlSecs": 300,
  "fallbackMode": "stale_cache"
}

Change History

This API has no change history records yet.

View all change history