Create a new artifact
Artifacts
Create a new artifact
Creates a new artifact by cloning an existing one (typically the currently active artifact). The new artifact becomes the active artifact for the design and a new version entry is added to the timeline.
Use this to create a safe working branch before writing files — users can revert to the previous artifact if needed.
POST
Create a new artifact
Authorizations
Magic Patterns API key. The same key authenticates v3 REST and the MCP server. Create one at https://www.magicpatterns.com/settings/api-keys.
Path Parameters
The design's editor ID.
Example:
"abc123"
Body
application/json