# GET /v1/workspaces/{workspace_id}/fs/_/download/{path} - Download raw file bytes

Source: <https://everruns.com/docs/api/operations/download_path/>

GET

/v1/workspaces/{workspace\_id}/fs/\_/download/{path}

Select code samplecURL (shell:curl)

```js
const url = 'https://app.everruns.com/api/v1/workspaces/example/fs/_/download/example';
const options = {method: 'GET'};


try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```sh
curl --request GET \
  --url https://app.everruns.com/api/v1/workspaces/example/fs/_/download/example
```

* Production APIapp.everruns.com/api/v1/workspaces/{workspace\_id}/fs/\_/download/{path}

## Parameters

### Path Parameters

**workspace\_id**

required

string

Workspace ID (wsp\_<32-hex>)

**path**

required

string

File path. Wildcard route: nested paths are literal `/`-separated segments, not a single URL-encoded value.

## Responses

### 200

Raw file bytes

Media typeapplication/octet-stream

### 400

Path points to a directory

### 404

File not found

### 500

Internal server error