Read who can discover and invoke a Model API
Return Public, Discoverable, or Private for this Model API. Use this beta route;
GET /api/modelServing/v1/modelApis/ does not include a visibility field.
Any authenticated user can read visibility when it is Public or Discoverable. Private requires an assigned Owner, Editor, or Viewer.
Public: every authenticated Domino user can discover and invoke (JWT or session required; callers are never anonymous). Discoverable: every authenticated user can discover overview metadata; invoke requires an assigned Owner, Editor, or Viewer. Private: assigned collaborators only for discover and invoke.
Related:
- GET /api/modelServing/v1/modelApis/ (read Model API metadata)
- PUT /api/modelServing/beta/modelApis//visibility (change visibility)
- 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.
Response
The current 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