at.happyproto.fleet.getBenchmarks

happyproto.at

Documentation

Where one instance sits in its size cohort. Withheld below a cohort of 10: a percentile over fewer is not an aggregate, it is individual data with a statistic drawn over it. Admin only.

main query

Where one instance sits in its size cohort. Withheld below a cohort of 10: a percentile over fewer is not an aggregate, it is individual data with a statistic drawn over it. Admin only.

Parameters

instance string Required

Instance id to position within its cohort.

Output

Encodingapplication/json
cohort string Optional

No description available.

cohortSize integer Optional

No description available.

computedAt stringdatetime Optional

The rollup refreshes daily, so this can be 24 hours old.

have integer Optional

History available, when accruing.

metrics array Required

No description available.

minimum integer Optional

Smallest cohort a benchmark is published for.

need integer Optional

History required, when accruing.

reason string Optional

No description available.

Known values: cohort
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

Errors

AuthRequired This endpoint requires an authenticated caller.
Forbidden The caller is not a HappyProto admin.
Upstream The telemetry store could not be queried.
InvalidRequest instance is required.
NotFound No snapshots for that instance.
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)
Parameters
Instance id to position within its cohort.
View raw schema
{
  "description": "Where one instance sits in its size cohort. Withheld below a cohort of 10: a percentile over fewer is not an aggregate, it is individual data with a statistic drawn over it. 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"
    },
    {
      "description": "instance is required.",
      "name": "InvalidRequest"
    },
    {
      "description": "No snapshots for that instance.",
      "name": "NotFound"
    }
  ],
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "cohort": {
          "type": "string"
        },
        "cohortSize": {
          "type": "integer"
        },
        "computedAt": {
          "description": "The rollup refreshes daily, so this can be 24 hours old.",
          "format": "datetime",
          "type": "string"
        },
        "have": {
          "description": "History available, when accruing.",
          "type": "integer"
        },
        "metrics": {
          "items": {
            "ref": "#metric",
            "type": "ref"
          },
          "type": "array"
        },
        "minimum": {
          "description": "Smallest cohort a benchmark is published for.",
          "type": "integer"
        },
        "need": {
          "description": "History required, when accruing.",
          "type": "integer"
        },
        "reason": {
          "knownValues": [
            "cohort"
          ],
          "type": "string"
        },
        "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"
        }
      },
      "required": [
        "status",
        "metrics"
      ],
      "type": "object"
    }
  },
  "parameters": {
    "properties": {
      "instance": {
        "description": "Instance id to position within its cohort.",
        "type": "string"
      }
    },
    "required": [
      "instance"
    ],
    "type": "params"
  },
  "type": "query"
}
metric object

No description available.

Properties

metric string Required

No description available.

p50 integer Required

No description available.

percentile integer Required

No description available.

value integer Required

No description available.

View raw schema
{
  "properties": {
    "metric": {
      "type": "string"
    },
    "p50": {
      "type": "integer"
    },
    "percentile": {
      "type": "integer"
    },
    "value": {
      "type": "integer"
    }
  },
  "required": [
    "metric",
    "value",
    "p50",
    "percentile"
  ],
  "type": "object"
}

Lexicon Garden

@