ListedPromptCommit#
- class langsmith.schemas.ListedPromptCommit[source]#
Bases:
BaseModel
Represents a listed prompt commit with associated metadata.
Create a new model by parsing and validating input data from keyword arguments.
Raises ValidationError if the input data cannot be parsed to form a valid model.
- param commit_hash: str | None = None#
The optional hash of the commit.
- param created_at: datetime | None = None#
The optional timestamp when the commit was created.
- param example_run_ids: List[UUID] | None [Optional]#
A list of example run identifiers associated with this commit.
- param id: UUID [Required]#
The unique identifier for the prompt commit.
- param manifest_id: UUID | None = None#
The optional identifier for the manifest associated with this commit.
- param num_downloads: int | None = 0#
The number of times this commit has been downloaded.
- param num_views: int | None = 0#
The number of times this commit has been viewed.
- param owner: str [Required]#
The owner of the prompt commit.
- param parent_commit_hash: str | None = None#
The optional hash of the parent commit.
- param parent_id: UUID | None = None#
The optional identifier for the parent commit.
- param repo: str [Required]#
The repository name of the prompt commit.
- param repo_id: UUID | None = None#
The optional identifier for the repository.
- param updated_at: datetime | None = None#
The optional timestamp when the commit was last updated.