Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/ai-chat/types/chat
ChatMessage
Interface ChatMessage
interface
ChatMessage
{
agent
?:
Agent
;
content
:
string
;
error
?:
string
;
id
:
string
;
metadata
?:
{
model
?:
string
;
processingTime
?:
number
;
tokens
?:
number
}
;
role
:
"user"
|
"assistant"
|
"system"
;
timestamp
:
Date
;
}
Index
Properties
agent?
content
error?
id
metadata?
role
timestamp
Properties
Optional
agent
agent
?:
Agent
content
content
:
string
Optional
error
error
?:
string
id
id
:
string
Optional
metadata
metadata
?:
{
model
?:
string
;
processingTime
?:
number
;
tokens
?:
number
}
role
role
:
"user"
|
"assistant"
|
"system"
timestamp
timestamp
:
Date
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
agent
content
error
id
metadata
role
timestamp
Timeline Studio API Documentation - v0.26.0
Loading...