Skip to content
View as Markdown

tinker.types.CheckpointSearchRequest

Generated from tinker 0.39.0 at commit 4801e02. Source links point at that snapshot.

class tinker.types.CheckpointSearchRequest(StrictBase)

A checkpoint search. Results are restricted to projects the caller may list.

Fields:

  • project_ids (list[str] | None) – Projects to search; None searches every listable project. Naming a project the caller cannot list is an error
  • user_metadata (dict[str, str]) – Exact user_metadata key/value matches; every pair must hold
  • checkpoint_type (CheckpointType | None) – Checkpoint type to match; None matches every type
  • owner (SearchOwner) – Whose checkpoints to search; defaults to the caller's own
  • base_models (list[str] | None) – Match any listed base model; None matches every base model. An empty list matches no checkpoints
  • limit (int) – Page size, 1 to 200
  • cursor (CheckpointSearchCursor | None) – next_cursor of the previous page; None for the first page

Referenced by