Skip to main content

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.

Example

Last modified on November 3, 2026