Skip to Content
ScenebrewDevelopers

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 with scenebrew/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 no model run 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/models lists 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's label reads <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.fallbacks lists the routes a slot is tried on, in order, once its own route's attempts were rejected, each with its route, label and price for one attempt (creative_units, known). Every route gets two attempts. See Approval.
  • Worst case: estimate.max_creative_units is a slot's worst case (two attempts on its route and on each fallback, then the maps of the best attempt), totals.max_creative_units the plan's. An approval reserves it, never more than the budget, and generation spends only within it. no_questions still approves on totals.creative_units, the first choices' total.
  • provider_credits_exhausted: a slot settles open with this finding.code when 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_options lists 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 (label names the route); read the prices from the response. Name one as the generate choice's route; a route the slot is not offered is a 400 unknown_route with slot_id and routes. 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 generated with the least defective one. It settles open with texture_rejected / mesh_rejected only when no attempt left a usable file.
  • progress.slots[].review (also in result.approval.queued_for_generation[]): what to check on the delivered asset, {kind: finding|defect, code, message, measure, limit}. The asset's metadata.generation.acceptance carries the same as defects and findings; problems is gone.
  • progress.slots[].evidence: every attempt with its outcome (delivered, rejected, failed or running), creative_units, verdict and output.
  • Readiness: each review item is an optional finding asset_review_<code>, so a theme whose every required slot was delivered is ready.

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 in input_required revises its plan to the next revision (r1 → r2), which waits again; approval.revised_from names the revision and feedback it came from, and a revision that fails leaves the plan waiting with reason.code revision_failed. See Changing the plan.
  • approve_generation makes the mesh slots chosen for generation too: each textured within its family's face budget, a mesh asset marked generated with metadata.fit (its family's height), or open with finding.code mesh_rejected after two rejections, where it was route_unavailable before. A mesh's estimate is priced (57 CU on Tripo, 132 on Meshy), so a no_questions generation with meshes runs through within its budget instead of stopping on estimate_unknown.
  • model on create_session / update_session and on the AI scene steps runs that model: <provider>/<model> on a key your team holds, or Scenebrew's own scenebrew/… (credits). One the role cannot run on is a 400 UNKNOWN_MODEL or MODEL_INCAPABLE, with the reason; a session's model is 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 failed no_role_mapping before.
  • An Operation's model names the route that ran, with billing byok or credits (it read scenebrew/default whatever ran); result.writer carries it too. A turn's result.artifacts include what the steps it started wrote, and result.steps lists them. list_models lists the models your team's roles run on. Migration: read billing to 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_step runs revise_scene_sdd and revise_scene_peg instead of answering 501: each applies instructions to the scene's current document as its next version, and a revised graph keeps the identifiers of what it does not change. Without instructions the answer is 400 missing_instructions, without the document 409 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_output and output_truncated, with retryable true for provider_rate_limited, provider_unavailable, provider_unreachable and provider_bad_response. A succeeded AI step reports result.writer (provider, model, route_role, calls, usage), and a graph that left design ids out names them in result.pending_ids. See Errors. Migration: map a model to the writer role in team settings, AI models.
  • generate_library_entity for a theme: nothing of the plan is in the library before its approval. approval.theme_id is null, approval.slots[].id is the slot's plan key (a string, not a uuid), and a consumer names its recipe by plan key in recipe instead of recipe_id; the theme's result no longer carries publication. A design or recipe is in the library at once, its asset slots left open.
  • approve_generation takes choices keyed by approval.slots[].id and creates the approved plan in the library: the theme, as a draft, with its designs and recipes, returned in result.entity. upload makes a new asset from your file and bind uses an existing one for every recipe slot the slot names; leave_open fills none. A bind or upload naming another project's asset or another team's file is 404 asset_not_found / file_not_found, its slot in slot_id. Migration: key choices by the slot ids the operation's approval lists, read consumers[].recipe instead of recipe_id, and take the theme's id from result.entity once 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 tagged generated, bound where the slot is used, or the slot settles open with finding.code (texture_rejected, over_budget, no_provider_key, route_unavailable for a mesh). progress names the theme (entity), each slot (slots) and the spend (spent); the operation ends succeeded with result.approval.queued_for_generation per slot. See Approval.
  • generate_library_entity and model_asset answer 404 theme_not_found, design_not_found, asset_not_found or file_not_found for a referenced id that is not the project's (a file: not your team's), naming it.
  • model_asset takes loose_parts (0 to 50 pieces that stay separate after the union, such as a windlass; default 0, one solid) and retry_bake (after a job failed while baking or on its checks: bake, review and deliver asset_id's kept parts again, without modelling). asset_id is an empty mesh asset you made for it, or one Baker made.
  • MCP (tools 0.20.0): revise_scene_sdd and revise_scene_peg run, model_asset takes loose_parts and retry_bake, and generate_theme / approve_generation follow the plan-key approval, with the generated slots in progress.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_step no longer accepts analyze_scene_image or decorate_scene (422 instead of 501 not_implemented), and its request loses file_id, which only analyze_scene_image took. Both features come back later in another shape, not as steps of their own.
  • create_scene: workflow accepts only t2s, its default; i2s or s2s is a 422. Scenes made with those workflows earlier still open, and their workflow still reads i2s or s2s. Migration: drop workflow or send t2s.
  • MCP (tools 0.17.0): analyze_scene_image and decorate_scene are gone, and create_scene no longer takes workflow.

0.20.0 — October 2026

A reproducible layout. Additive; omitted, the layout is drawn fresh as before.

  • run_scene_step takes an optional seed (0 to 2147483647) for generate_scene_blueprint: the same seed with the same graph, design document and theme reproduces the layout. result.seed reports the seed a blueprint used, now as a number, and the operation's input records the one you sent. A seed on any other step is 400 seed_not_applicable. See Blueprint.
  • MCP (tools 0.11.0): generate_scene_blueprint takes seed.

0.19.0 — October 2026

Theme, design and recipe generation. Additive: the three kinds no longer answer 501.

  • generate_library_entity runs theme (planned from 1 to n concept images and an optional brief, or from one image generated on your Scenario key), design (design_type, count variants) and recipe (recipe_type). A theme publishes with a readiness record; see Generation.
  • request_id names one intended generation across retries; reusing it with other arguments is 409 request_id_reused.
  • cancel_operation stops a theme, design or recipe generation.
  • MCP (tools 0.10.0): generate_theme, generate_design and generate_recipe run, take typed arguments and a request_id.

0.18.0 — October 2026

Theme readiness. Additive.

  • get_theme_readiness (GET /v1/themes/{theme_id}/readiness): satisfied, draft, stale or not_satisfied, with the validated content digest and the findings. See Readiness.
  • MCP (tools 0.9.0): get_theme carries the theme's readiness.

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 materials and meshes, reference or embed (default embed, the self-contained file as before). Artifact records report the variant their download_url serves. 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_color and normal_convention.
  • Material assets carry fallback_color and normal_convention, derived at ingestion and correctable with an update.
  • MCP (tools 0.8.0): list_scene_artifacts and get_scene_artifact take materials and meshes.

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_scene requires theme_id, one of the project's library themes, for every workflow — a scene from an uploaded model too. Without it the answer is 422 and says how to get one; a theme of another project is 404 theme_not_found. Migration: list the project's themes (GET /v1/projects/{project_id}/themes), or create one, and pass its id.
  • update_scene with theme_id: null is 400 theme_required: a scene is re-themed, never un-themed. Migration: send another theme's id.
  • Scenes carry theme_id on every read.
  • delete_theme on a theme that scenes still use — trashed scenes count, they can be restored — is 409 theme_in_use with scene_count and trashed_scene_count. Delete those scenes first; nothing cascades.
  • generate_scene_blueprint lays 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 with layout_failed naming its size; missing_theme joins the operation error codes.
  • MCP (tools 0.7.x): list_themes is in the core toolset, create_scene takes a required theme_id, and update_scene lost clear_theme.

0.15.0 — October 2026

Placeholder designs, the surface design type and layout findings. Additive.

  • create_design and create_recipe take metadata, and update_design / update_recipe now store the metadata they always documented (it was dropped before). metadata.placeholder: true marks a design or recipe that stands in without assets. See Library → Placeholders.
  • The interspace design type and the interspace_surface recipe type are both surface now; 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 — and representation (tilemap or shapes). It no longer carries capability_policy.
  • The theme style profile's material_families roles say surface where they said interspace. The MCP server documents placeholders in its instructions and on create_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}/files with 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 with ETag = the role's digest: 201 when it filled the role, 200 when the role already held exactly these bytes. A role holding different bytes is never replaced here: 409 role_filled names the recipes (with slots) and themes using the asset under consumers. 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 and If-Match on the digest the role holds (files[role].sha256) replaces the bytes deliberately: stale 412 precondition_failed with current_sha256, missing header 428, empty role 412. The replaced digest keeps resolving through download_asset_file?sha256= for the retention period.
  • Problem documents carry the platform's extension members (consumers, current_sha256, role) next to code; 412 and 428 join 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}/export answers 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-Hash carries the container's hash, the same whatever the attachment mode. ?attachments=full|by-size|by-role|reference (default by-size) decides whether asset bytes ride inline or by reference; roles and slots (repeatable) name what by-role inlines. Every attachment uri is download_asset_file by digest (/v1/assets/{id}/files/{role}?sha256=), never a storage URL. A theme in another project is a 404. See Library → Export a theme; the MCP server exposes it as export_theme (tools 0.5.0).
  • EntityContainer and EmbeddedEntity join 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: mesh for a mesh asset, one map per channel for a material (albedo, normal, roughness, height, metallic, ao, emission, opacity, mask), texture for 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). attachment stays on texture records, deprecated, for exports made before this version.
  • download_asset_file is GET /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.files is now the record's map by role; the presigned list moved to stored_files (with media_type, sha256, size_bytes). Migration: read download URLs from stored_files, roles from files.
  • link_recipe_asset requires slot. A slot holds one asset (409 when filled); one asset may fill several slots. New unlink_recipe_slot (DELETE /v1/recipes/{id}/slots/{slot}) empties one slot. Breaking: create_recipe takes assets (slot → asset id) instead of asset_ids. Migration: name the operator slot for every asset you bind.
  • ThemeStyle — the style profile under a theme's metadata.style, published as a schema and validated on write. Creates and updates accept metadata. New recipe type scatter_props and design type scatter-props; DesignTypeOut.hda_operator is 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} answers 307 to a short-lived presigned URL, like download_scene_artifact does for artifacts: the stable form of an attachment's uri in an exported entity container. The route never expires; the URL it redirects to does.
  • EntityReference is now Reference, and Attachment is scenebrew-formats' own model, so the API and the .sbe container 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, RecipeRecord and AssetRecord are what a library entity is, independent of the cloud: the payload a Scenebrew entity container embeds. The responses ThemeOut, DesignOut, RecipeOut, AssetOut are 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_parameters keyed by planning module, designs as ordered references. Design: recipes as ordered references. Recipe: operator, operator_version, assets keyed by operator slot. Asset: attachment.
  • Inputs: create_theme / update_theme accept world and scene_parameters; create_recipe / update_recipe accept operator_version; link_recipe_asset accepts slot.

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.

  • tilemap is no longer an artifact kind. A tilemap is never a standalone artifact — it rides inside the blueprint swfbpx package, alongside heightmaps and shapes. ?kind=tilemap and GET …/artifacts/tilemap now return 422/404. Migration: read the blueprint; the tilemap is inside it.
  • download_expires_at (RFC 3339) is added next to download_expires_in on every presigned download — scene artifacts, files, asset files and recipe previews — the absolute instant the URL stops working.
  • Upload validation. The sdd is open-ended (an AI reads it): only UTF-8 is required, plus that every image it references is embedded inline as a data: URI (SDD_IMAGE_NOT_CONTAINED otherwise). The peg is fully schema-validated, and the blueprint swfbpx is schema- and integrity-validated, on upload — invalid documents answer 400 INVALID_ARTIFACT before 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 kind glb → 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} and GET /v1/sessions/{id}/turns/{turn_id} are replaced by GET /v1/operations/{id} (one resource for scene steps, session turns and library generations; statuses queued | running | canceling | succeeded | failed | canceled), GET /v1/operations?target_id= (history) and POST /v1/operations/{id}/cancel. Every write that starts work answers 202 with the operation and honours Prefer: wait=N (N ≤ 60): 200 with the finished operation when it completes in time.
  • Pagination is limit/cursor with next_cursor everywhere (page/page_size are gone); transcripts page with before/after message ids, newest first, and carry operation_id.
  • Sessions: POST /v1/projects/{id}/sessions requires text — a session is born with its first message and returns initial_turn. Added PATCH/DELETE /v1/sessions/{id}, POST /v1/sessions/{id}/context, DELETE /v1/sessions/{id}/context/{kind}/{entity_id}; messages take file_ids.
  • Files and artifacts: POST /v1/files (many files per request, 100 MB) and GET /v1/files/{id}; scenes take theme_id and source_file_id at create; DELETE /v1/scenes/{id}; GET /v1/scenes/{id}/sessions; GET /v1/scenes/{id}/artifacts/{kind} (?inline for SDD/PEG text), GET …/artifacts/{kind}/content (307 to the bytes) and PUT /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/credits and GET /v1/models (model is 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}/preview and POST /v1/projects/{id}/generations (one contract for all four kinds; asset runs today).
  • MCP tools 0.2.0 at mcp.scenebrew.com/v1/mcp: the same names as tools, a library toolset via ?toolsets=, every operation-backed tool takes wait.

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}/layout and POST /v1/scenes/{id}/brew were removed. Both ran as POST /v1/scenes/{id}/steps (generate_layout, brew_scene; 202) and were polled like the AI steps. Preconditions 409 MISSING_PEG / MISSING_BLUEPRINT; failures layout_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 as POST /v1/scenes/{id}/steps on a scene created with the new POST /v1/projects/{id}/scenes.
  • A session carried context — the scenes and library entities it refers to — instead of a scene_id; a turn described a posted message (POST /v1/sessions/{id}/messages).
  • Added GET /v1/projects/{id}/sessions and GET /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_bytes declared int64 on 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: read required on the data operations, 403 with WWW-Authenticate: Bearer error="insufficient_scope" otherwise. GET /v1/me stays 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.

On this page