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

# Artifacts: versioned deliverables with access control

> Create HTML reports, dashboards, and presentations from chat, with version history, controlled sharing, and governance built for your company.

Artifacts turn Tess chat answers into business deliverables: executive reports, dashboards, presentations, internal announcements, and proposals in HTML. Each Artifact has an owner, a version history, and a stable link, and sharing follows the policies your company's admin defines.

> [!NOTE]
>
> Access to this feature depends on your plan and your role in the workspace. Without that permission, Tess answers in text and does not create the Artifact. To get access, contact your workspace admin.

## Value for your company

> [card] One source per document
>
> The deliverable lives at a stable link. Updates create new versions at the same address instead of new files circulating through email and chat.

> [card] Review before release
>
> Edits do not reach people who already have the link automatically. They see the approved version until the owner shares the next one.

> [card] Governed sharing
>
> Each person's reach is set by the admin, per member and per team. By default, nothing opens outside the organization.

> [card] Workspace oversight
>
> Authorized managers view the workspace's Artifacts and can unpublish any of them, including in bulk.

The result is less rework on recurring materials, fewer outdated versions in circulation, and control over what each audience can access.

## What you can create

| Deliverable | Example | Teams |
| - | - | - |
| Executive report | Weekly pipeline close for leadership | Sales, Leadership |
| Dashboard | Monthly KPIs with a filter by team | Operations, Finance |
| Presentation | Quarterly results for the board | Leadership, Strategy |
| Internal announcement | A results update or a process change | HR, Communications |
| Sales proposal | One-pager with scope, timeline, and next steps | Sales, Customer Success |

Artifacts are HTML pages viewed inside Tess. When the destination requires a file, such as PowerPoint, Word, PDF, or Excel, ask for that format explicitly in chat: Tess generates the file separately.

## Version control

* Every edit or restore creates a new version (v1, v2, v3...). Earlier versions are only removed if the owner deletes them, and numbers are never reused.
* An Artifact separates the **latest version**, where the owner works, from the **shared version**, which the audience sees.
* To update what the audience sees, the owner explicitly shares the new version. The link stays the same.
* Any earlier version can be previewed, restored (as a new version), or set as the shared version.

In practice, a report can be corrected and reviewed while leadership keeps reading the last approved version.

## Who has access and what they can do

| Profile | What they see | What they can do |
| - | - | - |
| Owner | All versions | Edit, view code, restore, share, delete (with the content-deletion permission), present, download, and print |
| Person, team, or workspace with access | Only the shared version | Read, present, download the HTML, print, and start a chat about the content. They do not see the Code tab, but the downloaded HTML contains the whole page |
| Manager with the Artifacts Manager permission | The latest version of any Artifact in the workspace, including unshared ones, from Settings > Artifacts | View, present, download, print, and unpublish. They do not edit content |
| No access | Nothing | The Artifact does not appear for that person |

Only the owner changes an Artifact. Anyone who needs a variation can ask Tess for their own copy, as long as they can also create Artifacts. The original stays unchanged.

### Sharing levels

* **Specific people** in the workspace or, when the workspace belongs to an organization, in its other workspaces
* **Teams** the owner belongs to
* **Everyone in this workspace**
* **Anyone with the link**, as long as they are signed in to Tess, including outside the organization

## Governance for admins

> [accordion] Who can create
>
> Creating, editing, and sharing Artifacts are enabled by plan and role. Users without that permission get the answer as text, without the page.

> [accordion] Who each person can share with
>
> On the members page, the admin sets per member and per team which levels are allowed: organization, workspace, teams, and open link. The default allows organization, workspace, and teams, and keeps the open link off. A member setting with no levels turns sharing off for that person.

> [accordion] Restrictions apply immediately
>
> When an admin narrows a member's or team's levels, access outside the new rule stops at once and the matching shares are revoked automatically. Permissions are checked on every open: anyone who leaves the workspace loses access right away, except to Artifacts open to anyone with the link.

> [accordion] Oversight and unpublishing
>
> Managers with the Artifacts Manager permission list workspace content by person, view the latest version of any Artifact, and unpublish one or many at once. Unpublishing removes all access. When a manager unpublishes, the owner cannot share that Artifact again.

> [accordion] External exposure
>
> Even the open link requires a Tess login. Pages are not indexed by search engines and cannot be embedded in other sites.

