Skip to main content
POST
/
3d
/
models
/
{modelId}
/
revisions
JavaScript SDK
const revisions = await client.revisions3D.create(4234325345643654, [{ fileId: 8252999965991682 }, { fileId: 6305529564379596 }]);
{
  "items": [
    {
      "id": 1000,
      "fileId": 1000,
      "published": false,
      "status": "Done",
      "assetMappingCount": 0,
      "createdTime": 0,
      "rotation": [
        0,
        0,
        0
      ],
      "scale": [
        1,
        1,
        1
      ],
      "translation": [
        0,
        0,
        0
      ],
      "camera": {
        "target": [
          123
        ],
        "position": [
          123
        ]
      },
      "metadata": {},
      "thumbnailThreedFileId": 1000,
      "thumbnailURL": "https://api.cognitedata.com/api/v1/project/myproject/3d/files/1000"
    }
  ]
}

Authorizations

Authorization
string
header
required

Access token issued by the CDF project's configured identity provider. Access token must be an OpenID Connect token, and the project must be configured to accept OpenID Connect tokens. Use a header key of 'Authorization' with a value of 'Bearer $accesstoken'. The token can be obtained through any flow supported by the identity provider.

Path Parameters

modelId
integer<int64>
required

Model ID.

Body

application/json

The revisions to create.

items
object[]
required
Required array length: 1 - 1000 elements

Response

A list of created revisions.

items
object[]
required
Last modified on April 23, 2026