Compiles the artifact’s source files and sets it as the active artifact for the design. This is the final step in a code-first workflow: after writing files, call this to make the changes visible in the editor and live preview.
Returns 422 Unprocessable Entity if compilation fails.
Documentation Index
Fetch the complete documentation index at: https://magicpatterns.mintlify.dev/docs/llms.txt
Use this file to discover all available pages before exploring further.
Magic Patterns API key. The same key authenticates v3 REST and the MCP server. Create one at https://www.magicpatterns.com/settings/api-keys.
The design's editor ID.
"abc123"
The artifact ID.