Changelog
What each published version of the api.scenebrew.com contract added, and how to migrate across the breaking ones.
The contract is published as @scenebrew/public-api-spec; its version is the
info.version the API reports at /openapi.json and the version shown at the
bottom of this site's sidebar.
Scenebrew is a development preview, so the contract is pre-1.0 and there is no major version: a change that breaks callers bumps the minor like any other and says so in its entry below, which is where the warning lives rather than in the digit. Releases up to and including 0.9.0 were originally numbered 1.0.0 to 5.0.0; they were renumbered onto this scheme, one release per minor, without any change to what they contain.
0.39.0 — November 2026
A session runs on its own model: your team's settings map no model for
conversations any more. Breaking for a client that relied on that mapping:
what a call that names no model runs on changes.
- Sessions: a session created without
model(or withscenebrew/default) runs on Scenebrew's own model for conversations. It ran on the model your team's AI model settings mapped to the chat role; that mapping is gone, and the Scenebrew app picks a session's model in its composer. Migration: to keep a session on your team's own provider key, name the model,model: "<provider>/<model>", on create or update. See Models. - AI steps (
generate_scene_sdd,revise_scene_sdd,generate_scene_peg,revise_scene_peg) that name nomodelrun on the model your team maps to its writer role, or else on Scenebrew's own. They no longer fall back on the chat role's mapping in between. GET /v1/modelslists the route of the writer role as your team maps it, and Scenebrew's own for conversations; the entry of a team-mapped chat model is gone. A route'slabelreads<model> (<roles>).
0.38.0 — October 2026
A planned asset whose route keeps being rejected is tried on its other routes, and an approval reserves the worst case it can cost. Additive.
- Fallbacks:
approval.slots[].estimate.fallbackslists the routes a slot is tried on, in order, once its own route's attempts were rejected, each with itsroute,labeland price for one attempt (creative_units,known). Every route gets two attempts. See Approval. - Worst case:
estimate.max_creative_unitsis a slot's worst case (two attempts on its route and on each fallback, then the maps of the best attempt),totals.max_creative_unitsthe plan's. An approval reserves it, never more than the budget, and generation spends only within it.no_questionsstill approves ontotals.creative_units, the first choices' total. provider_credits_exhausted: a slot settles open with thisfinding.codewhen your team's Scenario plan has no creative units left.
0.37.0 — October 2026
You choose the model each planned mesh is generated on, and an approved theme generation delivers what it makes for you to judge. Additive in shape; what a rejection does changes. This entry covers 0.36.0 and 0.37.0.
- Mesh model choice:
approval.slots[].route_optionslists every route a slot may be generated on, its default (estimate) first. A mesh is offered Tripo 3.1, Tripo P2 and Meshy 7.1, each at its own price (labelnames the route); read the prices from the response. Name one as thegeneratechoice'sroute; a route the slot is not offered is a400 unknown_routewithslot_idandroutes. See Approval. - The acceptance gate rejects only a defect in the file itself: a texture's seam or size; a mesh that is empty, untextured, flat or over its face budget. Those are retried as before. A comparison with the concept (colour or detail density against the crop, a mesh's proportions) is a finding and never rejects.
- The best attempt is delivered: when every attempt was rejected, the
slot is
generatedwith the least defective one. It settlesopenwithtexture_rejected/mesh_rejectedonly when no attempt left a usable file. progress.slots[].review(also inresult.approval.queued_for_generation[]): what to check on the delivered asset,{kind: finding|defect, code, message, measure, limit}. The asset'smetadata.generation.acceptancecarries the same asdefectsandfindings;problemsis gone.progress.slots[].evidence: every attempt with itsoutcome(delivered,rejected,failedorrunning),creative_units,verdictandoutput.- Readiness: each review item is an optional finding
asset_review_<code>, so a theme whose every required slot was delivered isready.
0.35.0 — October 2026
You can change a theme's plan before approving it, approved meshes are
generated, a model argument runs the model it names, and Operations say
which model ran and how it was billed. Additive in shape; what some fields
report changes. This entry covers 0.32.0 to 0.35.0.
revise_generation(POST /v1/operations/{id}/revise): feedback on a theme generation waiting ininput_requiredrevises its plan to the next revision (r1→r2), which waits again;approval.revised_fromnames the revision and feedback it came from, and a revision that fails leaves the plan waiting withreason.coderevision_failed. See Changing the plan.approve_generationmakes the mesh slots chosen for generation too: each textured within its family's face budget, a mesh asset markedgeneratedwithmetadata.fit(its family's height), or open withfinding.codemesh_rejectedafter two rejections, where it wasroute_unavailablebefore. A mesh's estimate is priced (57 CU on Tripo, 132 on Meshy), so ano_questionsgeneration with meshes runs through within its budget instead of stopping onestimate_unknown.modeloncreate_session/update_sessionand on the AI scene steps runs that model:<provider>/<model>on a key your team holds, or Scenebrew's ownscenebrew/…(credits). One the role cannot run on is a400 UNKNOWN_MODELorMODEL_INCAPABLE, with the reason; a session'smodelis up to 200 characters. A role your team maps no model for runs on Scenebrew's own model, charged in credits by what it uses, where it failedno_role_mappingbefore.- An Operation's
modelnames the route that ran, withbillingbyokorcredits(it readscenebrew/defaultwhatever ran);result.writercarries it too. A turn'sresult.artifactsinclude what the steps it started wrote, andresult.stepslists them.list_modelslists the models your team's roles run on. Migration: readbillingto know whether credits were spent.
0.31.0 — October 2026
The revise steps run, the AI steps run on your team's own models, and a generated theme stays a plan until you approve it, which then generates its materials. Breaking for a caller that approves a theme generation or reads its plan, and for a team that maps no model to its writer or orchestrator role; the rest is additive. This entry covers 0.26.0 and 0.28.0 to 0.31.0; 0.27.0 has its own below.
run_scene_steprunsrevise_scene_sddandrevise_scene_peginstead of answering501: each appliesinstructionsto the scene's current document as its next version, and a revised graph keeps the identifiers of what it does not change. Withoutinstructionsthe answer is400 missing_instructions, without the document409 missing_sdd/missing_peg. See Iterating.- The AI steps run on the model your team maps to its writer role, or to its
orchestrator role when it maps no writer, and cost no credits on your
team's own provider key. Without either mapping they fail with the route's
code (
no_role_mapping,no_provider_key, …); the operation error codes add the provider's codes,invalid_outputandoutput_truncated, withretryabletrue forprovider_rate_limited,provider_unavailable,provider_unreachableandprovider_bad_response. A succeeded AI step reportsresult.writer(provider,model,route_role,calls,usage), and a graph that left design ids out names them inresult.pending_ids. See Errors. Migration: map a model to the writer role in team settings, AI models. generate_library_entityfor atheme: nothing of the plan is in the library before its approval.approval.theme_idisnull,approval.slots[].idis the slot's plan key (a string, not a uuid), and a consumer names its recipe by plan key inrecipeinstead ofrecipe_id; the theme'sresultno longer carriespublication. A design or recipe is in the library at once, its asset slots left open.approve_generationtakeschoiceskeyed byapproval.slots[].idand creates the approved plan in the library: the theme, as a draft, with its designs and recipes, returned inresult.entity.uploadmakes a new asset from your file andbinduses an existing one for every recipe slot the slot names;leave_openfills none. Abindoruploadnaming another project's asset or another team's file is404 asset_not_found/file_not_found, its slot inslot_id. Migration: keychoicesby the slot ids the operation'sapprovallists, readconsumers[].recipeinstead ofrecipe_id, and take the theme's id fromresult.entityonce approved.- With slots to generate, an approved theme generation goes on
running: each material is made on your team's Scenario key within the approval's budget and becomes a library asset taggedgenerated, bound where the slot is used, or the slot settles open withfinding.code(texture_rejected,over_budget,no_provider_key,route_unavailablefor a mesh).progressnames the theme (entity), each slot (slots) and the spend (spent); the operation endssucceededwithresult.approval.queued_for_generationper slot. See Approval. generate_library_entityandmodel_assetanswer404 theme_not_found,design_not_found,asset_not_foundorfile_not_foundfor a referenced id that is not the project's (a file: not your team's), naming it.model_assettakesloose_parts(0 to 50 pieces that stay separate after the union, such as a windlass; default 0, one solid) andretry_bake(after a job failed while baking or on its checks: bake, review and deliverasset_id's kept parts again, without modelling).asset_idis an empty mesh asset you made for it, or one Baker made.- MCP (tools 0.20.0):
revise_scene_sddandrevise_scene_pegrun,model_assettakesloose_partsandretry_bake, andgenerate_theme/approve_generationfollow the plan-key approval, with the generated slots inprogress.slots.
0.27.0 — October 2026
Image-to-scene and decoration leave the contract. Breaking only for a
caller that creates an i2s or s2s scene; the two steps never ran.
run_scene_stepno longer acceptsanalyze_scene_imageordecorate_scene(422instead of501 not_implemented), and its request losesfile_id, which onlyanalyze_scene_imagetook. Both features come back later in another shape, not as steps of their own.create_scene:workflowaccepts onlyt2s, its default;i2sors2sis a422. Scenes made with those workflows earlier still open, and theirworkflowstill readsi2sors2s. Migration: dropworkflowor sendt2s.- MCP (tools 0.17.0):
analyze_scene_imageanddecorate_sceneare gone, andcreate_sceneno longer takesworkflow.
0.20.0 — October 2026
A reproducible layout. Additive; omitted, the layout is drawn fresh as before.
run_scene_steptakes an optionalseed(0 to 2147483647) forgenerate_scene_blueprint: the same seed with the same graph, design document and theme reproduces the layout.result.seedreports the seed a blueprint used, now as a number, and the operation'sinputrecords the one you sent. Aseedon any other step is400 seed_not_applicable. See Blueprint.- MCP (tools 0.11.0):
generate_scene_blueprinttakesseed.
0.19.0 — October 2026
Theme, design and recipe generation. Additive: the three kinds no longer
answer 501.
generate_library_entityrunstheme(planned from 1 to n concept images and an optional brief, or from one image generated on your Scenario key),design(design_type,countvariants) andrecipe(recipe_type). A theme publishes with a readiness record; see Generation.request_idnames one intended generation across retries; reusing it with other arguments is409 request_id_reused.cancel_operationstops a theme, design or recipe generation.- MCP (tools 0.10.0):
generate_theme,generate_designandgenerate_reciperun, take typed arguments and arequest_id.
0.18.0 — October 2026
Theme readiness. Additive.
get_theme_readiness(GET /v1/themes/{theme_id}/readiness):satisfied,draft,staleornot_satisfied, with the validated content digest and the findings. See Readiness.- MCP (tools 0.9.0):
get_themecarries the theme'sreadiness.
0.17.0 — October 2026
Scene models by reference. Additive; the default is unchanged.
- Every route and tool that returns a scene's model takes
materialsandmeshes,referenceorembed(defaultembed, the self-contained file as before). Artifact records report the variant theirdownload_urlserves. See Scene models: references and variants. resolve_assets(POST /v1/projects/{project_id}/assets/resolve) resolves up to 100 library asset ids to their files by role, with content-addressed URLs,fallback_colorandnormal_convention.- Material assets carry
fallback_colorandnormal_convention, derived at ingestion and correctable with an update. - MCP (tools 0.8.0):
list_scene_artifactsandget_scene_artifacttakematerialsandmeshes.
0.16.0 — October 2026
Every scene has a library theme. Breaking for scene creation and for un-theming; the rest is additive. 0.16.1 only rewords the descriptions.
create_scenerequirestheme_id, one of the project's library themes, for every workflow — a scene from an uploaded model too. Without it the answer is422and says how to get one; a theme of another project is404theme_not_found. Migration: list the project's themes (GET /v1/projects/{project_id}/themes), or create one, and pass its id.update_scenewiththeme_id: nullis400theme_required: a scene is re-themed, never un-themed. Migration: send another theme's id.- Scenes carry
theme_idon every read. delete_themeon a theme that scenes still use — trashed scenes count, they can be restored — is409theme_in_usewithscene_countandtrashed_scene_count. Delete those scenes first; nothing cascades.generate_scene_blueprintlays out with the scene's theme and nothing else: there is no built-in default theme any more. A theme whose asset files exceed 32 MiB fails the operation withlayout_failednaming its size;missing_themejoins the operation error codes.- MCP (tools 0.7.x):
list_themesis in the core toolset,create_scenetakes a requiredtheme_id, andupdate_scenelostclear_theme.
0.15.0 — October 2026
Placeholder designs, the surface design type and layout findings. Additive.
create_designandcreate_recipetakemetadata, andupdate_design/update_recipenow store themetadatathey always documented (it was dropped before).metadata.placeholder: truemarks a design or recipe that stands in without assets. See Library → Placeholders.- The
interspacedesign type and theinterspace_surfacerecipe type are bothsurfacenow; stored designs and recipes were renamed, and a theme container imported with the old names is renamed on import. - The recipe-type catalogue lists
terrain_blockout_platform; a theme whose terrain blockout is a platform recipe is laid out as shapes. - The blueprint operation's result carries
findings— each PEG element the scene's theme binds nothing to (element,element_kind,kind,asks,design_type,message), left out of the layout instead of failing it — andrepresentation(tilemaporshapes). It no longer carriescapability_policy. - The theme style profile's
material_familiesroles saysurfacewhere they saidinterspace. The MCP server documents placeholders in its instructions and oncreate_design/create_recipe(tools 0.6.1).
0.14.0 — September 2026
Add a file to an existing asset. Additive.
add_asset_file—POST /v1/assets/{id}/fileswith an uploaded file id and a role (mesh,texture, or a material channel:albedo,normal,roughness,height,metallic,ao,emission,opacity,mask) fills an empty role of an asset, whether or not a recipe already references it. Answers the asset withETag= the role's digest:201when it filled the role,200when the role already held exactly these bytes. A role holding different bytes is never replaced here:409 role_fillednames the recipes (with slots) and themes using the asset underconsumers. There is no force flag. See Library → Add a file to an asset.replace_asset_file—PUT /v1/assets/{id}/files/{role}with an uploaded file id andIf-Matchon the digest the role holds (files[role].sha256) replaces the bytes deliberately: stale412 precondition_failedwithcurrent_sha256, missing header428, empty role412. The replaced digest keeps resolving throughdownload_asset_file?sha256=for the retention period.- Problem documents carry the platform's extension members (
consumers,current_sha256,role) next tocode;412and428join the relayed statuses. The MCP server exposes both operations (tools 0.6.0).
0.13.0 — September 2026
Theme export. Additive.
export_theme—GET /v1/themes/{id}/exportanswers the theme and everything reachable from it (its designs, their recipes, the assets those slot and the assets those reference, embedded once each) as one Scenebrew entity container (.sbe,application/vnd.scenebrew.entity+json): the file a Unity project or the standalone Architect imports. The body is byte for byte what the library wrote;X-Scenebrew-Content-Hashcarries the container's hash, the same whatever the attachment mode.?attachments=full|by-size|by-role|reference(defaultby-size) decides whether asset bytes ride inline or by reference;rolesandslots(repeatable) name whatby-roleinlines. Every attachmenturiisdownload_asset_fileby digest (/v1/assets/{id}/files/{role}?sha256=), never a storage URL. A theme in another project is a404. See Library → Export a theme; the MCP server exposes it asexport_theme(tools 0.5.0).EntityContainerandEmbeddedEntityjoin the published schemas, so generated clients type the export's body.
0.12.0 — September 2026
Assets by role, recipe slots as identity. Breaking in two places; the rest is additive.
AssetRecord.files— the asset's stored bytes as attachments keyed by role:meshfor a mesh asset, one map per channel for a material (albedo,normal,roughness,height,metallic,ao,emission,opacity,mask),texturefor a texture asset. The record also carries what its type holds:format/resolution(texture),shader_name/shader_parameters/texture_refs(material),meshes/materials/textures(mesh).attachmentstays on texture records, deprecated, for exports made before this version.download_asset_fileisGET /v1/assets/{id}/files/{role}and takes?sha256=: with a digest it serves those bytes while they are retained, not the asset's current binding. Breaking:AssetOut.filesis now the record's map by role; the presigned list moved tostored_files(withmedia_type,sha256,size_bytes). Migration: read download URLs fromstored_files, roles fromfiles.link_recipe_assetrequiresslot. A slot holds one asset (409when filled); one asset may fill several slots. Newunlink_recipe_slot(DELETE /v1/recipes/{id}/slots/{slot}) empties one slot. Breaking:create_recipetakesassets(slot → asset id) instead ofasset_ids. Migration: name the operator slot for every asset you bind.ThemeStyle— the style profile under a theme'smetadata.style, published as a schema and validated on write. Creates and updates acceptmetadata. New recipe typescatter_propsand design typescatter-props;DesignTypeOut.hda_operatoris nullable.
0.11.0 — September 2026
Stable asset files and the shared reference shapes. One schema rename; otherwise additive.
download_asset_file—GET /v1/assets/{id}/files/{filename}answers307to a short-lived presigned URL, likedownload_scene_artifactdoes for artifacts: the stable form of an attachment'suriin an exported entity container. The route never expires; the URL it redirects to does.EntityReferenceis nowReference, andAttachmentis scenebrew-formats' own model, so the API and the.sbecontainer share one definition of both shapes. Same keys, same constraints; only the schema name moved. Migration: rename the one generated type.
0.10.0 — September 2026
Library records — the entity container payloads. Additive.
- Records.
ThemeRecord,DesignRecord,RecipeRecordandAssetRecordare what a library entity is, independent of the cloud: the payload a Scenebrew entity container embeds. The responsesThemeOut,DesignOut,RecipeOut,AssetOutare each a record plus the server-only fields (id,slug,project_id,thumbnail_url,created_at,updated_at). - Theme:
world(the constraints-first world block),scene_parameterskeyed by planning module,designsas ordered references. Design:recipesas ordered references. Recipe:operator,operator_version,assetskeyed by operator slot. Asset:attachment. - Inputs:
create_theme/update_themeacceptworldandscene_parameters;create_recipe/update_recipeacceptoperator_version;link_recipe_assetacceptsslot.
0.9.1 — September 2026
Wording only. The delete operations now say what deletion does: a deleted project or scene is hidden at once and purged — rows, stored artifacts, uploaded files and conversation transcripts — 30 days later, and a Scenebrew user can restore it from the app's trash until then. No shape, status or field changed.
0.9.0 — September 2026
Artifact-format and validation follow-up. Breaking for the artifact kind enum; the rest is additive or a stricter upload check.
tilemapis no longer an artifact kind. A tilemap is never a standalone artifact — it rides inside theblueprintswfbpxpackage, alongside heightmaps and shapes.?kind=tilemapandGET …/artifacts/tilemapnow return422/404. Migration: read the blueprint; the tilemap is inside it.download_expires_at(RFC 3339) is added next todownload_expires_inon every presigned download — scene artifacts, files, asset files and recipe previews — the absolute instant the URL stops working.- Upload validation. The
sddis open-ended (an AI reads it): only UTF-8 is required, plus that every image it references is embedded inline as adata:URI (SDD_IMAGE_NOT_CONTAINEDotherwise). Thepegis fully schema-validated, and theblueprintswfbpxis schema- and integrity-validated, on upload — invalid documents answer400 INVALID_ARTIFACTbefore anything is stored.
0.8.0 — September 2026
The full developer surface: one name per action across REST, SDK and MCP; everything slow is an operation; cursor pagination; files as a resource; the library. Old names are gone — there are no aliases.
- Steps are named after the tool that runs them:
create_sdd → generate_scene_sdd,build_peg → generate_scene_peg,generate_layout → generate_scene_blueprint,brew_scene → generate_scene_model. Artifact kindglb → model. Declared but not yet available (501 not_implemented):revise_scene_sdd,revise_scene_peg,analyze_scene_image,decorate_scene. - Operations:
GET /v1/scenes/{id}/steps/{step_id}andGET /v1/sessions/{id}/turns/{turn_id}are replaced byGET /v1/operations/{id}(one resource for scene steps, session turns and library generations; statusesqueued | running | canceling | succeeded | failed | canceled),GET /v1/operations?target_id=(history) andPOST /v1/operations/{id}/cancel. Every write that starts work answers202with the operation and honoursPrefer: wait=N(N ≤ 60):200with the finished operation when it completes in time. - Pagination is
limit/cursorwithnext_cursoreverywhere (page/page_sizeare gone); transcripts page withbefore/aftermessage ids, newest first, and carryoperation_id. - Sessions:
POST /v1/projects/{id}/sessionsrequirestext— a session is born with its first message and returnsinitial_turn. AddedPATCH/DELETE /v1/sessions/{id},POST /v1/sessions/{id}/context,DELETE /v1/sessions/{id}/context/{kind}/{entity_id}; messages takefile_ids. - Files and artifacts:
POST /v1/files(many files per request, 100 MB) andGET /v1/files/{id}; scenes taketheme_idandsource_file_idat create;DELETE /v1/scenes/{id};GET /v1/scenes/{id}/sessions;GET /v1/scenes/{id}/artifacts/{kind}(?inlinefor SDD/PEG text),GET …/artifacts/{kind}/content(307 to the bytes) andPUT /v1/scenes/{id}/artifacts/{kind}to bring your own SDD, PEG or blueprint. - Projects, credits, models:
POST /v1/projects,GET/PATCH/DELETE /v1/projects/{id},GET /v1/me/creditsandGET /v1/models(modelis accepted on AI steps, sessions and generations). - Library:
/v1/projects/{id}/{themes,designs,recipes,assets}(list, create) and/v1/{themes,designs,recipes,assets}/{id}(get, update, delete), the three membership links,GET /v1/design-types,GET /v1/recipe-types,POST /v1/recipes/{id}/previewandPOST /v1/projects/{id}/generations(one contract for all four kinds;assetruns today). - MCP tools 0.2.0 at
mcp.scenebrew.com/v1/mcp: the same names as tools, alibrarytoolset via?toolsets=, every operation-backed tool takeswait.
Migration from 0.7.0: rename the four step values and the three tool
names, read kind: model where glb was read, poll GET /v1/operations/{id}
instead of the step/turn paths, page with limit/cursor, and give
POST /v1/projects/{id}/sessions a text. Prefer: wait=N replaces any
implicit hold a client relied on.
0.7.0 — September 2026
Layout and brew became steps, not synchronous calls: a brew of a real scene runs for minutes, longer than a request should stay open.
POST /v1/scenes/{id}/layoutandPOST /v1/scenes/{id}/brewwere removed. Both ran asPOST /v1/scenes/{id}/steps(generate_layout,brew_scene;202) and were polled like the AI steps. Preconditions409 MISSING_PEG/MISSING_BLUEPRINT; failureslayout_failed,brew_failed,runner_unavailable. The procedural steps stayed free.
0.6.0 — September 2026
AI work became keyed by scene, not by session.
POST /v1/sessions/{id}/turns(step runs) was removed; AI steps ran asPOST /v1/scenes/{id}/stepson a scene created with the newPOST /v1/projects/{id}/scenes.- A session carried
context— the scenes and library entities it refers to — instead of ascene_id; a turn described a posted message (POST /v1/sessions/{id}/messages). - Added
GET /v1/projects/{id}/sessionsandGET /v1/sessions/{id}/messages.
0.5.0 — September 2026
The first write surface: sessions, turns, layout, brew, scene updates, the
write scope, and the MCP server at mcp.scenebrew.com/v1/mcp.
0.4.0 — September 2026
size_bytesdeclaredint64on artifacts.- Contract version now equals the API's
info.version.
0.3.0 — September 2026
- Description-only changes.
0.2.0 — August 2026
- Scopes enforced:
readrequired on the data operations,403withWWW-Authenticate: Bearer error="insufficient_scope"otherwise.GET /v1/mestays scope-free.
0.1.0 — August 2026
Initial public API: GET /v1/me, GET /v1/projects,
GET /v1/projects/{project_id}/scenes, GET /v1/scenes/{scene_id}/artifacts
with presigned downloads; API keys in the app; problem+json errors.