commits
List commits
Changed onList commits for a repository, with pagination support. This endpoint supports both authenticated and unauthenticated access. Authenticated users can access private repositories; unauthenticated users can only access public repositories. The include_stats parameter controls whether download and view statistics are computed (defaults to true).
get/api/v1/commits/{owner}/{repo}
Request
- Base URLhttps://api.smith.langchain.com
- URLhttps://api.smith.langchain.com/api/v1/commits/{owner}/{repo}
- Auth
- API key in header X-API-Key
- or API key in header X-Tenant-Id
- or HTTP bearer
Path parameters
ownerstring required
Repository owner (tenant handle) or '-' for private repos
repostring required
Repository handle
Query parameters
include_statsboolean
IncludeStats determines whether to compute num_downloads and num_views
limitinteger
Limit is the pagination limit
offsetinteger
Offset is the pagination offset
tagstring
Tag filters commits to only those with a specific tag (e.g. "production", "staging")
Response
OK
Changes
- info
endpoint added
- info