Skip to main content
GET
/
stats
Get Stats
curl --request GET \
  --url https://rts-senthrex.slayers.tech/stats \
  --header 'Authorization: Bearer <token>'
{
  "total_scans": 123,
  "active_scans": 123,
  "max_concurrent_scans": 123,
  "status_breakdown": {},
  "disk_usage": {
    "total_size_bytes": 123,
    "total_size_mb": 123,
    "scan_directories": 123
  }
}

Get stats

Returns aggregated service metrics, including status breakdowns and disk usage totals.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

200 - application/json

Successful Response

API statistics response.

Attributes: total_scans: Total number of scans tracked. active_scans: Number of pending or running scans. max_concurrent_scans: Configured concurrency limit. status_breakdown: Counts keyed by scan status. disk_usage: Storage consumption summary.

total_scans
integer
required
active_scans
integer
required
max_concurrent_scans
integer
required
status_breakdown
Status Breakdown · object
required
disk_usage
DiskUsage · object
required

Disk usage breakdown for scan storage.

Attributes: total_size_bytes: Total size in bytes. total_size_mb: Total size in megabytes. scan_directories: Number of scan directories on disk.