Usage
GET/v1/usage
info
Get an API Token (Bearer Token) via http://nilai.nillion.com
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
- 200
Successful Response