Get the active artifact
Artifacts
Get the active artifact
Returns the design’s currently active artifact — the one shown in the editor and preview. Includes the artifact ID and the list of file names in it.
Because the active artifact can change (the user may select a different
version in the UI, or AI generation may produce a new artifact),
always call this (or GET /v3/designs/{editorId}/status) to get the
latest active artifact before working with files.
GET
Get the active 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"