Back to reference

SessionStats

Statistics about the Grammarly session.

interface SessionStats {
  duration: number;
  suggestionsAccepted: SessionSuggestionBreakdown;
  suggestionsSent: SessionSuggestionBreakdown;
  wordsChecked: number;
}

Properties

durationnumber
Duration of the editing session, in seconds.

suggestionsAcceptedSessionSuggestionBreakdown
Suggestions accepted by user.

suggestionsSentSessionSuggestionBreakdown
Suggestions provided by Grammarly.

wordsCheckednumber
Total words checked during the session.

Last Updated: 9/17/2021, 11:38:18 PM