Skip to Content
ScenebrewDevelopers
API referenceLibrary

Resolve Assets

POST
/v1/projects/{project_id}/assets/resolve

Many assets of the project in one call — what a renderer needs to draw a scene model whose materials are references (extras.scenebrew.asset): each material's fallback_color and normal_convention and its maps by role (albedo, normal, ao, …), every map addressed by digest so the bytes are cached for good. Ids that are not assets of this project come back not_found in their place; the call never fails for one of them. Requires the read scope.

Authorization

apiKey
AuthorizationBearer <token>

First-party API key (sbk_live_…), presented as a Bearer token.

In: header

Path Parameters

project_id*Project Id
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

The assets a renderer needs to draw a scene that references them.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/v1/projects/497f6eca-6276-4993-bfeb-53cbbbba6f08/assets/resolve" \  -H "Content-Type: application/json" \  -d '{    "ids": [      "6e0346a3-e54d-40e3-9779-4ba1e707e35b"    ]  }'
{  "items": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "status": "ok",      "type": "mesh",      "fallback_color": "string",      "normal_convention": "opengl",      "maps": {}    }  ]}