at.happyproto.fleet.getResets

happyproto.at

Documentation

Counter resets — the negative deltas instance_daily_deltas discards. A reset is a restored backup, a wiped volume, a re-provision or a wrong clock. Admin only.

main query

Counter resets — the negative deltas instance_daily_deltas discards. A reset is a restored backup, a wiped volume, a re-provision or a wrong clock. Admin only.

Output

Encodingapplication/json
have integer Optional

History available, when accruing.

need integer Optional

History required, when accruing.

resets array Required

No description available.

status string Required

Why a figure is absent. Branch on this, never on field presence.

Known values: ok, accruing, withheld
unit string Optional

No description available.

Known values: days, snapshots
windowDays integer Optional

No description available.

Errors

AuthRequired This endpoint requires an authenticated caller.
Forbidden The caller is not a HappyProto admin.
Upstream The telemetry store could not be queried.
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://api.bsky.social)
View raw schema
{
  "description": "Counter resets — the negative deltas instance_daily_deltas discards. A reset is a restored backup, a wiped volume, a re-provision or a wrong clock. Admin only.",
  "errors": [
    {
      "description": "This endpoint requires an authenticated caller.",
      "name": "AuthRequired"
    },
    {
      "description": "The caller is not a HappyProto admin.",
      "name": "Forbidden"
    },
    {
      "description": "The telemetry store could not be queried.",
      "name": "Upstream"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "have": {
          "description": "History available, when accruing.",
          "type": "integer"
        },
        "need": {
          "description": "History required, when accruing.",
          "type": "integer"
        },
        "resets": {
          "items": {
            "ref": "#reset",
            "type": "ref"
          },
          "type": "array"
        },
        "status": {
          "description": "Why a figure is absent. Branch on this, never on field presence.",
          "knownValues": [
            "ok",
            "accruing",
            "withheld"
          ],
          "type": "string"
        },
        "unit": {
          "knownValues": [
            "days",
            "snapshots"
          ],
          "type": "string"
        },
        "windowDays": {
          "type": "integer"
        }
      },
      "required": [
        "status",
        "resets"
      ],
      "type": "object"
    }
  },
  "type": "query"
}
reset object

No description available.

Properties

day string Required

No description available.

from integer Required

Value before the reset.

instanceId string Required

No description available.

metric string Required

No description available.

to integer Required

Value after it. Both are carried because "records fell" is not actionable and "fell from 412,000 to 12" is.

View raw schema
{
  "properties": {
    "day": {
      "type": "string"
    },
    "from": {
      "description": "Value before the reset.",
      "type": "integer"
    },
    "instanceId": {
      "type": "string"
    },
    "metric": {
      "type": "string"
    },
    "to": {
      "description": "Value after it. Both are carried because \"records fell\" is not actionable and \"fell from 412,000 to 12\" is.",
      "type": "integer"
    }
  },
  "required": [
    "instanceId",
    "day",
    "metric",
    "from",
    "to"
  ],
  "type": "object"
}

Lexicon Garden

@