## Download file content

`files.content.retrieve(strfile_id, ContentRetrieveParams**kwargs)  -> object`

**get** `/v5/files/{file_id}/content`

Download the raw bytes of a file by id.

Streams the stored object's content back directly (not a redirect or signed
URL), with the response Content-Type set to the file's stored MIME type and
Content-Disposition set to attachment. Use the metadata endpoint for size,
filename, and other attributes.

### Parameters

- `file_id: str`

- `x_project_id: Optional[str]`

### Returns

- `object`

### Example

```python
import os
from scale_gp_beta import SGPClient

client = SGPClient(
    api_key=os.environ.get("SGP_API_KEY"),  # This is the default and can be omitted
)
content = client.files.content.retrieve(
    file_id="file_id",
)
print(content)
```

#### Response

```json
{}
```
