Skip to content

Push Stats Node

Events/Chat

Push Stats

Pushes multiple LLM usage stats to the chat at once

events_chat_push_statsdataEvent callback
Inputs3
Outputs1
Security exposure10/10
Packagedata

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

No score metadata has been set for this node yet.

Input Pins

3

Input

Execution
exec_in

Initiate Execution

Step Name

String
step_name

Label for this batch of stats (e.g. 'Agent Execution', 'Pipeline')

Stats

Struct Array
input_stats

Array of LLM usage statistics

LLMUsageStatsLLMUsageStats5 fields
usageUsagerequired
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
variant 1PromptTokenDetailsvariant
cached_tokensinteger | null
format uint32min 0
audio_tokensinteger | null
format uint32min 0
variant 2nullvariant
+2 more fields
modelstring | null
duration_msinteger | null
format uint64min 0
iterationsinteger | null
format uint32min 0
callsArray<ModelCallEntry>
itemsModelCallEntryarray item
modelstringrequired
usageUsagerequired
completion_tokensinteger:uint32required
format uint32min 0
prompt_tokensinteger:uint32required
format uint32min 0
total_tokensinteger:uint32required
format uint32min 0
costnumber | null
format double
prompt_tokens_detailsanyOf (2)
+2 more fields
duration_msinteger | null
format uint64min 0
Schema enforced

Output Pins

1

Output

Execution
exec_out

Done with the Execution

Node Info

Internal name
events_chat_push_stats
Category
Events/Chat