> [accordion] Audit trail
>
> On the Enterprise plan, [Audit Events](https://docs.tess.im/en/audit-events.md) record creation, edits, publishing, every grant and revocation, views and opens by managers (one per person per day for each Artifact), and changes to sharing restrictions. The company SIEM collects them through the API. Events identify who acted, but do not include the Artifact title or the email of the person who received access.

## Templates

Every Artifact starts from a template that sets the visual identity of the page. Without a choice, Tess uses `default`, with the Tess visual identity. Besides the global templates, a workspace can have its own; when both use the same name, the workspace template wins. Through the API, pass the template slug in `template` on [Create Artifact](https://docs.tess.im/en/create-artifact.md) and list the options with [List Artifact Templates](https://docs.tess.im/en/list-artifact-templates.md). Changing a template never alters Artifacts that already exist.

> [!NOTE]
>
> **Tess platform admins only.** Templates are managed at `/dashboard/admin/artifact-templates`: list, edit, create, delete and restore. The slug and scope are fixed after creation, and the global `default` template cannot be deleted. A template must keep its required markers (the styles, content, and script regions) and its placeholders exactly once. A template that would break Artifact creation is refused with inline errors.

## Create from an HTML file

Instead of describing the page, give Tess an HTML file you already have in Tess (`source_file`, its universal ID). Tess reads it and applies the same checks as any other Artifact. A fragment becomes the content of the template, and a full page without the Artifact markers gets them added.

| Situation | Result |
| - | - |
| File not available to you in this workspace | `ARTIFACT_SOURCE_FILE_NOT_FOUND` (404) |
| File is not HTML (`.html` or `.htm`) | `ARTIFACT_SOURCE_FILE_NOT_HTML` |
| File cannot be read right now | `ARTIFACT_SOURCE_FILE_UNREADABLE` (422) |
| Blank file | `ARTIFACT_EMPTY_CONTENT` |

## Files inside artifacts

Ask Tess to include your files in an Artifact: images in a report, an audio clip, a video, or a PDF to download. Tess sends each file in `files`, with a relative `path` that the page uses (for example `assets/logo.png`), and exactly one source:

* `universal_id`: a file you already have in Tess.
* `url`: an `https` link. Links are checked for safety before download, and private or internal network addresses are refused.
* `content_base64`: the file content sent inline. All inline content in one request may total at most 50 MB; for larger files, attach them by `universal_id`.

How they show:

* Images, audio, and video appear inside the page. Each file is served through a signed link that expires after 2 minutes.
* Other types, such as PDF or DOCX, open in a new tab and require a Tess login with permission in the workspace, including for Artifacts open to anyone with the link.
* Limits: an Artifact version lists at most 50 files, with the same types and size limits as other platform files. See [Supported files](https://docs.tess.im/en/supported-files.md).
* When files cannot be attached, nothing is saved and every problem is reported at once (`ARTIFACT_FILES_REJECTED`, with the list in `rejected_files`). When the page refers to a path with no attached file, the response warns with `missing_files`.

### Frozen copies

Each version keeps its own frozen copy of every attached file. Later changes to the original file do not alter versions already created, and a restored version keeps its own file copies. These copies do not appear in your file lists or searches. While a version uses a copy, it cannot be deleted (`ARTIFACT_FILE_IN_USE`, 409). Deleting a version removes the copies no other version uses.

## What a page may load

Artifacts run in an isolated sandbox. A version may only load:

* Its own attached files (images, audio, video), by relative path.
* `data:` URIs.
* Google Fonts.
* JavaScript libraries from `cdnjs.cloudflare.com`, pinned to an exact version (`x.y.z`), for example `https://cdnjs.cloudflare.com/ajax/libs/Chart.js/4.4.1/chart.umd.min.js`. Only scripts load from cdnjs, not stylesheets, images, or fonts.

Everything else is refused with `ARTIFACT_EXTERNAL_RESOURCE` (422), which lists up to 20 offending references. Nothing is saved. In particular:

* Your own JS, CSS, or font files cannot be attached and linked: write the script in an inline `<script>`, the styles in `<style>`, and use fonts from Google Fonts or `data:` URIs.
* Scripts from jsDelivr or unpkg are refused.
* Frames, `<object>`, `<embed>`, `<base>`, and absolute URLs to other sites are refused.
* Normal links (`<a href>`) to websites are fine.

On edit and restore, only loads that the change adds are checked.

## Sandbox limits

Some browser features are blocked inside the sandbox. They are warnings, not errors: the Artifact is saved, and Tess is told what to fix in a follow-up edit.

| Blocked feature | What to do instead |
| - | - |
| Downloads (`<a download>`, `blob:` or `data:` links, creating files from a script) | Download the page from the Artifact page |
| Print button (`window.print()`) | Use the browser print on the opened Artifact, or present it |
| Dialogs (`alert`, `confirm`, `prompt`) | Show messages inside the page |
| `window.open()` | Use a normal link; links open in a new tab |
| `document.cookie` | Keep state in memory or in `localStorage` |

## Fully custom page

Besides templates, Tess can create an Artifact from a complete custom HTML page (`document`) in chat. The whole page, template included, stays editable in later versions. Security checks always apply: no frames, no extra `link` or `meta` tags, and nothing loaded from outside the Artifact.

## Sharing and the link

* Sharing levels are described above. **Anyone with the link** still requires a Tess login.
* **Copy link** in the Share dialog copies a link that includes the workspace (`?w=`), so people who belong to several workspaces open the Artifact in the right one.
* When you share with a specific person, that person receives an email with the same workspace link. Shares with teams, the whole workspace, or anyone with the link do not send email.

## API integration

Artifacts are also available through the Tess public API: create, edit, rename, list and restore versions, delete a version, publish, unpublish, share, and delete, plus the template list, with the same owner, permission, and sharing-policy rules as the panel. Your systems can generate and refresh recurring reports without going through chat. Through the public API, creation takes `title`, `content`, `styles`, `script`, `lang`, and `template`; attaching files, `source_file`, and `document` are chat features. See the [Artifacts API guide](https://docs.tess.im/en/artifacts-api.md).

## Limits

> [!WARNING]
>
> An Artifact contains the data provided when it was created or edited. Dashboards do not connect to live systems, and page scripts cannot reach the internet. To refresh the numbers, ask for the update in chat and share the new version.

An Artifact can never be published as a public website, by any route. Artifacts are private by default and open only to the people you share them with, always behind a Tess login. To publish a site open on the internet, use [Tess Pages](https://docs.tess.im/en/tess-pages.md) separately.

For the step-by-step guide to creating and sharing, see [Create and share](https://docs.tess.im/en/using-artifacts.md).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.