How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LangChain repos API

The repos API from LangChain — 5 operation(s) for repos.

LangChain repos API is one of 66 APIs that LangChain publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Repos. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and authentication docs.

This API exposes 9 operations across 5 paths, and defines 19 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, /.

9 operations 5 paths 19 schemas 2 DELETE3 GET1 PATCH3 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.1.0
API Version
0.1.0
Base URL
https://api.smith.langchain.com
Authentication
API Key, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

LangChain repos API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (API Key). An API key is passed in the header as X-Tenant-Id (Tenant ID). It accepts HTTP bearer tokens (Bearer Auth). An API key is passed in the header as X-Organization-Id (Organization ID).

  • Bearer Auth — Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).

Paths & Operations 9

Across 5 paths, the API surfaces 9 operations — 2 DELETE, 3 GET, 1 PATCH, 3 POST. Each is listed below with its method, path, parameters, and response codes.

repos 9
GET
/api/v1/repos
List Repos
list_repos_api_v1_repos_get 17 params → 200422
POST
/api/v1/repos
Create Repo
create_repo_api_v1_repos_post body → 200422
DELETE
/api/v1/repos
Delete Repos
delete_repos_api_v1_repos_delete 1 param → 200422
GET
/api/v1/repos/{owner}/{repo}
Get Repo
get_repo_api_v1_repos__owner___repo__get 2 params → 200422
PATCH
/api/v1/repos/{owner}/{repo}
Update Repo
update_repo_api_v1_repos__owner___repo__patch 2 params body → 200422
DELETE
/api/v1/repos/{owner}/{repo}
Delete Repo
delete_repo_api_v1_repos__owner___repo__delete 2 params → 200422
POST
/api/v1/repos/{owner}/{repo}/fork
Fork Repo
fork_repo_api_v1_repos__owner___repo__fork_post 2 params body → 200422
GET
/api/v1/repos/tags
List Repo Tags
list_repo_tags_api_v1_repos_tags_get 14 params → 200422
POST
/api/v1/repos/optimize-job
Optimize Prompt Job
optimize_prompt_job_api_v1_repos_optimize_job_post body → 200422

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are RepoWithLookups (27 properties), PromptimConfig (9 properties), CreateRepoRequest (7 properties), UpdateRepoRequest (6 properties). Each schema is shown below with its type and property counts.

ValidationError
object
3 properties 3 required
ListTagsResponse
object
1 property 1 required
PromptimConfig
object
9 properties 9 required
HTTPValidationError
object
1 property
ListReposResponse
object
2 properties 2 required
CommitManifestResponse
object
Response model for getcommitmanifest.
3 properties 2 required
TrueFalseLiteral
string
CreateRepoRequest
object
Fields to create a repo
7 properties 2 required
CreateRepoResponse
object
1 property 1 required
UpdateRepoRequest
object
Fields to update a repo
6 properties
ForkRepoRequest
object
Fields to fork a repo
5 properties 1 required
TagCount
object
2 properties 2 required
RepoExampleResponse
object
Response model for example runs
5 properties 2 required
GetRepoResponse
object
1 property 1 required
DemoConfig
object
4 properties 4 required
OptimizePromptResponse
object
Response from optimizing a prompt.
1 property 1 required
OptimizePromptJobRequest
object
Request to optimize a prompt.
3 properties 3 required
EPromptOptimizationAlgorithm
string
RepoWithLookups
object
All database fields for repos, plus helpful computed fields.
27 properties 15 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langchain-repos-api-openapi.yml Raw ↑

Other APIs LangChain publishes across the network.

LangChain access_policies API
LangChain ace API
LangChain alert_rules API
LangChain annotation-queues API
LangChain api-key API
LangChain audit-logs API
LangChain auth API
LangChain aws_marketplace API
LangChain backfills API
LangChain beacon API
LangChain bulk-exports API
LangChain charts API
Where this information came from

This is an independent, third-party profile of LangChain repos API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.