ScenebrewDevelopers
API referenceLibrary

Preview Recipe

POST
/v1/recipes/{recipe_id}/preview

Cook a sample of the recipe — with the given parameters, or its own — and get a short-lived URL of the GLB. The one synchronous cook, bounded by the small sample. Requires the write scope.

AuthorizationBearer <token>

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

In: header

Path Parameters

recipe_id*Recipe Id
Formatuuid

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/problem+json

curl -X POST "https://example.com/v1/recipes/497f6eca-6276-4993-bfeb-53cbbbba6f08/preview" \  -H "Content-Type: application/json" \  -d '{}'
{  "download_url": "string",  "download_expires_in": 0,  "download_expires_at": "2019-08-24T14:15:22Z",  "content_type": "string",  "size_bytes": 0}