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.
| 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. |
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)