Scans
Validate Workspace Path
Check whether a filesystem path is a valid OpenClaw workspace
POST
Validate Workspace Path
Used by the dashboard before kicking off a scan. The path is validated server-side because the dashboard runs in a browser that cannot inspect the engine host’s filesystem.
Request body —
Request body — ValidatePathPayload
Absolute filesystem path (whitespace is trimmed).
Response
true if the path exists and contains openclaw.jsonWhether
openclaw.json was foundEcho of the resolved path
Reason for failure when
valid is false (e.g. Path does not exist, Not an OpenClaw workspace (no openclaw.json found))Validate Workspace Path

