Skip to main content

RunOutput Attributes

AttributeTypeDefaultDescription
run_idOptional[str]NoneRun ID
agent_idOptional[str]NoneAgent ID for the run
agent_nameOptional[str]NoneAgent name for the run
session_idOptional[str]NoneSession ID for the run
parent_run_idOptional[str]NoneParent run ID
workflow_idOptional[str]NoneWorkflow ID if this run is part of a workflow
user_idOptional[str]NoneUser ID associated with the run
contentOptional[Any]NoneContent of the response
content_typestr"str"Specifies the data type of the content
reasoning_contentOptional[str]NoneAny reasoning content the model produced
reasoning_stepsOptional[List[ReasoningStep]]NoneList of reasoning steps
reasoning_messagesOptional[List[Message]]NoneList of reasoning messages
modelOptional[str]NoneThe model used in the run
model_providerOptional[str]NoneThe model provider used in the run
messagesOptional[List[Message]]NoneA list of messages included in the response
metricsOptional[Metrics]NoneUsage metrics of the run
additional_inputOptional[List[Message]]NoneAdditional input messages
toolsOptional[List[ToolExecution]]NoneList of tool executions
imagesOptional[List[Image]]NoneList of images attached to the response
videosOptional[List[Video]]NoneList of videos attached to the response
audioOptional[List[Audio]]NoneList of audio snippets attached to the response
filesOptional[List[File]]NoneList of files attached to the response
response_audioOptional[Audio]NoneThe model’s raw response in audio
inputOptional[RunInput]NoneInput media and messages from user
citationsOptional[Citations]NoneAny citations used in the response
model_provider_dataOptional[Any]NoneModel provider specific metadata
referencesOptional[List[MessageReferences]]NoneReferences used in the response
metadataOptional[Dict[str, Any]]NoneMetadata associated with the run
created_atintCurrent timestampUnix timestamp of the response creation
eventsOptional[List[RunOutputEvent]]NoneList of events that occurred during the run
statusRunStatusRunStatus.runningStatus of the run (running, completed, paused, cancelled, error)
workflow_step_idOptional[str]NoneWorkflow step ID (foreign key relationship)

RunOutputEvent Types and Attributes

Base RunOutputEvent Attributes

All events inherit from BaseAgentRunEvent which provides these common attributes:
AttributeTypeDefaultDescription
created_atintCurrent timestampUnix timestamp of the event creation
eventstrEvent type valueThe type of event
agent_idstr""ID of the agent generating the event
agent_namestr""Name of the agent generating the event
run_idOptional[str]NoneID of the current run
session_idOptional[str]NoneID of the current session
workflow_idOptional[str]NoneID of the workflow if part of workflow execution
workflow_run_idOptional[str]NoneID of the workflow run
step_idOptional[str]NoneID of the workflow step
step_nameOptional[str]NoneName of the workflow step
step_indexOptional[int]NoneIndex of the workflow step
toolsOptional[List[ToolExecution]]NoneTools associated with this event
contentOptional[Any]NoneFor backwards compatibility

RunStartedEvent

AttributeTypeDefaultDescription
eventstr"RunStarted"Event type
modelstr""The model being used
model_providerstr""The provider of the model

RunContentEvent

AttributeTypeDefaultDescription
eventstr"RunContent"Event type
contentOptional[Any]NoneThe content of the response
content_typestr"str"Type of the content
reasoning_contentOptional[str]NoneReasoning content produced
citationsOptional[Citations]NoneCitations used in the response
model_provider_dataOptional[Any]NoneModel provider specific metadata
response_audioOptional[Audio]NoneModel’s audio response
imageOptional[Image]NoneImage attached to the response
referencesOptional[List[MessageReferences]]NoneReferences used in the response
additional_inputOptional[List[Message]]NoneAdditional input messages
reasoning_stepsOptional[List[ReasoningStep]]NoneReasoning steps
reasoning_messagesOptional[List[Message]]NoneReasoning messages

RunContentCompletedEvent

AttributeTypeDefaultDescription
eventstr"RunContentCompleted"Event type

IntermediateRunContentEvent

AttributeTypeDefaultDescription
eventstr"RunIntermediateContent"Event type
contentOptional[Any]NoneIntermediate content of the response
content_typestr"str"Type of the content

RunCompletedEvent

