Skip to main content
POST
Restore an artifact version
Authenticate with a Tess API token in the Authorization: Bearer header. See the Artifacts API guide for the full flow, permissions and ownership rules.

Code Examples

Path Parameters

string
required
The artifact ID (universal_id), for example artifact_5d1f0c2e-8a3b-4c6d-9e7f-1a2b3c4d5e6f.

Headers

integer
required
Workspace ID. Required as of 2026-09-01. Until then, if omitted, the user’s selected workspace is used (deprecated). After the cutoff, a missing header returns 422.

Request Body

integer
required
Version to restore (minimum 1).

Response

201

Response fields

integer
The new version number.
integer
The version that was restored.

Errors

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-workspace-id
integer

Workspace id. If not provided, the user's selected workspace is used.

Path Parameters

universal_id
string
required

Body

application/json
version
integer
required
Required range: x >= 1

Response

New head version

universal_id
string
version
integer
title
string
restored_from_version
integer