create_data_asset
Create versioned data assets from S3, GCP, computation results, or combined sources for computational workflows in Code Ocean. Supports internal storage or external references without copying.
Instructions
Create a new data asset from various sources including S3 buckets, computation results, or combined assets.
Data assets are versioned, immutable collections of files that serve as inputs or outputs for computational workflows in Code Ocean. Internal data assets store files within Code Ocean's infrastructure, while external data assets reference files in external storage (S3/GCP) without copying.
Supports creating data assets from AWS S3, GCP Cloud Storage, computation results, or combining existing data assets. Returns confirmation of creation request validity, not success, as creation takes time. Use wait_until_ready() to monitor creation progress.
You can link to the created data assets with the 'data_asset_id' with the pattern: https://codeocean.example.com with /data-assets/<data_asset_id>.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data_asset_params | Yes |