API referenceSections

Capabilities

Capabilities object
  • 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

  • stale boolean required
  • facts map<string, Fact> required
  • actions array<Action> required
  • 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

Used by

GET/api/v1/tenants/{tid}/servers/{id}/capabilitiesObserved facts and what can be offered, with reasons and freshness