Change who can discover and invoke a Model API
Set visibility to Public, Discoverable, or Private by sending
{ "visibility": "Private" } (or Public / Discoverable). Model API Owners and
users with ManageModelCollaborators can change visibility. This updates the
first-class visibility field only. It does not write Everyone collaborator
rows or change access.isPublic on the v1 payload.
Public still requires every caller to authenticate. Central config
com.cerebro.domino.modelmanager.allowPublicModels blocks Public only;
Discoverable and Private remain available when that setting is false.
Related:
- GET /api/modelServing/beta/modelApis//visibility (read current visibility)
- GET /api/modelServing/v1/modelApis/ (read Model API metadata)
- GET /api/modelServing/beta/modelApis//collaborators (list assigned roles)
Authorizations
Path Parameters
Model API id (24-character hex). Obtain from GET /api/modelServing/v1/modelApis or the Model API details URL.
Body
Public allows all authenticated users to discover and invoke. Discoverable allows all authenticated users to discover, but only assigned collaborators to invoke. Private requires an assigned collaborator role to discover or invoke.
Public, Discoverable, Private Response
The updated visibility.
Public allows all authenticated users to discover and invoke. Discoverable allows all authenticated users to discover, but only assigned collaborators to invoke. Private requires an assigned collaborator role to discover or invoke.
Public, Discoverable, Private