# Get Directory Metadata

Launch stage: GA

`HEAD /api/2.0/fs/directories{directory_path}`

Get the metadata of a directory. The response HTTP headers contain the metadata.
 There is no response body.

 This method is useful to check if a directory exists and the caller has access to it.

 If you wish to ensure the directory exists, you can instead use `PUT`, which will create
 the directory if it does not exist, and is idempotent (it will succeed if the directory
 already exists).

API scopes: files

## Path parameters

- `directory_path` (string, optional)
  The absolute path of a directory.

## Response

```json
{}
```

