Skip to main content
GET
/
3d
/
models
/
{modelId}
/
revisions
/
{revisionId}
JavaScript SDK
const revisions3D = await client.revisions3D.retrieve(8252999965991682, 4190022127342195)
{
  "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.

revisionId
integer<int64>
required

Revision ID.

Response

200 - application/json

A revision object

id
integer<int64>
required

The ID of the revision.

Example:

1000

fileId
integer<int64>
required

The file id.

Example:

1000

published
boolean
default:false
required

True if the revision is marked as published.

status
enum<string>
required

The status of the revision.

Available options:
Queued,
Processing,
Done,
Failed
Example:

"Done"

assetMappingCount
integer<int64>
required

The number of asset mappings for this revision.

Example:

0

createdTime
integer<int64>
required

The creation time of the resource, in milliseconds since January 1, 1970 at 00:00 UTC.

Example:

0

rotation
number<double>[]
Required array length: 3 elements

Global rotation to be applied to the entire model. The rotation is expressed by Euler angles in radians and in XYZ order.

Example:
[0, 0, 0]
scale
number<double>[]
Required array length: 3 elements

Global scale to be applied to the entire model. The scale is expressed by units in XYZ order.

Example:
[1, 1, 1]
translation
number<double>[]
Required array length: 3 elements

Global translation to be applied to the entire model, to offset the position. The translation is expressed by units in XYZ order.

Example:
[0, 0, 0]
camera
object

Initial camera position and target.

metadata
object

Custom, application specific metadata. String key -> String value. Limits: Maximum length of key is 32 bytes, value 512 bytes, up to 16 key-value pairs.

thumbnailThreedFileId
integer<int64>

The threed file ID of a thumbnail for the revision. Use /3d/files/{id} to retrieve the file.

Example:

1000

thumbnailURL
string

The URL of a thumbnail for the revision.

Example:

"https://api.cognitedata.com/api/v1/project/myproject/3d/files/1000"

Last modified on April 23, 2026