Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.5 KB

SseEventAgentRunUpdateData.md

File metadata and controls

33 lines (24 loc) · 1.5 KB

SseEventAgentRunUpdateData

The event envelope, sent as the JSON of the SSE data line. Its type names the event, and its data is that event's payload.

Properties

Name Type Description Notes
data AgentRunUpdateData The payload of the event named in type.
event_id int The stored event's ID, the same as the SSE id field. Pass the last one received as last_event_id to resume after a reconnection.
source_run_id str [optional]
type str The event name, the same as the SSE event field.

Example

from revengai.models.sse_event_agent_run_update_data import SseEventAgentRunUpdateData

# TODO update the JSON string below
json = "{}"
# create an instance of SseEventAgentRunUpdateData from a JSON string
sse_event_agent_run_update_data_instance = SseEventAgentRunUpdateData.from_json(json)
# print the JSON string representation of the object
print(SseEventAgentRunUpdateData.to_json())

# convert the object into a dict
sse_event_agent_run_update_data_dict = sse_event_agent_run_update_data_instance.to_dict()
# create an instance of SseEventAgentRunUpdateData from a dict
sse_event_agent_run_update_data_from_dict = SseEventAgentRunUpdateData.from_dict(sse_event_agent_run_update_data_dict)

[Back to Model list] [Back to API list] [Back to README]