List an artifact's versions
List an artifact's saved versions, newest first: each with its id (ver_…), created_at, kind (created, edit, agent, suggestion, proposal or restore), note, and the people and agents who made it.
GET
/workspaces/{workspace}/artifacts/{artifact_id}/versions- Authentication: Required. Send an access token as
Authorization: Bearer. - MCP tool:
artifactwithactionversions, and the same inputs - Scope: An access token needs
artifacts:read.
Path parameters
Section titled “Path parameters”| Name | Type | Required | Description |
|---|---|---|---|
workspace |
string | Yes | The workspace’s slug, e.g. “acme”. |
artifact_id |
string | Yes | The artifact’s id (fol_…), or its address: /acme/-/artifacts/q4-roadmap-fol_… |
Example request
Section titled “Example request”curl https://api.g1t.sh/workspaces/acme/artifacts/fol_01kq7c4e6g8j0m2p4r6t8v0x2z/versions \ -H "Authorization: Bearer $G1T_TOKEN"Example response
Section titled “Example response”A successful request answers 200 with:
[ { "id": "ver_01kq9e6g8j0m2p4r6t8v0x2z4b", "artifact_id": "fol_01kq7c4e6g8j0m2p4r6t8v0x2z", "created_at": "2026-10-08T16:40:12.000Z", "kind": "edit", "note": null, "authors": [ { "type": "user", "id": "usr_01kmb2d4f6h8k0m2p4r6t8v0x2", "username": "bo", "display_name": "Bo Chen" } ] }, { "id": "ver_01kq7c4e6g8j0m2p4r6t8v0x2y", "artifact_id": "fol_01kq7c4e6g8j0m2p4r6t8v0x2z", "created_at": "2026-10-06T09:12:00.000Z", "kind": "created", "note": null, "authors": [ { "type": "user", "id": "usr_01kkntcg1eeb98j62xjm7eh09q", "username": "ana", "display_name": "Ana Lima" } ] }]Errors
Section titled “Errors”A failed request answers with one of these statuses and a body like {"error": {"code": "not_found", "message": "Repository not found."}}. See errors.
| Status | Code | When |
|---|---|---|
| 401 | unauthenticated |
A token is required, or the one sent is not valid. |
| 403 | forbidden |
The token is valid but not allowed to do this, such as a member-only change or an agent token outside its repository. |
| 404 | not_found |
It does not exist, or you cannot see it. |
| 422 | invalid |
The input is not valid. message says which field and why. |