Skip to content

Get system paths for project structure

GET
/api/system/system-config/paths

Get system paths for project structure.

Provides a centralized, dynamic source of truth for all critical file paths, allowing the Electron frontend to be self-aware of the project’s structure without any hardcoded paths.

Returns: Dictionary of system paths (project_root, backend_venv, debug_dir, analyze_crashes_script).

Raises: HTTPException: If path retrieval fails.

Successful Response

MonitoringSystemPathsResponse

Response model for monitoring /paths endpoint

object
projectRoot
required
Projectroot
string
backendVenv
required
Backendvenv
string
debugDir
required
Debugdir
string
analyzeCrashesScript
required
Analyzecrashesscript
string