Publish an item to organization and/or marketplace
Publish a prompt or template to the caller’s organization scope, the global marketplace scope, or both. Admin/Superadmin only; rejects duplicate publications of the same itemId.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
What's being published: prompt or template.
prompt, template Mongo ObjectId of the source prompt or template the caller owns and wants to publish.
Per-scope publish settings (organization, marketplace) — each carries enabled, shareType, isContentVisible, allowEditableReferences.
Optional display overrides for the listing; when omitted the underlying item's own name/description are used.