Skip to main content

Query User Stats Timeframe Window

Query User Stats Timeframe Window

Path Parameters
user_id uuid REQUIRED
time_frame UserStatsTimeFrame REQUIRED

Possible values: [day, week, month, total]

An enumeration.

Query Parameters
window_size Window Size

Possible values: 0 < value ≤ 100

Responses
200

Successful Response

Schema OPTIONAL
time_frame Time Frame
last_updated date-time
leaderboard object[]
rank Rank OPTIONAL
user_id uuid
highlighted Highlighted OPTIONAL
username Username
auth_method Auth Method
display_name Display Name
leader_score Leader Score OPTIONAL
level Level OPTIONAL
base_date date-time OPTIONAL
modified_date date-time OPTIONAL
prompts Prompts OPTIONAL
replies_assistant Replies Assistant OPTIONAL
replies_prompter Replies Prompter OPTIONAL
labels_simple Labels Simple OPTIONAL
labels_full Labels Full OPTIONAL
rankings_total Rankings Total OPTIONAL
rankings_good Rankings Good OPTIONAL
accepted_prompts Accepted Prompts OPTIONAL
accepted_replies_assistant Accepted Replies Assistant OPTIONAL
accepted_replies_prompter Accepted Replies Prompter OPTIONAL
reply_ranked_1 Reply Ranked 1 OPTIONAL
reply_ranked_2 Reply Ranked 2 OPTIONAL
reply_ranked_3 Reply Ranked 3 OPTIONAL
streak_last_day_date date-time OPTIONAL
streak_days Streak Days OPTIONAL
last_activity_date date-time OPTIONAL
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type