LatticaAI Documentation
  • Welcome to LatticaAI
  • Conceptual Guide
  • Architecture Overview
    • Management Client
    • Query Client
  • Platform Workflows
    • Account Management
    • Model Management
    • User Access Management
    • Query Submission
    • Credit Management
    • Worker Management
  • How-To Guides
    • Client Installation
      • How-To: Install Management Client
      • How-To: Install Query Client
    • Model Lifecycle
      • How-To: Deploy AI model
      • How-To: Modify AI Model Settings
    • Access Control
      • How-To: Create User Access Token
      • How-To: Modify User Access Token Setting
      • How-To: Remove Token's Assignment
      • How-To: Assign Token to Model
      • How-To: See List of Tokens
    • Resource Management
      • How-To: Start Worker
      • How-To: Stop Worker
      • How-To: Monitor Worker Performance
    • Secure Query Processing
      • How To: Upload Evaluation Key
      • How-To: Encrypt Input Message
      • How To: Execute Query
      • How-To: Decrypt Output Data
      • How-To: Encrypt, Execute, and Decrypt in One Step
    • Account and Finance Operations
      • How-To: View Payment Transaction History
      • How-To: Update Account Information
      • How-To: View Credit Balance and Add Credit to Your Account
      • How-To: Monitor Balance and Usage
  • Demo Tutorials
    • Image Sharpening with LatticaAI Demo Tutorial
    • Sentiment Analysis with LatticaAI Demo Tutorial
    • Health Analysis with LatticaAI Demo Tutorial
    • Digit Recognition with LatticaAI Demo Tutorial
    • Zooming Into Each Step of Demo Run with LatticaAI flow
Powered by GitBook
On this page
  • Understanding the Tokens Parameters
  • Parameters that may be modified

Was this helpful?

  1. How-To Guides
  2. Access Control

How-To: See List of Tokens

PreviousHow-To: Assign Token to ModelNextResource Management

Last updated 3 months ago

Was this helpful?

The Tokens page in the web console provides a comprehensive view of all User Access Tokens created under your account. This page allows you to monitor token details, find specific tokens using filters or sorting options, and manage your tokens efficiently.


Understanding the Tokens Parameters

  • Token Name: The descriptive name of the token.

  • Creation Date: The date and time when the token was created.

  • Expiration Date: The token's expiration date

  • Status: Indicates whether the token is active or canceled

  • Model Assignment: Specifies the AI model the token is assigned to. If unassigned, this field is blank.

  • Evaluation Key: Indicates whether an Evaluation Key (EVK) has been generated for the token and assigned model. EVKs are required for encrypted queries.


Parameters that may be modified

Field
Type
Required
Description
Allowed Values

status

str

No

Filter tokens by their current status.

ACTIVE, CANCELED, SUSPENDED

modelId

str

No

Filter tokens associated with a specific model ID.

Valid modelId UUID string

issueDate

int

No

Filter tokens issued on a specific date (Unix timestamp in milliseconds).

Valid Unix timestamp (BigInt)


The Tokens page displays a table with detailed information about each token.

Accessing the Tokens Page

  1. Log In Log in to the LatticaAI web console using your credentials.

  2. Navigate to the Tokens Page From the main menu, select Tokens to access the list of all tokens associated with your account.

The Tokens page offers tools to filter and sort the token(s) you need

The LatticaAI SDK provides an API call to retrieve the list of tokens associated with your account. This allows customers to implement custom filtering and sorting logic in their own systems.

Use the following code snippet to fetch the tokens list:

# List Tokens

import LatticaManagement

# Authenticate
lattica = LatticaManagement("your_license_from_lattica_console")

# Choose a model
model_id = lattica.list_models()[0].model_id

# List Tokens
tokens = lattica.list_tokens(status="ACTIVE", model_id=model_id)

Token List