Skip to content
dont-panic
Menu

Bridge type · packages/contracts-ts

SessionDocument

A stored document attached to a session: a note, a summary or template output.

export interface SessionDocument {
  id: number;
  session_id: number;
  kind: "note" | "summary" | "template_output";
  body_format: string;
  body: string;
  created_at: number;
  updated_at: number;
  /** JSON object: llm, model, template_id, template_title, attempts, language, length_policy. */
  generation_metadata_json: string;
}

All bridge types →