Create artifact from external authenticated source without another AI run
POST/artifacts/
Create a Design with source and optional assets in version 1. Send JSON for source, or multipart/form-data with that same JSON in a project part and at most 128 file parts for assets. Set each file part filename to its project-relative path. Assets follow direct upload rules, including vendor/ paths for JavaScript, CSS and JSON. Multipart permits 10.5 MiB of project metadata, 256 MiB of assets and 268 MiB total within 120 seconds. A reused Design snapshot cannot be combined with new asset parts. The retained workspace asset quota returns 409 with reason workspace_asset_quota.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 408
- 409
- 413
- 429
- 500
- 503
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response
Default Response