Skip to main content
PATCH
/
api
/
v1
/
repos
/
{owner}
/
{repo}
Error
A valid request URL is required to generate request examples
{
  "repo": {
    "repo_handle": "<string>",
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "tenant_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "is_public": true,
    "is_archived": true,
    "tags": [
      "<string>"
    ],
    "owner": "<string>",
    "full_name": "<string>",
    "num_likes": 123,
    "num_downloads": 123,
    "num_views": 123,
    "num_commits": 123,
    "description": "<string>",
    "readme": "<string>",
    "restricted_mode": false,
    "original_repo_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "upstream_repo_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "commit_tags": [],
    "liked_by_auth_user": true,
    "last_commit_hash": "<string>",
    "created_by": "<string>",
    "original_repo_full_name": "<string>",
    "upstream_repo_full_name": "<string>",
    "latest_commit_manifest": {
      "commit_hash": "<string>",
      "manifest": {},
      "examples": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "start_time": "2023-11-07T05:31:56Z",
          "inputs": {},
          "outputs": {}
        }
      ]
    }
  }
}

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
repo
string
required

Body

application/json

Fields to update a repo

description
string | null
readme
string | null
tags
string[] | null
is_public
boolean | null
is_archived
boolean | null
restricted_mode
boolean | null

Response

Successful Response

repo
RepoWithLookups · object
required

All database fields for repos, plus helpful computed fields.