Ga naar inhoud
English

Read one model with its last change

GET
/v1/models/{id}
curl --request GET \
--url https://api.virtualdisplay.io/v1/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0 \
--header 'Authorization: Bearer <token>'
id
required
string format: uuid

The model’s id, from the list.

OK

Media typeapplication/json
object
model
required

The model, with its most recent change.

object
archived_at

When the account archive moved the model’s files out of the live bucket. Set only on an archived model.

string
archives_on
required

The UTC day the downgrade archive moves this live model, or null. Set only while a Shopify downgrade grace is pending.

One of:
string
embed_url
required

The embed URL of the model’s default app, the address a Customer’s page embeds.

string
file_size
required

The stored GLB in bytes, after sanitising.

integer
id
required

The model’s id. Use it in the model path. It is not the filename.

string
last_change

The model’s most recent change and who made it. Absent when the model has no history.

object
at
required

When the change was made, in UTC.

string format: date-time
by
required

Who made the change.

object
name
required

The name to show for who made the change.

string
type
required

The kind of actor, as the audit log records it, such as customer or admin.

string
load_count
required

How many times a Shopper has viewed the model in a viewer. Zero until the first view.

integer
name
required

The model’s name: its file’s name without the .glb extension.

string
purge_at

When the archived files are deleted for good. Set only on an archived model.

string
thumbnail_url
required

A PNG of the model’s default app, or null while that app has none.

One of:
string
uploaded_at
required

When the file was uploaded, or last replaced. A replace moves it forward.

string

Example

{
"model": {
"archived_at": "2026-11-10T00:00:00Z",
"archives_on": null,
"embed_url": "https://embed.virtualdisplay.io?app=eiken-stoel",
"file_size": 2481916,
"id": "0196a1f0-b8d4-7e21-8a6f-3c9d1e5b2f40",
"last_change": {
"at": "2026-11-16T14:03:21Z",
"by": {
"name": "Anne de Vries",
"type": "customer"
}
},
"load_count": 1284,
"name": "eiken-stoel",
"purge_at": "2027-01-09T00:00:00Z",
"thumbnail_url": "https://static.virtualdisplay.io/thumbnails/0196a1f2-4c3e-7b18-9d2a-6e8f0b1c3d57/9c4e2f7a1b8d3e6f0a5c9b2e7d4f1a8c3e6b9d2f5a0c7e4b1d8f3a6c9e2b5d7f.png",
"uploaded_at": "2026-11-16T14:03:21Z"
}
}

Bad Request

Media typeapplication/json
object
details

Null when the answer names no field. Otherwise, each field that is wrong:

  • id: invalid_input (Not a model id.)
object
id
  • invalid_input: Not a model id.
string
Allowed values: invalid_input
error
required
  • validation_error: A field is wrong, or the body is not the JSON the operation takes. details names each wrong field; repair it, do not retry as it is.
string
Allowed values: validation_error
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleinvalid_input
{
"details": {
"id": "invalid_input"
},
"error": "validation_error",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries unauthorized or token_invalid. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • unauthorized: No Bearer token was sent, or the token was revoked, or its integration was disabled. Send a valid token, do not retry the same one.
  • token_invalid: The token is malformed, has a bad signature or has expired. Exchange the secret for a new token, then retry once.
string
Allowed values: unauthorized token_invalid
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

{
"error": "token_invalid",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries forbidden. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • forbidden: The token is valid, but this integration may not make this call. Do not retry.
string
Allowed values: forbidden
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleforbidden
{
"error": "forbidden",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

Not Found

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • not_found: No such model in your account. A model of another Customer answers the same.
string
Allowed values: not_found
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplenot_found
{
"error": "not_found",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

Request Entity Too Large

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • body_too_large: The request body is larger than we accept, so nothing was done. Make it smaller, then retry once.
string
Allowed values: body_too_large
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplebody_too_large
{
"error": "body_too_large",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries rate_limited. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • rate_limited: The integration or its Customer is over its budget. Wait for the Retry-After seconds, then retry.
string
Allowed values: rate_limited
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Examplerate_limited
{
"error": "rate_limited",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}

The answer carries internal_error. See the errors page.

Media typeapplication/json
object
details

Null: an answer with this status names no field.

null
error
required
  • internal_error: Our fault. Retry with backoff, then stop; send the trace_id if it persists.
string
Allowed values: internal_error
trace_id
required

Identifies the request on our side. Send it with a support question about a failure.

string

Examples

Exampleinternal_error
{
"error": "internal_error",
"trace_id": "4bf92f3577b34da6a3ce929d0e0e4736"
}