Skip to main content

Usage

GET 

/v1/usage

info

Feel free to use the Nillion2025 as a test Bearer Token

Retrieve the current token usage for the authenticated user.

  • user: Authenticated user information (through HTTP Bearer header)
  • Returns: Usage statistics for the user's token consumption

Example

# Retrieves token usage for the logged-in user
usage = await get_usage(user)

Responses

Successful Response