# Task files: versions, approval and review

Attach files to a Truetask task, keep rounds as numbered versions, approve or turn one down, and comment on a spot, page or moment in the file viewer.

URL: https://docs.truetask.io/tasks/files

A Truetask task's files are where the work itself often lives: a proof, a drawing, a contract, a clip.
Truetask keeps the rounds of a file as one numbered history, records which round is current and which was approved or turned down, and gives each file its own conversation that can point at the exact place it is about.

The same files show in the board's [Files view](https://docs.truetask.io/boards/files), with the same marks, so you can review from either place.

## Attaching files to a task

A task's files live on its **Files** sheet.
Open it from the paperclip chip in the row under the title, which shows how many files the task has.
On a task with no files yet, open the **Add** menu (the plus at the end of that row) and choose **Files**.
A link that ends in `&tab=files` opens a task with the sheet already up.

![Truetask task Files sheet with Generate and Upload, an amber line about the approved version, a v3 of 3 logo tile marked Current and a moodboard tile](https://docs.truetask.io/screenshots/task-files-sheet.webp)

| Way in | What happens |
| --- | --- |
| **Upload** in the sheet's header | Picks one or more files from your computer. |
| Drag files over the task | Two outlines appear. Drop on **Attach to the task** to add them here; drop on the message box instead to send them with your next message. |
| Paste a picture into the description | The picture is attached to the task as well. |
| **Generate** in the sheet's header | Asks the task's agent to write a document and attach it. Shown only when AI is on for you. See [Delegating work to agents](https://docs.truetask.io/agents/delegating). |
| The board's Files view | Upload into the task's folder, or move a file onto the task. See [Files view](https://docs.truetask.io/boards/files). |
| A client | A client the task is shared with sends a file from their page. See [Client requests](https://docs.truetask.io/clients/requests). |
| An agent | See [Agents and the API](https://docs.truetask.io/tasks/files#agents-and-the-api). |
| An automation | The **Make a file** step can keep the file it writes on the task. See [Automation actions](https://docs.truetask.io/automations/actions). |

Each file is a tile with its picture, its name, its version, its size and how many comments it has.
Click a tile to open it in the [file viewer](https://docs.truetask.io/tasks/files#the-file-viewer).
Hover a tile for the star, the stamp, the thumbs down and a dots menu with **Download**, **Upload new version**, **Show to the client**, **Make a version of**, **Remove from version history**, **Rename** and **Delete**.
A board viewer's hover offers **Download** only.

**Delete** asks first, in **Delete Attachment**, and is permanent.
A file larger than the workspace's maximum file size is refused before it is sent; see [Workspace settings](https://docs.truetask.io/admin/workspace).

> **Truetask Cloud only**
>
> Files count toward the workspace's storage.
> When the plan has no storage left, an upload is refused and Truetask points you to a storage pack or a bigger plan.
> See [Plans and billing](https://docs.truetask.io/cloud/plans).

### With no signal

A file you add on a task is sent at once when there is a connection.
When there is none, this device keeps it and Truetask says so: "No signal. The file is waiting on this device and will upload when the connection returns."

The file waits in the task's grid, faded and marked **Waiting**, and goes up by itself as soon as the connection is back or the app is opened again.
One that cannot be uploaded, because it is too large, the workspace has no storage left, you are no longer allowed on the task or the task is gone, is marked **Failed** with the reason and offers **Try again** and **Discard**.
If the device cannot keep a file at all, Truetask says so and the file is not uploaded, so keep your own copy.

Only the file is held: everything else in the app still needs a connection.
Files uploaded from the board's Files view are not held.

### Thumbnails

A file shows a picture of itself on its tile, in the Files view and in the viewer's strip: the image itself, the top of a PDF's first page, a frame from a video or a still of a 3D model.
The browser that uploads the file makes that picture, and measures the file on the way: a picture's dimensions, a clip's length, a document's page count.

A JPEG, PNG, GIF or WebP image always shows itself, however it arrived.
Any other file that arrived by email, a webhook, the API or an automation has no picture and shows its glyph and extension instead, and no file that arrived that way carries measurements.
A file the uploading browser could not draw, such as a video in a codec it cannot play, keeps its glyph too.

### Who uploaded it

The viewer, the Files view's table and its details pane name who uploaded each file, with their face.
A file a client sent shows the share glyph and the client's name.
A file that arrived by email, a webhook or an automation names nobody.

## Versions

Several files on a task can be one history: each round replaces the one before, and the task reads them as `v1`, `v2`, `v3`.
The numbers come from the order of the history itself, so nothing has to be renumbered by hand.

### Making a history

- **Upload new version** on a file's menu picks exactly one file and uploads it as the round that follows that file.
- Drag one tile onto another on the same task: the file you drag becomes the next version of the one you drop it on.
- **Make a version of** on a file's menu lists the task's other files to make it a version of.
- In the board's Files view, drop one file from your computer onto a task file's tile to upload it as that file's next version.

A file whose name reads as a later round of a file already on the task, such as `proof_v2.png` next to `proof.png`, is offered that history in a blue line at the top of the files: "proof_v2.png reads as a later round of proof.png. Join its history?"
Nothing joins until you answer with **Join that history** or **Leave it on its own**.
Names ending in a round marker like `_v2`, `-rev3`, `round 4` or a short number count; a long number like `IMG_4821` does not.
A no is remembered on this device, and offers come one at a time, oldest first.

### Reading a history

A history is one tile, not one per round.
The tile shows the round marked current, or the newest when none is, and its caption says which round it is: `v2 of 3`.

Click the `v2 of 3` label (**Show versions**) to open the history as a list under the grid, newest at the top, each round with its picture, its marks and its comment count.
Hover a round's label for "Version 2 of 3", or "Latest version, 3 of 3" on the newest.
Click a round to open it in the viewer.

![Truetask task Files sheet with a version history open under the grid: v3 marked Current, v2 marked Approved, and v1](https://docs.truetask.io/screenshots/task-file-history.webp)

Every list of a task's files leads with its current version: the current round leads its history, and its history leads the grid.

### Reordering and taking a file out

In an open history, drag a round by its handle to reorder it.
The newest version is at the top.

**Remove from version history**, on a round in the list or on the file's menu, takes that file out of the history and leaves it on the task as a file of its own.
The rounds around it stay one history, and so do they when a round in the middle is deleted.

### The current version

The star marks the round the work is done from: **Mark as current version**, and on the marked one **Clear current version**.
A task has at most one current file.

Uploading a new version does not move the star, and neither does an approval.
Going back to an earlier round is one click on its star.

| Fact | Comes from |
| --- | --- |
| Latest | The newest round in the history. |
| Current | The star, set by a person. |
| Approved or turned down | A decision on that one file. |

The three can sit on three different files, and that is the point: a task that went back to round two of three has its latest, its current and its approved round apart.

## Approving and turning down

The stamp approves a file: **Mark as approved**, and on an approved file **Remove approval**.
The thumbs down turns a round down: **Turn down…** opens **Turn this version down?**, where you say why so the next round has the reason, then **Turn down**.
The reason is optional.
On a turned-down file the same control reads **Remove turn-down**.

A file is approved, turned down or neither, never both: approving a turned-down file replaces the turn-down, and the other way round.
Several files on one task can each carry their own decision, so a proof and a contract are decided separately.
Hover the mark to see who decided and when, such as "Approved by Sam on" and the date, with the reason under it when one was given.

A decision stays on the file it was given: a newer upload does not move it, and neither does the star.
It ends when the file leaves the task, by being deleted or moved elsewhere.

When the task's current file is not the approved one while another file is, an amber line at the top of the task's files says so: "proof_v3.png is current, but the approved version is proof_v2.png."

A client can approve or turn down from their own page, and their decision reads with their name; see [Client requests](https://docs.truetask.io/clients/requests).
A client can also sign a file version: see [Signatures](https://docs.truetask.io/clients/signatures).
Automations and webhooks can start when a file is approved, its approval is removed, it is turned down or the turn-down is removed; see [Automation triggers](https://docs.truetask.io/automations/triggers) and [Webhooks](https://docs.truetask.io/integrations/webhooks).

## The file viewer

The viewer opens over the whole screen.
Arrows on either side, the <kbd>←</kbd> and <kbd>→</kbd> keys and the strip of thumbnails at the bottom page through the files; a history is one stop.
<kbd>Esc</kbd> or the close button shuts it.

![Truetask file viewer on a logo proof with numbered pins and a box, the Comments thread open beside it with a reply and a settled comment, and the bar and strip below](https://docs.truetask.io/screenshots/file-viewer.webp)

The bar under the file names it and says which round it is, whether it is current, approved or turned down, and below that who uploaded it, its size, one measurement, the day it arrived, its place in the strip (such as `3 / 8`) and **Shared** when the task's clients can see it.
The file's note, when it has one, reads underneath.

| Control | What it does |
| --- | --- |
| Columns | **Compare versions**. See [Comparing two versions](https://docs.truetask.io/tasks/files#comparing-two-versions). |
| Star | **Mark as current version** or **Clear current version**. |
| Stamp | **Mark as approved** or **Remove approval**. |
| Thumbs down | **Turn down…** or **Remove turn-down**. |
| Speech bubble | Opens **Comments**, with how many there are. |
| Crosshair | Points your next comment at a spot, a page or a moment. See [Pointing at a place](https://docs.truetask.io/tasks/files#pointing-at-a-place). |
| Pencil | **File note**. See [The file note](https://docs.truetask.io/tasks/files#the-file-note). |
| **Download** | Saves the file. |
| **Open in new tab** | Opens the raw file in a browser tab. |

The star, the stamp, the thumbs down and the comments appear for a task's files.
A file attached to a comment, or kept in a board folder, opens in the same viewer without them.

### What previews

| Kind | Files | What you see |
| --- | --- | --- |
| Pictures | Any image type the browser shows | The picture, fitted to the window. |
| PDF | `.pdf` | The browser's own PDF viewer. |
| Video and audio | Video and audio files | A player. |
| Markdown and text | `.md`, `.markdown`, `.txt` | The text, Markdown formatted, read-only. |
| Spreadsheets | `.xlsx`, `.xlsm`, `.xlsb`, `.xls`, `.ods`, `.fods`, `.csv`, `.tsv` | A table with the first row held as its header, a tab per sheet, and the size such as "120 rows, 8 columns". The first 500 rows and 60 columns are drawn. |
| Source code | `.js`, `.ts`, `.py`, `.json`, `.yaml`, `.html`, `.css`, `.sql`, `.sh`, `.diff`, `.svelte` and more highlighted; `.go`, `.rs`, `.java`, `.rb`, `.swift`, `.xml`, `.toml`, `.ini`, `.log` and others in plain text | Numbered lines, the line count and a copy button. The first 2,000 lines are drawn. |
| 3D models | `.glb`, `.gltf`, `.obj`, `.stl`, `.ply` | The model on a dark floor: drag to turn it, scroll or pinch to zoom, and **Reset the view** to put it back. |

A `.glb` or `.gltf` model keeps its colours and textures.
An `.stl`, `.ply` or `.obj` shows its shape only, and the viewer says so.
A `.gltf` that points at files it does not carry cannot be shown.

### Files with no preview

A format nothing can open reads "Preview not available for this file type", with a **Download** button.
A file that would not open reads "This file could not be read."

Previews that read the whole file into the browser stop at a size, so a huge file says so instead of freezing the tab.

| Kind | Previews up to |
| --- | --- |
| PDF, 3D model | 100 MB |
| Spreadsheet | 25 MB |
| Source code | 8 MB |
| Markdown and text | 4 MB |

Past that the viewer reads "Too large to preview here.", gives the file's size and the limit, and offers **Download**.
Pictures, video and audio stream from the server and have no such limit.

### Switching versions

On a file in a history, the version label in the bar (`v2 of 3`) opens a list of every round.
Pick one and the viewer shows it without closing; the list stays open while you step through the rounds.

### Comparing two versions

On a picture or a PDF that has another round, **Compare versions** shows two rounds side by side: the round you were on at the right, the one before it at the left (the round after it, on a first version).
Each side has its own version label to pick another round, and picking the round the other side shows swaps the two.

One control drives both sides.
For pictures, scroll or pinch to zoom and drag to pan, with **Reset the view** to go back; for PDFs, **Previous page** and **Next page** turn both documents together.
On a phone the two stack.
**Stop comparing** returns to the single view.

### Linking to a file

While the viewer is open, the page address carries `?file=` and the file's id.
Copy the address and send it: it opens the viewer on that file and that exact round.
A link copied while the file was open on a task opens the task and then the file; one copied from the Files view opens the file there when the board shows its Files view.
Paging through files keeps one entry in the browser's history, so **Back** returns to where you came from.

## Comments on a file

Each file on a task has its own thread, separate from the task's comments.
The speech bubble in the viewer's bar opens it beside the file, and it opens by itself on a file that still has an unsettled comment until you open or close it yourself.
On a phone the thread takes the whole width; close it to see the file again.

Write in **Comment on this file…**.
Mentions work as in task comments, and the person you mention is notified.
**Reply** answers a comment, one level deep.
You can delete your own comments, and a comment's replies go with it.

### Pointing at a place

Before you write, the crosshair points the comment at the part you mean.

| File | Control | How to point |
| --- | --- | --- |
| Picture | **Point at a spot** | Click to drop a pin, or drag to draw a box. **Stop pointing** cancels. |
| Video or audio | **Comment at 0:42** | Anchors the comment at the moment the player is on. |
| PDF | **Comment on a page** | Type the page number, then **Point here**. |

The anchor shows above the message box, with an X to remove it.
Pins and boxes are numbered on the picture, and the same number sits on the comment.
Click a comment to go to its place: the pin lights up, the PDF turns to the page, or the player jumps to the moment and pauses.
Click a pin to find its comment.

### Settling

When a point has been dealt with, **Mark settled** on it.
A settled comment fades and says who settled it and when; **Re-open** brings it back.
Anyone who can edit the task can settle a comment, since the person who fixes something is rarely the one who found it.

The tile, the strip and the details pane show how many comments a file has, tinted while some are still open, and say "2 of 5 still open" or "5 settled" on hover.

### Comments stay on their version

A comment belongs to the round it was left on, so a new version starts with an empty thread.
When the round before it has comments, the top of the new round's thread says how many, such as "v1 of 3 has 4 comments", and a click opens that round.
The earlier conversation is still on the earlier round: switch to it with the version label in the viewer's bar, or open it from the history's list.

## The file note

A file can carry one standing sentence about itself, separate from the conversation: "Client's own artwork, do not re-crop", "Page 3 is the signed one".
Click the pencil in the viewer's bar, write up to 2,000 characters in **File note** and **Save**.
The note reads under the file's name in the viewer and in the Files view's details pane, and agents reading the task get it too.
The note belongs to the file, so it reads the same wherever the file is reached.

## Who can do what

| | Board viewer | Board editor |
| --- | --- | --- |
| Open, preview, download, read comments | Yes | Yes |
| Upload, rename, delete, change versions | No | Yes |
| Mark current, approve, turn down | No | Yes |
| Comment, point, settle, write the file note | No | Yes |

## Agents and the API

The context an agent reads for a task lists each file with its version, whether it is current, approved or turned down with the reason, its note and its open comments.
That is how a delegated agent knows which round to work from and what still has to change.

An agent with a shell attaches a file from its own computer through a one-time upload link instead of writing the bytes out: it asks for a link with the `files_upload_link` MCP tool and target `card_file`, then sends the file to it.
The link expires after 10 minutes, works once, can do nothing but that one upload, and is checked against the agent's own rights when it is made.
Naming the file it replaces (`replaces`) when asking for the link uploads the file as that file's next version.

Over MCP, agents also set versions (`files_set_version`), decide on files (`cards_file_approve`, `cards_file_turn_down`, `cards_file_unapprove`), comment and settle (`cards_file_comment_add`, `cards_file_comment_settle`), write the file note (`files_note_set`) and read a document's text (`files_read_text`).
See [MCP](https://docs.truetask.io/agents/mcp) and [Delegating work to agents](https://docs.truetask.io/agents/delegating).

In the [REST API](https://docs.truetask.io/integrations/api), where a task is a `card`:

| What | Endpoint |
| --- | --- |
| Mint an upload link | `POST /v1/uploads/tickets` |
| Set a file's version, note or client access | `PATCH /v1/files/{id}` with `replaces`, `description` or `client_visible` |
| Mark the current file | `current_file` on `PATCH /v1/cards/{id}` |
| List, record and clear decisions | `GET` and `POST /v1/cards/{id}/approvals`, `DELETE /v1/cards/{id}/approvals/{file_id}` |
| File comments | `GET` and `POST /v1/cards/{id}/file-comments`, `PATCH` and `DELETE /v1/cards/{id}/file-comments/{comment_id}` |

Plugins can add their own previews, layers over a preview, ways to point at a file and sections beside the comments; see [Plugins](https://docs.truetask.io/plugins/).

## Frequently asked questions

### Does uploading a new version of a file in Truetask move its approval?

No.
A decision stays on the file it was given, and the star stays where it was.
If the new round becomes current while the old one is approved, the task's files say so in an amber line.

### Why does a new file version in Truetask start with no comments?

Comments stay on the round they were left on, so each round's thread says what was wrong with that round.
The line at the top of the new round's thread says how many comments the round before has, and a click on it opens that round.
The version label in the viewer's bar switches to any earlier round, and the history's list shows each round's comment count.

### Why does a file in Truetask show an icon instead of a thumbnail?

The picture is made by the browser that uploads the file.
A PDF, video or 3D model that came by email, a webhook, the API or an automation, or a file the browser could not draw, keeps its glyph.
JPEG, PNG, GIF and WebP images show themselves whichever way they arrived.

## Related

- [Files view](https://docs.truetask.io/boards/files)
- [Tasks](https://docs.truetask.io/tasks/)
- [Comments](https://docs.truetask.io/collaboration/comments)
- [Automation triggers](https://docs.truetask.io/automations/triggers)
- [Client requests](https://docs.truetask.io/clients/requests)
