Two kinds of event
A session that ends in an order links to it through
orderId. Session events show how the agent got there. Order events show what happened next.
get_session_events:
get_order_events:
Execution steps
get_order also returns executionSteps: each step AgentMall ran to place the order, with its state, how long it took and a correlationId for tracing it.
state is pending, running, succeeded or failed.