Domino offers authorization options to support various model API applications.
-
Go to the model API’s Settings page and click Invocation.
-
Select one of the following:
-
Unrestricted: If your model API is unrestricted, anyone with network access to Domino can call your model API. No access token is required when sending a request.
-
Restricted: If your model API is restricted, callers must send a valid access token with their requests to use the endpoint. See the code examples in the model overview tab to see how to send access tokens with your requests.
Note
-
-
Click Add Model Access Token to generate access tokens for your model API. You can generate as many access tokens as you want. Use the name field to help you track which tokens have been issued, to whom, and for what purpose.
To revoke or regenerate a token, click the gear button.