Record a robot episode for training.

Parameters

task_name
str
required

Name of the task being recorded.

duration_seconds
int
required

Duration of the episode in seconds.

Response

training_episode
TrainingEpisode

The recorded episode. See TrainingEpisode for more details.

Example Usage

await client.record_episode("pick_and_place", 60)