Timeline Studio API Documentation - v0.26.0
Preparing search index...
features/ai-chat/types/streaming
ClaudeStreamingEvent
Interface ClaudeStreamingEvent
interface
ClaudeStreamingEvent
{
content_block
?:
{
text
?:
string
;
type
:
string
}
;
delta
?:
{
stop_reason
?:
string
;
text
?:
string
;
type
:
string
}
;
index
?:
number
;
message
?:
{
content
:
any
[]
;
id
:
string
;
model
:
string
;
role
:
string
;
type
:
string
;
usage
?:
{
input_tokens
:
number
;
output_tokens
:
number
}
;
}
;
type
:
|
"message_start"
|
"content_block_start"
|
"content_block_delta"
|
"content_block_stop"
|
"message_delta"
|
"message_stop"
;
}
Index
Properties
content_
block?
delta?
index?
message?
type
Properties
Optional
content_
block
content_block
?:
{
text
?:
string
;
type
:
string
}
Optional
delta
delta
?:
{
stop_reason
?:
string
;
text
?:
string
;
type
:
string
}
Optional
index
index
?:
number
Optional
message
message
?:
{
content
:
any
[]
;
id
:
string
;
model
:
string
;
role
:
string
;
type
:
string
;
usage
?:
{
input_tokens
:
number
;
output_tokens
:
number
}
;
}
type
type
:
|
"message_start"
|
"content_block_start"
|
"content_block_delta"
|
"content_block_stop"
|
"message_delta"
|
"message_stop"
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Properties
content_
block
delta
index
message
type
Timeline Studio API Documentation - v0.26.0
Loading...