Artifacts

Publish an artifact from its source

Changed on

Compiles React source and publishes it as a new artifact in a new private Plugin named after its title, exactly as create_app does for an agent. The artifact has no tools and no saved data; build it in chat to give it either. Requires the artifactsCli feature and permission to create a Plugin.

post/v1/mcp-apps

Request

  • Base URL
    https://api.openworklabs.com
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Request body

McpAppDeployRequest required
title, string required
description, string
textFallback, string required
reactSource, string required
cssSource, string

Response

The published artifact.

McpAppDeployResponse required
appId, string required
pluginId, string required
revisionId, string required
title, string required
description, string nullable required
textFallback, string required
toolName, 'open_app' required
resourceUri, string required
serverPath, string required
tools, object[] required

Changes