Skip to main content
GET
/
commits
/
{owner}
/
{repo}
Error
A valid request URL is required to generate request examples
{
  "commits": [
    {
      "commit_hash": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "description": "<string>",
      "example_run_ids": [
        "3c90c3cc-0d44-4b50-8888-8dd25736052a"
      ],
      "full_name": "<string>",
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "manifest": {},
      "manifest_sha": [
        123
      ],
      "num_downloads": 123,
      "num_views": 123,
      "parent_commit_hash": "<string>",
      "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "repo_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "total": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

X-API-Key
string
header
required

Path Parameters

owner
string
required

Repository owner (tenant handle) or '-' for private repos

repo
string
required

Repository handle

Query Parameters

include_stats
boolean
default:true

IncludeStats determines whether to compute num_downloads and num_views

limit
integer
default:20

Limit is the pagination limit

Required range: 1 <= x <= 100
offset
integer
default:0

Offset is the pagination offset

Required range: x >= 0
tag
string

Tag filters commits to only those with a specific tag (e.g. "production", "staging")

Response

OK

commits
object[]

List of commits with lookup information

total
integer

Total number of commits