Skip to main content

agent_server/api/conversations/
conversation_summary.rs

1//! Compact conversation metadata returned by listing and update routes.
2
3use serde::Serialize;
4
5#[derive(Debug, Serialize)]
6pub struct ConversationSummary {
7    pub id: String,
8    pub agent: String,
9    pub title: String,
10    pub archived: bool,
11    pub created_at: String,
12    pub updated_at: String,
13    pub message_count: usize,
14    pub selected_family_id: Option<String>,
15    pub history_tokens_estimate: usize,
16}