> ## Documentation Index
> Fetch the complete documentation index at: https://icrl.dev/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Trajectory

> Episode record model

## Schema

```python theme={null}
class Trajectory(BaseModel):
    id: str  # uuid default
    goal: str
    plan: str
    steps: list[Step]
    success: bool
    metadata: dict[str, Any] = {}
```

## Utility

```python theme={null}
trajectory.to_example_string() -> str
```

Formats the trajectory into an in-context example block.
