Artifacts
Publish an artifact from its source
Changed onCompiles 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 URLhttps://api.openworklabs.com
- Auth
- API key in header x-api-key
- or HTTP bearer
Request body
Mcp App Deploy Request required
title, string required
description, string
textFallback, string required
reactSource, string required
cssSource, string
Response
The published artifact.
Mcp App Deploy Response 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
- info
endpoint added
- info