List commits for a given prompt.
list_prompt_commits(
self,
prompt_identifier: str,
*,
limit: Optional[int] = None,
offset: int = 0,
include_model: bool = False
) -> AsyncGenerator[ls_schemas.ListedPromptCommit, None]This method uses pagination to retrieve commits. It will make multiple API calls if necessary to retrieve all commits or up to the specified limit.
| Name | Type | Description |
|---|---|---|
prompt_identifier* | str | The identifier of the prompt in the format |
limit | Optional[int] | Default: NoneThe maximum number of commits to return. If |
offset | int | Default: 0The number of commits to skip before starting to return results. |
include_model | bool | Default: FalseWhether to include the model information in the commit data. |