Skip to main content
GET
Error

Authorizations

Authorization
string
header
required

Azure AD access token obtained via MSAL

Path Parameters

id
string
required

Response

Chat log found

A persisted chat session (conversation transcript + source/AI metadata)

id
string
required

Chat log ID (UUID)

email
string
required

Owner's email / UPN (Cosmos partition key). Always set server-side from the authenticated user.

chatHistory
ChatLogMessage · object[]
required

Ordered conversation messages

dataSourceName
string
required

Display name of the data source at log-write time

dataSourceType
string
required

DATASOURCE_TYPE at log-write time (shared, personal, workspace, sharepoint, ...)

dataSourceId
string
required
chatId
string
required

Source chat ID — ephemeral workspace session ID for workspace chats, persisted chat ID for shared chats

aiOptions
ChatLogAIOptions · object
required

AI inference options captured at log-write time

title
string

AI-generated title for the chat session (generated asynchronously after create/update)

chatTitle
string

Parent chat name (e.g. "My Workspace" for personal, chat tab title for shared)

isWorkspace
boolean

True when produced by the ephemeral cross-chat workspace session — authoritative chat-kind signal on rehydrate

hasHumanInput
boolean

True if any message is human_input_prompt or prompt_response

humanInputCount
integer

Count of prompt_response messages

promptIds
string[]

All promptTemplateIds referenced in this chat log

createdAt
string

ISO-8601 creation timestamp (set server-side)

updatedAt
string

ISO-8601 update timestamp (set server-side)

_ts
integer

Cosmos DB last-modified timestamp (epoch seconds)