AttributeTypeDefaultDescription
eventstr"RunCompleted"Event type
contentOptional[Any]NoneFinal content of the response
content_typestr"str"Type of the content
reasoning_contentOptional[str]NoneReasoning content produced
citationsOptional[Citations]NoneCitations used in the response
model_provider_dataOptional[Any]NoneModel provider specific metadata
imagesOptional[List[Image]]NoneImages attached to the response
videosOptional[List[Video]]NoneVideos attached to the response
audioOptional[List[Audio]]NoneAudio snippets attached to the response
response_audioOptional[Audio]NoneModel’s audio response
referencesOptional[List[MessageReferences]]NoneReferences used in the response
additional_inputOptional[List[Message]]NoneAdditional input messages
reasoning_stepsOptional[List[ReasoningStep]]NoneReasoning steps
reasoning_messagesOptional[List[Message]]NoneReasoning messages
metadataOptional[Dict[str, Any]]NoneAdditional metadata
metricsOptional[Metrics]NoneUsage metrics

RunPausedEvent

AttributeTypeDefaultDescription
eventstr"RunPaused"Event type
toolsOptional[List[ToolExecution]]NoneTools that require confirmation

RunContinuedEvent

AttributeTypeDefaultDescription
eventstr"RunContinued"Event type

RunErrorEvent

AttributeTypeDefaultDescription
eventstr"RunError"Event type
contentOptional[str]NoneError message

RunCancelledEvent

AttributeTypeDefaultDescription
eventstr"RunCancelled"Event type
reasonOptional[str]NoneReason for cancellation

PreHookStartedEvent

AttributeTypeDefaultDescription
eventstr"PreHookStarted"Event type
pre_hook_nameOptional[str]NoneName of the pre-hook being executed
run_inputOptional[RunInput]NoneThe run input passed to the hook

PreHookCompletedEvent

AttributeTypeDefaultDescription
eventstr"PreHookCompleted"Event type
pre_hook_nameOptional[str]NoneName of the pre-hook that completed
run_inputOptional[RunInput]NoneThe run input passed to the hook

PostHookStartedEvent

AttributeTypeDefaultDescription
eventstr"PostHookStarted"Event type
post_hook_nameOptional[str]NoneName of the post-hook being executed

PostHookCompletedEvent

AttributeTypeDefaultDescription
eventstr"PostHookCompleted"Event type
post_hook_nameOptional[str]NoneName of the post-hook that completed

ReasoningStartedEvent

AttributeTypeDefaultDescription
eventstr"ReasoningStarted"Event type

ReasoningStepEvent

AttributeTypeDefaultDescription
eventstr"ReasoningStep"Event type
contentOptional[Any]NoneContent of the reasoning step
content_typestr"str"Type of the content
reasoning_contentstr""Detailed reasoning content

ReasoningCompletedEvent

AttributeTypeDefaultDescription
eventstr"ReasoningCompleted"Event type
contentOptional[Any]NoneContent of the reasoning step
content_typestr"str"Type of the content

ToolCallStartedEvent

AttributeTypeDefaultDescription
eventstr"ToolCallStarted"Event type
toolOptional[ToolExecution]NoneThe tool being called

ToolCallCompletedEvent

AttributeTypeDefaultDescription
eventstr"ToolCallCompleted"Event type
toolOptional[ToolExecution]NoneThe tool that was called
contentOptional[Any]NoneResult of the tool call
imagesOptional[List[Image]]NoneImages produced by the tool
videosOptional[List[Video]]NoneVideos produced by the tool
audioOptional[List[Audio]]NoneAudio produced by the tool

MemoryUpdateStartedEvent

AttributeTypeDefaultDescription
eventstr"MemoryUpdateStarted"Event type

MemoryUpdateCompletedEvent

AttributeTypeDefaultDescription
eventstr"MemoryUpdateCompleted"Event type

SessionSummaryStartedEvent

AttributeTypeDefaultDescription
eventstr"SessionSummaryStarted"Event type

SessionSummaryCompletedEvent

AttributeTypeDefaultDescription
eventstr"SessionSummaryCompleted"Event type
session_summaryOptional[SessionSummary]NoneThe generated session summary

ParserModelResponseStartedEvent

AttributeTypeDefaultDescription
eventstr"ParserModelResponseStarted"Event type

ParserModelResponseCompletedEvent

AttributeTypeDefaultDescription
eventstr"ParserModelResponseCompleted"Event type

OutputModelResponseStartedEvent

AttributeTypeDefaultDescription
eventstr"OutputModelResponseStarted"Event type

OutputModelResponseCompletedEvent

AttributeTypeDefaultDescription
eventstr"OutputModelResponseCompleted"Event type

CustomEvent

AttributeTypeDefaultDescription
eventstr"CustomEvent"Event type
I