Skip to main content
Version: Next

TimeRangeLimitsResponseSchema

display_labels object
max_look_backstringnullable

e.g. 12 weeks; null when unset.

max_look_forwardstringnullable

e.g. 12 weeks; null when unset.

max_spanstringnullable

e.g. 12 weeks; null when unset.

eligible_time_grains object[]

The time grains a rule may use.

  • Array [
  • labelstring
    valuestring
  • ]
  • policy object
    max_look_back objectnullable
    quantityinteger

    How many time grains.

    time_grainstring

    The ISO 8601 time grain, e.g. P1W.

    max_look_forward objectnullable
    quantityinteger

    How many time grains.

    time_grainstring

    The ISO 8601 time grain, e.g. P1W.

    max_span objectnullable
    quantityinteger

    How many time grains.

    time_grainstring

    The ISO 8601 time grain, e.g. P1W.

    revisioninteger

    Always 0: the global policy comes from config.

    schema_versioninteger
    TimeRangeLimitsResponseSchema
    {
    "display_labels": {
    "max_look_back": "string",
    "max_look_forward": "string",
    "max_span": "string"
    },
    "eligible_time_grains": [
    {
    "label": "string",
    "value": "string"
    }
    ],
    "policy": {
    "max_look_back": {
    "quantity": 0,
    "time_grain": "string"
    },
    "max_look_forward": {
    "quantity": 0,
    "time_grain": "string"
    },
    "max_span": {
    "quantity": 0,
    "time_grain": "string"
    }
    },
    "revision": 0,
    "schema_version": 0
    }