Create Python metric draft
create_python_metric_draftCreates an immutable Python metric draft and an asynchronous preview from a historical conversation, so you can validate results before publishing; source or I/O changes require a new draft.
Instructions
Create an immutable Python metric draft. Source or input/output changes require a new draft and new previews. Create an asynchronous preview for a historical conversation before publishing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| unit | No | ||
| source | Yes | ||
| description | No | ||
| output_type | Yes | ||
| display_name | Yes | ||
| requirements | No | ||
| target_metric_id | No | ||
| target_version_id | No |