---
title: "File"
description: "List, get, update, copy, move, persist, and delete workspace files from a workflow."
canonical_url: "https://docs.vettero.com/build/workflows/blocks/file"
---
# File

> List, get, update, copy, move, persist, and delete workspace files from a workflow.

**File** blocks sit in the builder palette under **file**. They work on the same [workspace files](https://docs.vettero.com/data/files) you manage under **Data → Files**. Shared graph rules are on [Workflows](https://docs.vettero.com/build/workflows).

Chat uploads stay until the conversation is deleted. Other surfaces can create **temporary** files with an expiry — use [Persist File](https://docs.vettero.com/build/workflows/blocks/file/persist) to keep one. [Copy File](https://docs.vettero.com/build/workflows/blocks/file/copy) makes a new upload-storage file. [Move File](https://docs.vettero.com/build/workflows/blocks/file/move) keeps the same id and moves the bytes into upload storage.

[Delete File](https://docs.vettero.com/build/workflows/blocks/file/delete) soft-deletes. To send a file in chat, use [File](https://docs.vettero.com/build/workflows/blocks/out/file) output, not these blocks.

<table>
<thead>
  <tr>
    <th>
      Use
    </th>
    
    <th>
      Block
    </th>
  </tr>
</thead>

<tbody>
  <tr>
    <td>
      Browse workspace files
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/list">
        List Files
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Load metadata and URL
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/get">
        Get File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Change name or expiry
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/update">
        Update File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Soft-delete
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/delete">
        Delete File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Download a URL into the workspace
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/create-from-url">
        Create File from URL
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Duplicate into upload storage
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/copy">
        Copy File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Clear expiry so the file is kept
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/persist">
        Persist File
      </a>
    </td>
  </tr>
  
  <tr>
    <td>
      Move into upload storage (same id)
    </td>
    
    <td>
      <a href="https://docs.vettero.com/build/workflows/blocks/file/move">
        Move File
      </a>
    </td>
  </tr>
</tbody>
</table>

<searchable-card-grid :items="[{"title":"List Files","description":"List workspace files, optionally filtered by name.","icon":"i-lucide-list","to":"/build/workflows/blocks/file/list","keywords":"list files workspace"},{"title":"Get File","description":"Get a workspace file by id.","icon":"i-lucide-file","to":"/build/workflows/blocks/file/get","keywords":"get file metadata url"},{"title":"Update File","description":"Update file name and/or expiry by id.","icon":"i-lucide-pen","to":"/build/workflows/blocks/file/update","keywords":"update file name expiry"},{"title":"Delete File","description":"Soft-delete a workspace file by id.","icon":"i-lucide-trash","to":"/build/workflows/blocks/file/delete","keywords":"delete file soft-delete"},{"title":"Create File from URL","description":"Download a file from a URL into upload storage.","icon":"i-lucide-link","to":"/build/workflows/blocks/file/create-from-url","keywords":"create file url download upsert"},{"title":"Copy File","description":"Copy a file into upload storage as a new file.","icon":"i-lucide-copy","to":"/build/workflows/blocks/file/copy","keywords":"copy file duplicate"},{"title":"Persist File","description":"Remove expiry from a file so it is kept permanently.","icon":"i-lucide-clock","to":"/build/workflows/blocks/file/persist","keywords":"persist file expiry temporary"},{"title":"Move File","description":"Move a file from another storage bucket into upload storage.","icon":"i-lucide-arrow-right-left","to":"/build/workflows/blocks/file/move","keywords":"move file storage upload"}]" empty="No file blocks match that search." placeholder="Search file blocks…">



</searchable-card-grid>

<block-page-nav>



</block-page-nav>


## Sitemap

See the full [sitemap](https://docs.vettero.com/sitemap.md) for all pages.
