Documentation Index
Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
Use this file to discover all available pages before exploring further.
Syntax
getLLMTokenUsageForSession()
Description
Retrieves the token usage information for the current session. Returns:TSessionUsageInformation | null — the number of input and output tokens used, or null if the data is unavailable.
TSessionUsageInformation object
TSessionUsageInformation object