API referenceSections

Observed facts and what can be offered, with reasons and freshness

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

GET /api/v1/tenants/{tid}/servers/{id}/capabilities

Observed facts and what can be offered, with reasons and freshness

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired
idpathstringrequired

Responses

200 Capabilities; unknown facts stay unknown

Content type: application/json

  • server_id string required
  • server_name string required
  • hostname string required
  • inventory_revision integer (int64) required
  • observed_at string (date-time) | null required
  • agent_version string required
  • agent_protocol integer optional

    The agent's protocol (ADR 0152): 1 for an agent from before it was reported, 0 with no report

  • compat AgentCompat optional

    How an agent stands against the panel, by the version skew policy (ADR 0152). current: same release; older: older release, same protocol, does everything; behind: older protocol, actions needing a newer one are refused with AGENT_PROTOCOL_TOO_OLD; unsupported: below the oldest protocol the panel drives, only updates run; newer: newer than the panel; unknown: no report yet or a development build

    • 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
  • stale boolean required
  • facts map<string, Fact> required
    • status string required
      Allowed values: "known" "unknown"
    • value any optional
    • reason string optional
  • actions array<Action> required
    • id string required
    • allowed boolean required
    • reason_code string optional
  • time_sync null | object optional

    Latest clock fix on this server, automatic or asked for (ADR 0060).

    • job_id string required
    • requested_at string (date-time) required
    • automatic boolean required
    • skew_seconds number required
    • state string optional
      Allowed values: "queued" "leased" "succeeded" "failed"
    • error_code string optional
    • result object optional
      • skew_before_seconds number required
      • skew_after_seconds number required
      • measured boolean required
      • set_directly boolean required
      • source string optional
Example
{
  "server_id": "string",
  "server_name": "string",
  "hostname": "string",
  "inventory_revision": 0,
  "observed_at": "2026-01-01T00:00:00Z",
  "agent_version": "string",
  "agent_protocol": 0,
  "compat": {
    "state": "current",
    "agent_version": "string",
    "agent_protocol": 0,
    "panel_version": "string",
    "panel_protocol": 0,
    "min_protocol": 0
  },
  "stale": true,
  "facts": {
    "key": {
      "status": "known",
      "value": null,
      "reason": "string"
    }
  },
  "actions": [
    {
      "id": "string",
      "allowed": true,
      "reason_code": "string"
    }
  ],
  "time_sync": {
    "job_id": "string",
    "requested_at": "2026-01-01T00:00:00Z",
    "automatic": true,
    "skew_seconds": 0,
    "state": "queued",
    "error_code": "string",
    "result": {
      "skew_before_seconds": 0,
      "skew_after_seconds": 0,
      "measured": true,
      "set_directly": true,
      "source": "string"
    }
  }
}

default Error

Content type: application/json

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