Skip to main content
GET
/
api
/
public
/
v1
/
assets
/
{assetId}
/
model
/
versions
List model versions
curl --request GET \
  --url https://{BaseURL}/api/public/v1/assets/{assetId}/model/versions \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "versions": [
      {
        "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
        "versionNumber": 123,
        "recordType": "<string>",
        "published": true,
        "comment": "<string>",
        "createdAt": "2023-11-07T05:31:56Z",
        "updatedAt": "<string>"
      }
    ]
  }
}
Returns a list of version records for a model asset. Draft and published versions are included; autosaves are not. Each item is a summary (no canvas graph). Use Get model version for full nodes, edges, and metadata for one version.

Authorizations

Authorization
string
header
required

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

Path Parameters

assetId
string<uuid>
required

Response

OK

data
object
required