API referenceSections

Every server's agent version and protocol against the panel, by the version skew policy

Generated from the OpenAPI contract. Sessions send the CSRF header on writes; API keys use a Bearer token. Authentication

GET /api/v1/tenants/{tid}/agent-versions

Every server's agent version and protocol against the panel, by the version skew policy (ADR 0152). Servers whose agent was revoked are left out.

Authentication: session cookie __Host-panel_session (contract default; see Authentication).

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Versions

Content type: application/json

  • panel_version string required
  • panel_protocol integer required
  • min_protocol integer required
  • counts map<string, integer> required

    Servers per state

  • servers array<AgentCompat & object> required

    Servers needing attention first

    • state string required
      Allowed values: "current" "older" "behind" "unsupported" "newer" "unknown"
    • agent_version string required
    • agent_protocol integer required
    • panel_version string required
    • panel_protocol integer required
    • min_protocol integer required
    • server_id string required
    • name string required
Example
{
  "panel_version": "string",
  "panel_protocol": 0,
  "min_protocol": 0,
  "counts": {
    "key": 0
  },
  "servers": [
    {
      "state": "current",
      "agent_version": "string",
      "agent_protocol": 0,
      "panel_version": "string",
      "panel_protocol": 0,
      "min_protocol": 0,
      "server_id": "string",
      "name": "string"
    }
  ]
}

default Error

Content type: application/json

  • code string required
  • message string required
  • details_redacted boolean required
  • correlation_id string required
  • retryable boolean required