Skip to main content
POST
Publish an artifact

Authorizations

x-mp-api-key
string
header
required

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

editorId
string
required

The design's editor ID.

Example:

"abc123"

artifactId
string
required

The artifact ID.

Response

Compiled and activated.

artifactId
string
compiledFiles
string[]

File names that were emitted by the compiler.