Action Trace Response
An action trace records the individual browser actions performed by/Operator, such as navigating,
typing, clicking, and selecting elements. In the Python SDK, access it through
response.action_trace.
For Agent Studio custom-agent workflow steps and nested workflows, use
Workflow Trace instead.
Operator Traces
Simple action logs for/Operator commands:
Operator Action Timing
Timed Operator browser actions include optionalstartTs, endTs, and durationMs fields. The
first two are Unix epoch milliseconds measured in the browser, and durationMs is the elapsed
milliseconds between them. Composite actions can include nested children; timing currently
describes the parent action rather than each child. The synthetic Done item has no timing fields.
response.action_trace items as start_ts,
end_ts, and duration_ms.
Nested Operator Traces
When a custom workflow invokes Operator, that workflow step can include its Operator action trace:Legacy Custom Agent Step Types
Legacy custom-agent action traces use astep_type field to identify the action. The full list of
supported step types:
Formatting Example
Convert action traces to readable markdown (handles multiple custom agent step types):GIF Recording
The SDK automatically compiles frames into an animated GIF showing the complete
automation trajectory.
1
Automatic Directory Creation
Narada automatically creates a directory structure for your GIFs:
- Main Directory:
Narada Downloadsin your machineβs Downloads folder - Request Directory: Directory named after your
request_idfrom the SDK response - File: Automation saved as an animated
.giffile
If the
Narada Downloads directory doesnβt exist, it will be created automatically.2
Find Your GIF File
Navigate to your Downloads folder and look for:Each GIF request gets its own directory named after the
request_id for easy correlation with your SDK calls.Best Practices
Debugging
Use action traces for programmatic debugging and GIFs for visual verification
Auditing
Action traces provide detailed audit logs for compliance and monitoring
Documentation
GIFs document visual workflows while action traces capture step-by-step logic
Analysis
Parse action traces to analyze automation patterns and optimize workflows