Workspace Tokens

The AI Hub features Workspace tokens for accessing the AI Hub API. You can create Workspace tokens in the AI Hub as soon as you create an account.

triangle-exclamation

To access the AI Hub with PySDK, you'll need to create a Workspace token with the AI Hub. You can create Workspace tokens only if your account is part of a Workspace.

If you plan to use PySDK fully offline, or you plan to use models available in public Model Zoos, you don't need to create Workspace tokens.

Workspace tokens allow you to:

  • Run cloud inference on models in public Model Zoos.

  • Access to models in the Workspace Model Zoos for local and AI server inference.

  • Run cloud inference on models in Workspace Model Zoos.

Creating and managing tokens

AI Hub Tokens interface.
AI Hub Tokens interface.

To create or manage tokens, navigate to Workspace tokensarrow-up-right in the AI Hub. You'll be able to:

  • Generate new tokens: Click the Generate Workspace Token button, then set a description and expiration date for the token.

  • View partial token keys: The Tokens interface will display part of the token key for existing tokens. You will not be able to view the entire token key through the interface.

  • Copy token keys: Click the copy action button to the right of the token key to copy the token key.

  • Delete tokens: Click the delete action button to the right of the token key to delete the key. A confirmation popup will appear to confirm if you want to delete the key.

If you have PySDK arrow-up-rightinstalled, you may also use a PySDK CLI helper to manage tokens easily over a terminal. Click herearrow-up-right for more information about the PySDK CLI helper.

Last updated

Was this helpful?