LangChain Datasets API

The datasets API from LangChain — 28 operation(s) for datasets.

Operations 35

GET /api/v1/datasets Read Datasets #
POST /api/v1/datasets Create Dataset #
DELETE /api/v1/datasets Delete Datasets #
GET /api/v1/datasets/stream Read Datasets Stream #
GET /api/v1/datasets/{dataset_id} Read Dataset #
DELETE /api/v1/datasets/{dataset_id} Delete Dataset #
PATCH /api/v1/datasets/{dataset_id} Update Dataset #
POST /api/v1/datasets/upload Upload Csv Dataset #
POST /api/v1/datasets/upload-experiment Upload Experiment #
GET /api/v1/datasets/{dataset_id}/versions Get Dataset Versions #
GET /api/v1/datasets/{dataset_id}/versions/diff Diff Dataset Versions #
GET /api/v1/datasets/{dataset_id}/version Get Dataset Version #
PUT /api/v1/datasets/{dataset_id}/tags Update Dataset Version #
GET /api/v1/datasets/{dataset_id}/openai Download Dataset Openai #
GET /api/v1/datasets/{dataset_id}/openai_ft Download Dataset Openai Ft #
GET /api/v1/datasets/{dataset_id}/csv Download Dataset Csv #
GET /api/v1/datasets/{dataset_id}/jsonl Download Dataset Jsonl #
POST /api/v1/datasets/{dataset_id}/runs Read Examples With Runs #
POST /api/v1/datasets/{dataset_id}/group/runs Read Examples With Runs Grouped #
POST /api/v1/datasets/{dataset_id}/runs/delta Read Delta #
POST /api/v1/datasets/{dataset_id}/runs/delta/stream Read Delta Stream #
POST /api/v1/datasets/{dataset_id}/experiments/grouped Read Grouped Experiments #
GET /api/v1/datasets/{dataset_id}/share Read Dataset Share State #
PUT /api/v1/datasets/{dataset_id}/share Share Dataset #
DELETE /api/v1/datasets/{dataset_id}/share Unshare Dataset #
GET /api/v1/datasets/{dataset_id}/comparative Read Comparative Experiments #
POST /api/v1/datasets/comparative Create Comparative Experiment #
DELETE /api/v1/datasets/comparative/{comparative_experiment_id} Delete Comparative Experiment #
POST /api/v1/datasets/clone Clone Dataset #
GET /api/v1/datasets/{dataset_id}/splits Get Dataset Splits #
PUT /api/v1/datasets/{dataset_id}/splits Update Dataset Splits #
POST /api/v1/datasets/{dataset_id}/generate Generate #
POST /api/v1/datasets/playground_experiment/batch Dataset Handler #
POST /api/v1/datasets/playground_experiment/stream Stream Dataset Handler #
POST /api/v1/datasets/studio_experiment Studio Experiment #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • 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.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/langchain-datasets-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API 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 Specification

langchain-datasets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith Datasets 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:


# --- truncated at 32 KB (112 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/langchain/refs/heads/main/openapi/langchain-datasets-api-openapi.yml