> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hiveku.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Files

> Manage project files — create, read, update, and delete

## Overview

The Files API lets you manage the file system of a builder project. Files are stored in Hiveku's managed file system and synced to dev containers.

***

## Visual Editor Save

<ParamField path="POST" type="/visual-editor/save">
  Save changes made in the visual editor back to project files.
</ParamField>

**Request Body**

```json theme={null}
{
  "projectId": "project_abc123",
  "filePath": "src/app/page.tsx",
  "content": "// updated file content..."
}
```

**Response**

```json theme={null}
{
  "success": true,
  "filePath": "src/app/page.tsx"
}
```

***

## Hot Reload Notify

<ParamField path="POST" type="/hot-reload/notify">
  Notify the preview to reload after file changes.
</ParamField>

**Request Body**

```json theme={null}
{
  "projectId": "project_abc123",
  "changedFiles": ["src/app/page.tsx"]
}
```

***

## Proxy Image

<ParamField path="GET" type="/proxy/image?url={imageUrl}">
  Proxy an external image through Hiveku to avoid CORS issues in the editor.
</ParamField>

**Query Parameters**

| Parameter | Type   | Description               |
| --------- | ------ | ------------------------- |
| `url`     | string | URL of the image to proxy |
