create_asset
Creates a generic asset in a watsonx project using a name, asset type, and optional type-specific attributes or description, enabling project resource registration.
Instructions
Generic asset creation — confirmed live at POST /v2/assets?project_id=...
(not /transactional/v2/assets, which is 404). asset_id is present directly
at the top level of the response, no defensive extraction needed for this one.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| asset_type | Yes | e.g. 'data_asset', 'script', or a product-defined type. | |
| attributes | No | Opaque per-type payload, becomes the asset's `entity` content. Empty for a bare data_asset. | |
| project_id | Yes | ||
| description | No |