Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.osmedeus.org/llms.txt

Use this file to discover all available pages before exploring further.

System Statistics

Get System Stats

Get aggregated system statistics including workflows, runs, workspaces, assets, vulnerabilities, and schedules.
curl http://localhost:8002/osm/api/stats \
  -H "Authorization: Bearer $TOKEN"
Response:
{
  "workflows": {
    "total": 25,
    "flows": 10,
    "modules": 15
  },
  "runs": {
    "total": 150,
    "completed": 120,
    "running": 5,
    "failed": 10,
    "pending": 15
  },
  "workspaces": {
    "total": 50
  },
  "assets": {
    "total": 5000
  },
  "vulnerabilities": {
    "total": 150,
    "critical": 10,
    "high": 25,
    "medium": 50,
    "low": 65
  },
  "schedules": {
    "total": 8,
    "enabled": 5
  }
}
Statistics Fields:
CategoryFieldDescription
workflows.totalintTotal number of workflows (flows + modules)
workflows.flowsintNumber of flow-type workflows
workflows.modulesintNumber of module-type workflows
runs.totalintTotal number of runs
runs.completedintSuccessfully completed runs
runs.runningintCurrently running workflows
runs.failedintFailed runs
runs.pendingintPending runs waiting to start
workspaces.totalintTotal number of scan workspaces
assets.totalintTotal discovered assets across all workspaces
vulnerabilities.totalintTotal vulnerabilities (sum of all severities)
vulnerabilities.criticalintCritical severity vulnerabilities
vulnerabilities.highintHigh severity vulnerabilities
vulnerabilities.mediumintMedium severity vulnerabilities
vulnerabilities.lowintLow severity vulnerabilities
schedules.totalintTotal configured schedules
schedules.enabledintCurrently enabled schedules