Chat Sessions

A ChatSession represents one conversation with the Files.com AI Assistant.

Data Source Schema

Required

PropertyDescription
id
String
Chat Session ID.

Read Only

PropertyDescription
title
String
Short AI-generated chat title.
user_id
Int64
User ID.
ai_task_id
Int64
AI Task ID. Present when the conversation was started by an AI Task.
workspace_id
Int64
Workspace ID. 0 means the default workspace.
last_active_at
String
Most recent chat activity date/time.
created_at
String
Chat session creation date/time.
messages
Dynamic
Visible conversation messages in this chat session. For performance reasons, this is not provided when listing chat sessions.

Example Data Source

data "files_chat_session" "example_chat_session" {
  id = "id"
}