Base URL
The Engine base URL is configured in the Pastures extension settings page. All endpoints below are relative to this base URL.AI Diagnostics
POST /api/diagnose
Generate an AI diagnosis for a cluster issue.string
required
The diagnostic question or error description.
boolean
default:false
Whether to generate a remediation plan with fix commands.
Advisories
GET /api/advisories
List active advisories for the current cluster.Clusters
GET /api/clusters
List all registered clusters.GET /api/clusters//health-score
Get the health score for a specific cluster.string
required
Cluster identifier.
GET /api/clusters//issues
List active issues for a cluster.string
required
Cluster identifier.
Upgrade Risk
POST /api/clusters//upgrade-risk
Assess risk for a component upgrade.string
required
Cluster identifier.
string
required
Component to upgrade (e.g.,
k3s, rke2, longhorn).string
required
Target version string.
CIS Benchmarks
POST /api/cis/scan
Trigger a CIS benchmark scan on the cluster.GPU Fleet
GET /api/gpu/nodes
List GPU nodes across the fleet.Monitoring
GET /api/monitoring/status
Get monitoring subsystem status.GET /api/monitoring/metrics
Get cluster metrics data.GET /api/monitoring/alerts
List active monitoring alerts.etcd Management
GET /api/etcd/snapshots
List available etcd snapshots.POST /api/etcd/snapshot
Create a new etcd snapshot.POST /api/etcd/restore
Restore from an etcd snapshot.Audit
GET /api/audit/actions
List audited actions.GET /api/audit/status
Get audit subsystem status.GET /api/audit/k8s
Get Kubernetes audit events.Support Bundle
POST /api/support-bundle
Generate a support bundle for troubleshooting.Operations
POST /api/clusters//actions/execute
Execute a fix command on a cluster.string
required
Cluster identifier.
string
required
The command to execute.
string
Associated diagnosis ID for traceability.