Overview

When running a task, you can use enable_recording to record a video of the agent run.

Getting the URL

Use recording_url() to get the video recording after the task completes.
from smooth import SmoothClient

smooth_client = SmoothClient(api_key="cmzr-YOUR_API_KEY")
task = smooth_client.run(
  task="<my-task>",
  enable_recording=True,
)

print(f"Live URL: {task.live_url()}")
print(f"Session recording URL: {task.recording_url()}")  # Waits for task completion
If Python is not your language of choice, check out our API Reference.