get_commits
Retrieve commit history from a Bauplan branch with optional filters like date range, author, and message substring. Returns a list of commits with total count.
Instructions
Retrieve commit history for a specified branch in the user's Bauplan data catalog as a list, with optional filters including date range (ISO format: YYYY-MM-DD) and limit (integer). Retrieve commit history from a Bauplan branch.
Args: ref: branch or commit hash to get commits from. Can be either a hash that starts with "@" and has 64 additional characters or a branch name, that is a mnemonic reference to the last commit that follows the "username.name" format. message_filter: Optional filter for commit messages (substring match) author_username: Optional filter by author's username author_email: Optional filter by author's email date_start: Optional start date for filtering (ISO format: YYYY-MM-DD) date_end: Optional end date for filtering (ISO format: YYYY-MM-DD) limit: Maximum number of commits to return (default: 10)
Returns: CommitsOut: Object containing list of commits and total count
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ref | Yes | ||
| message_filter | No | ||
| author_username | No | ||
| author_email | No | ||
| date_start | No | ||
| date_end | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| commits | Yes | ||
| total_count | Yes |