VPS Resources API v1 ==================== Read-only public JSON. No login, cookies, or JavaScript required. Base: https://77.216.186.22 GET /api/v1/status.json Automated monitoring: poll every 15 minutes by default, at any minute offset. The server publishes a new sample every minute independently of polling. Manual or temporary monitoring may poll every minute. This single endpoint provides current values, capacity, relative utilization, health signals, a rolling 20-minute activity summary, last-hour coverage and totals, and the SSD forecast. Use If-None-Match with the previous ETag when supported. On 304, reuse the previous body and still check its stale_after timestamp. Accept-Encoding: gzip reduces transfer size, not the decoded byte count. GET /api/v1/stats/1h.json GET /api/v1/stats/6h.json GET /api/v1/stats/24h.json GET /api/v1/stats/7d.json GET /api/v1/stats/30d.json On-demand summaries without chart data. Snapshots update every 1, 2, 5, 10, and 15 minutes respectively. Schema and time --------------- version = 1. *_at and stale_after are Unix seconds in UTC. Window start is exclusive; window end is inclusive. "freshness" is fresh or stale. Respect stale_after even when reusing a body outside HTTP. On stale status the health is stale and the current signals are empty; retained numbers are last readings. Null means unavailable (no reliable sample, insufficient data, or no comparable counter interval). It differs from zero. SSD latency is null if no operation completed. Stats with no readings have samples = 0. P99 is null below 200 samples. Coverage is a fraction from 0 to 1; metric coverage can be lower than the overall window coverage. Gaps count breaks between retained minute samples. Expected samples derive from the requested duration at one-minute resolution. Values ------ Field suffixes encode units: pct (percentage points on a 0–100 scale where bounded), gib (2^30 bytes), gb (10^9 bytes), mb_s (10^6 bytes/second), mib_s (2^20 bytes/second), mbps (10^6 bits/second), ms, days, and s (seconds). IOPS counts completed operations per second. Queue depth is the time-weighted number of outstanding requests. Load is Linux load average at 1/5/15 minutes. Pressure (PSI) uses the kernel's 10-second average. OOM counts kernel OOM kills. Restart totals are observed transitions; missing monitoring can hide events. Network volumes include only measured intervals fully within the window. SSD occupancy includes the filesystem reserve; ssd_usable_gb excludes it. utilization_pct contains RAM/usable guest RAM and RX/TX versus the nominal port. CPU and SSD percentages are already in metrics. Port ratios can exceed 100%. References ---------- capacity measures the guest or gives the labeled nominal port. references.plan is the documented specification; references.benchmarks is the verified benchmark register (empty if no results are confirmed). A window's max is an observed operating peak. Benchmarks and nominal capacities are separate from max. A mixed SSD workload is not compared with sequential or random benchmark limits. Health signals -------------- health = normal, watch, high, unknown, or stale. Signals are threshold indicators, not diagnosis. Watch/high thresholds: CPU 75/90%, CPU steal 5/15%, RAM used 80/90%, full memory pressure 1/5%, fullest filesystem 75/90%, I/O pressure or I/O wait 10/25%, nominal network port share 70/90% for each direction. A last-hour OOM kill is high. Signal values are percentages except OOM, a count. Normal requires current CPU/RAM/SSD/RX/TX/I/O-pressure readings. Rolling activity (last_20m) --------------------------- The interval is (start_at, sample_at], based on the published sample. Metrics summarize the existing minute readings for the same nine threshold metrics, in percent. Network peak and mean are percentages of the nominal port. Each metric gives max, mean, the first peak_at, and valid samples. With no valid reading, the metric has only samples = 0. Check window samples, expected_samples and gaps for incomplete coverage. Each anomalies entry groups all breaches of one signal code. level is the highest level reached during the window. first_breach_at and last_breach_at are sample timestamps. estimated_duration_s is breach_samples times the minute interval, capped at 20 minutes. It estimates accumulated time rather than continuous duration. A missing reading, gap, or value below the warning threshold breaks an episode. state is active if the latest sample breaches the warning threshold, cleared if it is below, or unknown if it is missing. Use signals for current severity. OOM kills have observation interval bounds when detected, since exact event time and duration are unavailable. Restarts are reported at the detected boot timestamp. OOM kills count fully observed counter intervals inside the window. For 15-minute polling use this block to find events that cleared between requests. The five minutes of overlap help avoid missed events. Remember the previous sample_at and avoid repeating anomalies whose last_breach_at is at or before it. Alert separately on newly observed breaches, escalations, newly detected OOM kills or restarts, and a transition to cleared if relevant. If monitoring data is stale, this block describes the last published window. SSD forecast ------------ ssd_forecast.state is short, unstable, or projected. Per-window ssd_growth gives growth_gb_per_day when sufficiently covered. A projected result requires at least seven adequately covered daily medians, stable capacity, a positive trend, and R-squared >= 0.65. days_to_ssd_threshold_pct is keyed by 75, 85, 90; zero means already reached. It is an extrapolation, not a deadline.