List versions
Read version content
Read the latest source, or a specific version number:| Header | Meaning |
|---|---|
content-type | Source content type, e.g. text/markdown; charset=utf-8 |
x-artifact-id | Artifact ID |
x-artifact-version | Returned version number |
x-content-type-options: nosniff | Prevents browser content-type guessing |
Compare versions
Restore a version
Restoring never mutates old versions. It creates a new head version whose content comes from the version you selected.Retention
How long version history is kept depends on your plan:| Plan | Version history |
|---|---|
| Free | 30 days |
| Pro | 365 days |
| Team | 365 days |
A reliable agent loop
For agents that update the same artifact repeatedly:Guard concurrent writes
Send
expectedLatestVersion through REST or MCP when other writers may be active.