The global server-state object nested under server_state in
sync/maindata (see ext/api-map.md ยง3). It carries the same
speed/data/rate-limit/connection counters as transfer/info plus the
richer disk-cache, queueing and all-time statistics the sync payload adds.
This mirrors TransferInfo's field layout rather than reusing it, because
sync is delta-based: on an incremental response only the fields that
changed since the last response id are present. Every field is therefore
nilable so any subset decodes without raising, and
JSON::Serializable::Unmapped preserves keys not modelled here (forward
drift on newer builds).
Byte and speed counters are Int64 (they routinely exceed Int32);
ratio/percentage-like values the API sends as strings are kept as
String? verbatim rather than coerced.
Instance methods
alltime_dl
All-time downloaded data, bytes.
Sourcealltime_ul
All-time uploaded data, bytes.
Sourceaverage_time_queue
Average time a job spends queued, milliseconds.
Sourceconnection_status
Connection status. Decoded tolerantly: an unknown/null wire value
becomes nil rather than raising (see ConnectionStatusConverter).
Sourcedht_nodes
Number of DHT nodes currently connected.
Sourcedl_info_data
Data downloaded this session, bytes.
Sourcedl_info_speed
Current global download speed, bytes/s.
Sourcedl_rate_limit
Global download rate limit, bytes/s (0 = unlimited).
Sourcefree_space_on_disk
Free space on the default save-path disk, bytes.
Sourceglobal_ratio
All-time (global) share ratio, sent as a string by the API.
Sourcelast_external_address_v4
Last detected external IPv4 address (qB 5.x; e.g. "0.0.0.0").
Sourcelast_external_address_v6
Last detected external IPv6 address (qB 5.x; empty when none).
Sourcequeued_io_jobs
Number of queued disk I/O jobs.
Sourcequeueing
Whether torrent queueing is enabled.
Sourceread_cache_hits
Read cache hit ratio (percentage), sent as a string.
Sourceread_cache_overload
Read cache overload (percentage), sent as a string.
Sourcerefresh_interval
WebUI refresh interval, milliseconds.
Sourcetotal_buffers_size
Total buffer size, bytes.
Sourcetotal_queued_size
Total size of queued I/O, bytes.
Sourcetotal_wasted_session
Data wasted this session (hashfail etc.), bytes.
Sourceup_info_data
Data uploaded this session, bytes.
Sourceup_info_speed
Current global upload speed, bytes/s.
Sourceup_rate_limit
Global upload rate limit, bytes/s (0 = unlimited).
Sourceuse_alt_speed_limits
Whether the alternative speed limits are currently active.
Sourceuse_subcategories
Whether subcategories are enabled (qB 5.x).
Sourcewrite_cache_overload
Write cache overload (percentage), sent as a string.
Source