create_hosted_model
Create a hosted pricing model, with no version yet: add one with train_hosted_model or upload_hosted_model_version. A demand model outputs the chance of a sale and its price sensitivity, and the optimizer prices from that; a price model outputs a price, or a ratio of the current price. Names are unique in a workspace (409 when the name is taken). Answers 404 not_released while hosted models (the hosted-pricing-models release) are not switched on for your workspace. Needs a Last Price credential with function publish scope. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | demand: outputs a demand curve the optimizer prices from. price: outputs a price or a ratio. | |
| name | Yes | A name for the model, unique in your workspace. | |
| description | No | What the model is for. | |
| auto_promote | No | Make a nightly candidate active when it beats the active version on held-out quotes. Defaults to false. | |
| auto_retrain | No | A demand model only: train a new candidate every night from your outcomes. Defaults to false. |