Skip to main content

Tokens

Vecto API uses three types of tokens to manage access to various operations: PUBLIC, USAGE, and ACCOUNT_MANAGEMENT. Each token type has different privileges.

Token Types and Privileges

Operations/PrivilegesPUBLICUSAGEACCOUNT MANAGEMENT
Lookup Data
Ingest Data
Edit Data and Attribute
Management Operations
Metrics Operations
Creating, Modifying, Deleting Tokens
Creating, Modifying, Deleting Vector Spaces

The rule of the thumb is:

  • PUBLIC: Only performs lookups. Ideal for general, public-facing applications where only data lookups is necessary.
  • USAGE: Suitable for applications that require read and edit capabilities but do not need to manage vector spaces or tokens.
  • ACCOUNT MANAGEMENT: Essential for administrative purposes, including account management, metrics analysis, and full control over vector spaces and tokens.

You have the ability to set PUBLIC and USAGE tokens to grant access to multiple specified vector spaces, while ACCOUNT_MANAGEMENT tokens automatically have access to all vector spaces.

Choose the token type based on the needs of your application, keeping in mind the specific capabilities and restrictions of each token type in the Vecto API.