## Get Content `client.vals.files.getContent(stringvalId, FileGetContentParamsparams, RequestOptionsoptions?): Response` **get** `/v2/vals/{val_id}/files/content` Download file content ### Parameters - **valId:** `string` - **params:** `FileGetContentParams` - **path:** `string` Query param: Path to a file or directory (e.g. 'dir/subdir/file.ts'). Pass in an empty string to represent the root directory. - **branch\_id:** `string` Query param: Id to query - **version:** `number` Query param: Specific branch version to query - **cacheControl:** `string` Header param: - **ifMatch:** `string` Header param: - **ifModifiedSince:** `string` Header param: - **ifNoneMatch:** `string` Header param: - **ifUnmodifiedSince:** `string` Header param: ### Returns - **unnamed\_schema\_1:** `Response` ### Example ```node import ValTown from '@valtown/sdk'; const client = new ValTown(); const response = await client.vals.files.getContent('182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e', { path: 'path' }); console.log(response); const content = await response.blob(); console.log(content); ```