Skip to main content
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 — ValidatePathPayload

string
required
Absolute filesystem path (whitespace is trimmed).

Response

boolean
true if the path exists and contains openclaw.json
boolean
Whether openclaw.json was found
string
Echo of the resolved path
string
Reason for failure when valid is false (e.g. Path does not exist, Not an OpenClaw workspace (no openclaw.json found))