# `Tinkex.Types.ParsedCheckpointTinkerPath`
[🔗](https://github.com/North-Shore-AI/tinkex/blob/v0.4.0/lib/tinkex/types/parsed_checkpoint_tinker_path.ex#L1)

Parsed representation of a checkpoint tinker path.

Provides a reusable parser with consistent validation for CLI and REST helpers.

# `checkpoint_type`

```elixir
@type checkpoint_type() :: String.t()
```

# `t`

```elixir
@type t() :: %Tinkex.Types.ParsedCheckpointTinkerPath{
  checkpoint_id: String.t(),
  checkpoint_type: checkpoint_type(),
  tinker_path: String.t(),
  training_run_id: String.t()
}
```

# `checkpoint_segment`

```elixir
@spec checkpoint_segment(t()) :: String.t()
```

Convert the parsed checkpoint to the REST path segment (`weights/<id>` etc.).

# `from_tinker_path`

```elixir
@spec from_tinker_path(String.t()) :: {:ok, t()} | {:error, Tinkex.Error.t()}
```

Parse a tinker path into its components.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
