Account

Get User Stats

Get usage statistics for the authenticated user, including total prompts, sensitive elements detected, conversations, and a per-platform breakdown. Optionally filter by number of days.

SDK Usage:

const stats = await client.getUserStats(7);     // Last 7 days
const allTime = await client.getUserStats(null); // All time
get/api/user/stats

Query parameters

daysinteger nullable

Number of days to look back. Omit or pass null for all-time stats.

Response

User statistics

totalPromptsinteger

Total number of prompts across all platforms

totalSensitiveElementsinteger

Total number of sensitive entities detected

totalConversationsinteger

Total number of unique conversation sessions

Changes