Skip to main content

Query User Messages

Query user messages.

Path Parameters
user_id uuid REQUIRED
Query Parameters
api_client_id uuid
max_count Max Count

Possible values: 0 < value ≤ 1000

start_date date-time
end_date date-time
only_roots Only Roots
desc Desc
include_deleted Include Deleted
lang Lang
Responses
200

Successful Response

Schema OPTIONAL
object[]
id uuid OPTIONAL
user_id uuid OPTIONAL
frontend_message_id Frontend Message Id OPTIONAL
text Text
lang Lang OPTIONAL
is_assistant Is Assistant
emojis object OPTIONAL
user_emojis string[] OPTIONAL
user_is_author User Is Author OPTIONAL
synthetic Synthetic OPTIONAL
parent_id uuid OPTIONAL
created_date date-time OPTIONAL
review_result Review Result OPTIONAL
review_count Review Count OPTIONAL
deleted Deleted OPTIONAL
model_name Model Name OPTIONAL
message_tree_id uuid OPTIONAL
ranking_count Ranking Count OPTIONAL
rank Rank OPTIONAL
user object OPTIONAL
id Id
display_name Display Name
auth_method Auth Method

Possible values: [discord, google, local, system]

user_id uuid
enabled Enabled
deleted Deleted
notes Notes
created_date date-time OPTIONAL
show_on_leaderboard Show On Leaderboard
streak_days Streak Days OPTIONAL
streak_last_day_date date-time OPTIONAL
last_activity_date date-time OPTIONAL
tos_acceptance_date date-time OPTIONAL
422

Validation Error

Schema OPTIONAL
detail object[] OPTIONAL
loc undefined[]
msg Message
type Error Type
query_user_messages_api_v1_users__user_id__messages_get
GET /api/v1/users/:user_id/messages
user_id — path
api_client_id — query
max_count — query
start_date — query
end_date — query
only_roots — query
desc — query
include_deleted — query
lang — query
curl -L 'https://projects.laion.ai/api/v1/users/:user_id/messages' \
-H 'Accept: application/json'