LangChain Tags API
The tags API from LangChain — 2 operation(s) for tags.
The tags API from LangChain — 2 operation(s) for tags.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/langchain:langchain-tags-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
title: LangSmith Tags API
description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.
## Host
https://api.smith.langchain.com
## Authentication
To authenticate with the LangSmith API, set the `X-Api-Key` header
to a valid LangSmith API key.'
version: 0.1.0
servers:
- url: /
tags:
- name: Tags
paths:
/api/v1/repos/{owner}/{repo}/tags:
get:
tags:
- Tags
summary: Get Tags
operationId: get_tags_api_v1_repos__owner___repo__tags_get
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
parameters:
- name: repo
in: path
required: true
schema:
type: string
title: Repo
responses:
'200':
description: Successful Response
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/RepoTag'
title: Response Get Tags Api V1 Repos Owner Repo Tags Get
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
post:
tags:
- Tags
summary: Create Tag
description: Create a tag. Requires repo ownership, prompts:tag permission, or ABAC grant.
operationId: create_tag_api_v1_repos__owner___repo__tags_post
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
parameters:
- name: owner
in: path
required: true
schema:
type: string
title: Owner
- name: repo
in: path
required: true
schema:
type: string
title: Repo
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RepoTagRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RepoTag'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
/api/v1/repos/{owner}/{repo}/tags/{tag_name}:
get:
tags:
- Tags
summary: Get Tag
operationId: get_tag_api_v1_repos__owner___repo__tags__tag_name__get
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
parameters:
- name: repo
in: path
required: true
schema:
type: string
title: Repo
- name: tag_name
in: path
required: true
schema:
type: string
title: Tag Name
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RepoTag'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
patch:
tags:
- Tags
summary: Update Tag
description: Update a tag. Requires repo ownership, prompts:tag permission, or ABAC grant.
operationId: update_tag_api_v1_repos__owner___repo__tags__tag_name__patch
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
parameters:
- name: owner
in: path
required: true
schema:
type: string
title: Owner
- name: repo
in: path
required: true
schema:
type: string
title: Repo
- name: tag_name
in: path
required: true
schema:
type: string
title: Tag Name
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/RepoUpdateTagRequest'
responses:
'200':
description: Successful Response
content:
application/json:
schema:
$ref: '#/components/schemas/RepoTag'
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
delete:
tags:
- Tags
summary: Delete Tag
description: Delete a tag. Requires repo ownership, prompts:tag permission, or ABAC grant.
operationId: delete_tag_api_v1_repos__owner___repo__tags__tag_name__delete
security:
- API Key: []
- Tenant ID: []
- Bearer Auth: []
parameters:
- name: owner
in: path
required: true
schema:
type: string
title: Owner
- name: repo
in: path
required: true
schema:
type: string
title: Repo
- name: tag_name
in: path
required: true
schema:
type: string
title: Tag Name
responses:
'200':
description: Successful Response
content:
application/json:
schema: {}
'422':
description: Validation Error
content:
application/json:
schema:
$ref: '#/components/schemas/HTTPValidationError'
components:
schemas:
HTTPValidationError:
properties:
detail:
items:
$ref: '#/components/schemas/ValidationError'
type: array
title: Detail
type: object
title: HTTPValidationError
RepoTagRequest:
properties:
tag_name:
type: string
title: Tag Name
commit_id:
type: string
format: uuid
title: Commit Id
skip_webhooks:
anyOf:
- type: boolean
- items:
type: string
format: uuid
type: array
title: Skip Webhooks
default: false
type: object
required:
- tag_name
- commit_id
title: RepoTagRequest
description: Fields to create a prompt tag
RepoUpdateTagRequest:
properties:
commit_id:
type: string
format: uuid
title: Commit Id
skip_webhooks:
anyOf:
- type: boolean
- items:
type: string
format: uuid
type: array
title: Skip Webhooks
default: false
type: object
required:
- commit_id
title: RepoUpdateTagRequest
description: Fields to update a prompt tag
RepoTag:
properties:
id:
type: string
format: uuid
title: Id
repo_id:
type: string
format: uuid
title: Repo Id
commit_id:
type: string
format: uuid
title: Commit Id
commit_hash:
type: string
title: Commit Hash
tag_name:
type: string
title: Tag Name
created_at:
type: string
format: date-time
title: Created At
updated_at:
type: string
format: date-time
title: Updated At
type: object
required:
- id
- repo_id
- commit_id
- commit_hash
- tag_name
- created_at
- updated_at
title: RepoTag
description: Fields for a prompt tag
ValidationError:
properties:
loc:
items:
anyOf:
- type: string
- type: integer
type: array
title: Location
msg:
type: string
title: Message
type:
type: string
title: Error Type
type: object
required:
- loc
- msg
- type
title: ValidationError
securitySchemes:
API_Key:
type: apiKey
in: header
name: X-API-Key
Tenant_ID:
type: apiKey
in: header
name: X-Tenant-Id
Bearer_Auth:
type: http
description: Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).
scheme: bearer
Organization_ID:
type: apiKey
in: header
name: X-Organization-Id