Get Recipe Revision Authoring
get_recipe_revision_authoringRetrieve the authoring snapshot behind a published recipe revision so you can create a draft for an in-place edit or branch from it. Published revision remains unchanged.
Instructions
Read the authoring snapshot behind a published revision. authoring_draft, wizard (Save a recipe) and base_model (imported fitted model) revisions carry one; api_mmm, model_snapshot and legacy rows return an explicit unavailable error (404). Returns snapshot, name, revision_id, draft_content_hash, kind, source_available and source_unavailable_reason. Dataset bytes are filled from the recorded origin only when it still hashes to what was fitted; otherwise snapshot.source is null, source_available is false and the reason says to choose the dataset again before the draft can publish. Use the snapshot with create_recipe_draft: target for an in-place edit, source_revision_id for a branch. The published revision stays unchanged. Does not create or fit anything.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | Yes | ||
| recipe_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||