Action Trace Response
Action traces provide detailed step-by-step logs of automation execution, returned in API responses for both custom agent shortcuts and/Operator commands.
Operator Traces
Simple action logs for/Operator commands:
Custom Agent Traces
Detailed step logs for custom agent workflows with multiple action types:Supported Step Types
Custom agent 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