Skip to main content

bl token

Retrieve authentication token for a workspace

Synopsis

Retrieve the authentication token for the specified workspace. The token command displays the current authentication token used by the CLI for API requests. This token is automatically managed and refreshed as needed. Authentication Methods:
  • API Key: Returns the API key
  • OAuth (Browser Login): Returns the access token (refreshed if needed)
  • Client Credentials: Returns the access token (refreshed if needed)
The token is retrieved from your stored credentials and will be automatically refreshed if it’s expired or about to expire. Examples:

Options

Options inherited from parent commands

SEE ALSO

  • bl - Blaxel CLI - manage and deploy AI agents, sandboxes, and resources
Last modified on April 11, 2026