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
/api/v1/tenants/{tid}/servers/{id}/capabilitiesObserved facts and what can be offered, with reasons and freshness
Authentication: session cookie __Host-panel_session (contract default; see Authentication).
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
tid | path | string | required | |
id | path | string | required |
Responses
200 Capabilities; unknown facts stay unknown
Content type: application/json
server_idstring requiredserver_namestring requiredhostnamestring requiredinventory_revisioninteger (int64) requiredobserved_atstring (date-time) | null requiredagent_versionstring requiredagent_protocolinteger optionalThe agent's protocol (ADR 0152): 1 for an agent from before it was reported, 0 with no report
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
statestring requiredAllowed values:"current""older""behind""unsupported""newer""unknown"agent_versionstring requiredagent_protocolinteger requiredpanel_versionstring requiredpanel_protocolinteger requiredmin_protocolinteger required
staleboolean requiredstatusstring requiredAllowed values:"known""unknown"valueany optionalreasonstring optional
idstring requiredallowedboolean requiredreason_codestring optional
time_syncnull | object optionalLatest clock fix on this server, automatic or asked for (ADR 0060).
job_idstring requiredrequested_atstring (date-time) requiredautomaticboolean requiredskew_secondsnumber requiredstatestring optionalAllowed values:"queued""leased""succeeded""failed"error_codestring optionalresultobject optionalskew_before_secondsnumber requiredskew_after_secondsnumber requiredmeasuredboolean requiredset_directlyboolean requiredsourcestring 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
codestring requiredmessagestring requireddetails_redactedboolean requiredcorrelation_idstring requiredretryableboolean required