# tinker.types.Checkpoint

## _class_ [**tinker.types.Checkpoint**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py\#L11)( _[BaseModel](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/_models.py\#L88)_)

**Fields:**

- [**checkpoint_id**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L12) ( _str_) – The checkpoint ID
- [**checkpoint_type**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L15) ( _[CheckpointType](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L8)_) – The type of checkpoint (training or sampler)
- [**time**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L18) ( _datetime_) – The time when the checkpoint was created
- [**tinker_path**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L21) ( _str_) – The tinker path to the checkpoint
- [**size_bytes**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L24) ( _int | None_) – The size of the checkpoint in bytes
- [**public**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L27) ( _bool_) – Whether the checkpoint is publicly accessible
- [**expires_at**](https://github.com/thinking-machines-lab/tinker/blob/main/src/tinker/types/checkpoint.py#L30) ( _datetime | None_) – When this checkpoint expires (None = never expires)

## Referenced by

- [tinker.types.CheckpointsListResponse](https://tinker-docs.thinking-machines.ai/tinker/api-reference/types/checkpointslistresponse/)
- [tinker.types.TrainingRun](https://tinker-docs.thinking-machines-lab/tinker/api-reference/types/trainingrun/)
