# Content

## Download file content

**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.

### Path Parameters

- `file_id: string`

### Header Parameters

- `"x-project-id": optional string`

### Example

```http
curl https://api.egp.scale.com/v5/files/$FILE_ID/content \
    -H "x-api-key: $SGP_API_KEY"
```

#### Response

```json
{}
```

## Domain Types

### Content Retrieve Response

- `ContentRetrieveResponse = unknown`
