Skip to main content
POST
Grant a user or organization Model API access

Authorizations

X-Domino-Api-Key
string
header
required

Path Parameters

modelApiId
string
required

Model API id (24-character hex). Obtain from GET /api/modelServing/v1/modelApis or the Model API details URL.

Body

application/json
id
string
required

Domino user or organization id (24-character hex ObjectId). This pattern applies to GET, POST, and PUT because they share this schema. Responses use the same shape: stored collaborator refs are Mongo ObjectIds, so non-hex ids are not returned. Copy id from GET /api/modelServing/beta/modelApis/{modelApiId}/collaborators, or use a user or organization id from the Domino UI. Set isOrganization to match the type; Domino does not look up the id to confirm it exists.

Pattern: ^[0-9a-fA-F]{24}$
isOrganization
boolean
required

Whether id identifies an organization.

role
enum<string>
required

Collaborator role. Management APIs accept Owner, Editor, Operator, and Viewer.

Available options:
Owner,
Editor,
Operator,
Viewer

Response

The newly created collaborator.

id
string
required

Domino user or organization id (24-character hex ObjectId). This pattern applies to GET, POST, and PUT because they share this schema. Responses use the same shape: stored collaborator refs are Mongo ObjectIds, so non-hex ids are not returned. Copy id from GET /api/modelServing/beta/modelApis/{modelApiId}/collaborators, or use a user or organization id from the Domino UI. Set isOrganization to match the type; Domino does not look up the id to confirm it exists.

Pattern: ^[0-9a-fA-F]{24}$
isOrganization
boolean
required

Whether id identifies an organization.

role
enum<string>
required

Collaborator role. Management APIs accept Owner, Editor, Operator, and Viewer.

Available options:
Owner,
Editor,
Operator,
Viewer