Get Scene Artifact
One artifact: the current version, or version. With inline, the
SDD or PEG text travels in the record — what a host agent wants to read.
The model comes in the variant materials / meshes ask for, as in
list_scene_artifacts. Some versions written before every version was
stored on its own were overwritten by a later one and have no bytes left:
asking for one is a 410 artifact_version_unavailable. Requires the
read scope.
Authorization
apiKey First-party API key (sbk_live_…), presented as a Bearer token.
In: header
Path Parameters
uuidValue in
- "sdd"
- "peg"
- "blueprint"
- "model"
- "layout_preview"
- "thumbnail"
Query Parameters
A specific version; the current one when omitted.
Include the text of an SDD or PEG in content.
falseThe model only: its materials embedded with their maps (default — a self-contained file) or by reference (thin materials naming the library material, resolved with POST /v1/projects/{project_id}/assets/resolve).
"embed"Value in
- "reference"
- "embed"
The model only: its library meshes embedded (default) or by reference (instance nodes naming the mesh asset).
"embed"Value in
- "reference"
- "embed"
Response Body
application/json
application/problem+json
curl -X GET "https://example.com/v1/scenes/497f6eca-6276-4993-bfeb-53cbbbba6f08/artifacts/sdd"{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "version": 0, "is_current": true, "content_type": "string", "size_bytes": 0, "content_hash": "string", "created_at": "2019-08-24T14:15:22Z", "download_url": "string", "download_expires_in": 0, "download_expires_at": "2019-08-24T14:15:22Z", "materials": "reference", "meshes": "reference", "content": "string"}