Skip to main content
{
	"blended_token_usage": "123.45",
	"created_at": "2023-12-01T05:00:00.401Z",
	"id": "aich_xxxxxxxxxxxxx",
	"last_message_at": "2023-12-01T05:00:00.401Z",
	"message_count": 42,
	"notification_preference": "all",
	"title": "Weekly Revenue Analysis",
	"updated_at": "2023-12-01T05:00:00.401Z",
	"user": {
		"id": "user_xxxxxxxxxxxxx"
	}
}
blended_token_usage
string
required
The total number of tokens consumed across all messages in this conversation.Example: 123.45
created_at
string<date-time>
required
The datetime the ai chat was created.Example: 2023-12-01T05:00:00.401Z
id
string
required
The unique identifier for the ai chat.Example: aich_xxxxxxxxxxxxx
last_message_at
string<date-time> | null
required
The timestamp of the most recent message in this conversation. Null if no messages have been sent yet.Example: 2023-12-01T05:00:00.401Z
message_count
integer
required
The total number of messages exchanged in this conversation.Example: 42
notification_preference
AiChatNotificationPreferences
required
The notification preference for this AI chat. all delivers AI chat notifications and badges, while none mutes them.Available options: all, none
title
string | null
required
A short descriptive title for this AI chat conversation. Null if no title has been set.Example: Weekly Revenue Analysis
updated_at
string<date-time>
required
The datetime the ai chat was last updated.Example: 2023-12-01T05:00:00.401Z
user
object
required
The user who owns this AI chat conversation.