Create Study Recipe
create_study_recipeFreeze a study recipe without fitting to lock validated model inputs and preserve lineage; use source revision IDs when deriving from published same-study recipes.
Instructions
Freeze a recipe without fitting. Supply source_revision_id when deriving from a published same-study recipe to retain influence ancestry. Optional expected_content_hash binds the validated effective inputs; a mismatch returns 409 and requires a fresh preview. Specification kind api_mmm has request containing create_model API fields; model_snapshot has model_hash and is review-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| reason | Yes | ||
| study_id | Yes | ||
| specification | Yes | Backend recipe envelope. api_mmm requires request (a create_model body; model_type must be mmm, unknown config keys are rejected, channel_map and var_model_hash are rejected); model_snapshot requires model_hash and is review-only (launch refused, lineage unknown). Smart priors and VAR recipes are available only through the authoring-draft tools. Unknown fields are forwarded for backend validation. Every saved revision's read-time inspection carries lineage: the dataset origin recorded when the model was built, checked for availability now and never inferred after the fact. | |
| source_revision_id | No | ||
| expected_content_hash | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||