models-publish
models-publishPublishes a Case Plan Model draft to published status. Optionally archives prior published versions in the same call.
Instructions
Publishes a Case Plan Model (draft -> published). If other published versions of the same model exist, they are listed in the response as prior_published_versions with a hint to archive them. Pass archive_version_ids to publish AND archive in one call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| archive_version_ids | No | Optional list of model IDs to archive when publishing. Use to archive prior published versions of the same model. | |
| model_id | Yes | Model ID (@rid format) |