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 April 21, 2026