Before you start
- API key: send it as a Bearer token in the
Authorizationheader. See Authentication. - Workspace: the
x-workspace-idheader is required on every call. Without it, the response is403. - Permissions: actions depend on the feature being enabled and on the plan and role of the user who owns the key.
Concepts
- Owner: the person who creates the Artifact. Only the owner changes, publishes and shares it. Others get
404(they cannot tell the Artifact exists) or403 ARTIFACT_EDIT_FORBIDDEN(they can read it but not change it). - Latest version (
head_version): every edit or restore creates a new version. Edits always start from the latest one. - Shared version (
shared_version): the version people with access see. It changes when you publish another version, on the first share (which publishes the latest version), when the shared version is deleted (it falls back to the newest earlier one), and when you unpublish (it becomes null). Edits never change it, so you can review before releasing. - Link (
viewer_url): the Artifact’s address in Tess. It stays the same across versions and requires a Tess login, including for public access.
Integration flow
1
Pick a template (optional)
List Artifact Templates returns the global templates plus the workspace’s own; when the slug is the same, the workspace one wins. Without a choice, creation uses
default, with the Tess visual identity.2
Create the Artifact
Create Artifact takes the title and the body HTML, with optional CSS and JavaScript. The response returns
universal_id, version 1 and viewer_url. The Artifact starts private.3
Share with the right audience
Share Artifact grants access to people, teams, the workspace or anyone signed in to Tess. The first grant publishes the current version.
4
Update without changing the link
On the next cycle, use Edit Artifact with
base_version to apply the changes. The new version does not reach people with access (only the owner and managers with Artifacts Manager see the latest version) until you call Publish Artifact Version.5
Control the history
List Artifact Versions shows the latest and the shared version. To roll back, use Restore Artifact Version and publish the restored version.
Sharing and governance
- Granting access follows the user’s restrictions, set by the admin on the Members page. By default, organization, workspace and teams are allowed and public access is not.
- People can only be added if they are active members of the workspace or the organization.
- A share call is all or nothing: if one target is rejected, nothing is written and the response lists
rejected_targets. - Unpublish Artifact removes every grant at once. When a manager unpublishes, the owner cannot publish again.
- Permissions are checked on every view: anyone who leaves the workspace or loses a sharing level loses access immediately.
- On the Enterprise plan, changes made through the API (create, edit, publish, share, delete) also appear in Audit Events, with
entity_typeset toartifact.
Errors
Artifact-specific errors return a stable code inerror_code and an explanation in message. Validation, workspace, rate-limit, and content-deletion errors return only message (validation also includes errors). Example:
Each endpoint page lists its codes. For general API statuses, see Errors.
Limits
Endpoints
List Artifacts
Your Artifacts in the workspace, paginated.
Create Artifact
Version 1 from a template.
Get Artifact
Latest version with its HTML.
Edit Artifact
Patch operations that create a new version.
Publish version
Sets the version people see.
Share Artifact
Grants and revokes access.

