API referenceSections

Security checks of the servers and sites the caller may see, with a score

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

GET /api/v1/tenants/{tid}/security

Security checks of the servers and sites the caller may see, with a score (ADR 0022)

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

Parameters

NameInTypeRequiredDescription
tidpathstringrequired

Responses

200 Report; failed checks first

Content type: application/json

  • score integer required

    0-100, or -1 when nothing could be checked

  • passed integer required
  • failed integer required
  • unknown integer required
  • checks array<SecurityCheck> required
    • id string required
    • severity string required
      Allowed values: "high" "medium" "low"
    • scope string required
      Allowed values: "server" "sites"
    • server_id string optional
    • server_name string optional
    • state string required
      Allowed values: "pass" "fail" "unknown"
    • items array<string> required
    • fix object optional
      • open string optional

        Panel path, relative to the tenant

      • command string optional

        PowerShell for an administrator to run

    • auto string optional

      One-click fix the provider may run (ADR 0111); time_sync is the clock fix

    • reversible boolean optional
    • undo HardeningUndo optional
      • fix string required
      • applied_at string (date-time) required
      • by string required

        User ID

      • changes array<HardeningChange> required
        • item string required
        • before string required
        • after string required
    • deep boolean optional

      From the provider's deep check

    • checked_at string (date-time) optional
Example
{
  "score": 0,
  "passed": 0,
  "failed": 0,
  "unknown": 0,
  "checks": [
    {
      "id": "string",
      "severity": "high",
      "scope": "server",
      "server_id": "string",
      "server_name": "string",
      "state": "pass",
      "items": [
        "string"
      ],
      "fix": {
        "open": "string",
        "command": "string"
      },
      "auto": "string",
      "reversible": true,
      "undo": {
        "fix": "string",
        "applied_at": "2026-01-01T00:00:00Z",
        "by": "string",
        "changes": [
          {
            "item": "string",
            "before": "string",
            "after": "string"
          }
        ]
      },
      "deep": true,
      "checked_at": "2026-01-01T00:00:00Z"
    }
  ]
}

default Error

Content type: application/json

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