> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracectrl.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Validate Workspace Path

> Check whether a filesystem path is a valid OpenClaw workspace

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`

**path** `string` *required*

Absolute filesystem path (whitespace is trimmed).

### Response

**valid** `boolean`

`true` if the path exists and contains `openclaw.json`

**openclaw\_json\_found** `boolean`

Whether `openclaw.json` was found

**path** `string`

Echo of the resolved path

**error** `string`

Reason for failure when `valid` is false (e.g. `Path does not exist`, `Not an OpenClaw workspace (no openclaw.json found)`)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.