# LangChain MCP connector

The LangChain connector links your LangChain sessions, session views, insights and insight configs to Claude, ChatGPT, Cursor and other MCP clients through one Elaichi endpoint, so each person works in LangChain as themselves with every action logged.

Source: https://elaichi.ai/connectors/langchain/

## Facts

| | |
| --- | --- |
| Application | LangChain |
| Category | Artificial Intelligence |
| AI tools | 382 |
| Authentication | Connects with an API key |
| Needs your own OAuth app | No |
| MCP endpoint | https://api.elaichi.ai/mcp |
| Works with | Claude, ChatGPT, Cursor, any MCP client, and the Elaichi Agent |
| Tools advertised by name | No. 382 tools is past the 30-tool threshold, so clients use `search_tools` and `execute_tool` |

## What you can ask once LangChain is connected

- Summarize this week's LangChain sessions by status.
- Which session views changed most in the last 14 days?
- List sessions missing metadata from last week's runs.

## Connect LangChain in Elaichi

This happens once for the organization, before any client is involved.

1. Open Connections, choose Add connection, and pick LangChain.
2. Optionally set Share with, then press Connect.
3. Paste a LangChain API key. One person generates a token in LangChain and pastes it once. Everyone else works through Share with, and never sees it.

Credentials are vaulted and nobody, including the AI, reads them back. The connection becomes a toolbox immediately, so you can curate which LangChain tools are exposed, rename them, or freeze arguments before anyone points a client at it.

## Connect LangChain to Claude

Endpoint: https://api.elaichi.ai/mcp

1. Open Customize, then Connectors.
2. Press Add.
3. Name it, paste the MCP server URL, then Continue.
4. Sign in and approve.

On Team and Enterprise, an Owner adds it once. Everyone else turns it on for themselves.

## Connect LangChain to ChatGPT

Endpoint: https://api.elaichi.ai/mcp

1. Open Plugins, then press the + button.
2. Name it and paste the endpoint into Server URL.
3. Leave Authentication on OAuth, then tick the risk acknowledgement.
4. Press Create, then sign in and approve.

Works on the web today. The plugin directory lives at chatgpt.com/plugins.

## Connect LangChain to Cursor

Endpoint: https://api.elaichi.ai/mcp

1. Open `~/.cursor/mcp.json`.
2. Add the endpoint under `mcpServers`.
3. Reload Cursor, then sign in and approve.

Set up per machine, so repeat it on each computer you work from.

## Connect LangChain to any MCP client

Endpoint: https://api.elaichi.ai/mcp

1. Add the endpoint as a remote MCP server.
2. Sign in and approve.

The Elaichi Agent already has these tools, with nothing to set up.

## What the consent screen decides

Only Read is granted by default, which is not enough to call a LangChain tool. Over MCP there is no trusted place to confirm a write in the moment, so the consent screen is the standing approval rather than a formality. Grant Read and Run tools. Think hard before granting Delete, which reaches into connected apps and cannot be undone.

## What teams do with LangChain through Elaichi

### Check on a session before standup

Engineering. Ask for the dashboard of a LangChain session by name and get a plain summary of how it is doing, without opening another tab.

### Set up a new session for a launch

Engineering. Create a LangChain session for a new feature, then rename or update it later as the project changes shape.

### Turn a question into a saved view

Product. Describe what you want to see and have a LangChain session view created for it, then rename a batch of views in one go when naming conventions change.

### Read the insights on a session

Data science. Pull the session insights LangChain has generated, ask what stands out, and create or adjust an insights config to change what gets tracked next.

### Tidy up old sessions in bulk

Operations. List every LangChain session, spot the ones nobody has touched, and delete them together once the team agrees.

### Confirm LangChain is healthy during an incident

Support. Check LangChain's health status and the metadata on the affected session so you can tell customers what is going on with confidence.

## Frequently asked questions

### How do I connect LangChain to Claude?

Connect LangChain in Elaichi first, which asks for your LangChain API key and nothing else, so there is no OAuth application to register and no client ID or secret to generate. Then in Claude open Customize, then Connectors, then Add, and paste https://api.elaichi.ai/mcp. Sign in with your Elaichi account when prompted and LangChain is ready to use in Claude.

### Does LangChain work with ChatGPT and Cursor as well as Claude?

Yes. Once LangChain is connected in Elaichi, the same endpoint, https://api.elaichi.ai/mcp, works in Claude, ChatGPT, Cursor, any other MCP client and the Elaichi Agent. You connect LangChain once and every client picks it up.

### What can an AI agent actually do with my LangChain data?

An agent can list your LangChain sessions, open a session's dashboard and describe how it is performing, create or rename sessions and session views, and read or create session insights and insight configs. It can also check LangChain's health and pull session metadata when something looks off. LangChain has a large set of actions, so short concrete asks like "show me the dashboard for the checkout session" work better than long paragraphs.

### Does connecting LangChain give the AI access to every session in my workspace?

No. Access follows the LangChain API key of the person who connected it, so an agent only sees the LangChain sessions, views and insights that key already reaches. Elaichi can narrow that further with per-action restrictions, and it can never widen it beyond what LangChain itself allows.

### Can my team share one LangChain connection?

Yes. One person connects LangChain in Elaichi and shares the connection with a team, and nobody else ever handles the LangChain API key. Each teammate still signs in to Elaichi as themselves, so the audit log names the person behind every session change, not the connection.

### Can I stop an agent from deleting or changing things in LangChain?

Yes. Restrictions in Elaichi work per action, so you can allow reading LangChain sessions and insights while blocking deleting sessions, bulk deleting or editing insight configs. A blocked action is never shown to Claude, ChatGPT or Cursor at all, so no prompt can reach it.

### What happens to a LangChain connection when someone leaves?

Offboarding a person in Elaichi ends their access to LangChain at once, across every client they used. A shared LangChain connection keeps working for everyone else on the team. If you want LangChain gone entirely, disconnecting it once in Elaichi removes it from Claude, ChatGPT, Cursor and every other client.

## All 382 LangChain tools

Every tool below is callable through https://api.elaichi.ai/mcp once LangChain is connected, subject to the toolbox it is in and the restrictions on the caller.

- **List all LangChain info healths** (List). Get health information about the current LangSmith deployment. Returns the HealthInfoGetResponse object containing deployment health attributes.
- **Get single LangChain session dashboard by ID** (Get). Get a prebuilt dashboard for a tracing project (session) in LangSmith. Returns: title, description, index, id, session_id, charts, sub_sections, layout, created_at, updated_at. Required: session_id.
- **Get single LangChain session by ID** (Get). Get a specific tracer session (project) in LangSmith by id. Returns: start_time, end_time, extra, name, description, default_dataset_id, reference_dataset_id, trace_tier, id, run_count, latency_p50, latency_p99, first_token_p50, first_token_p99, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, tenant_id, last_run_start_time, last_run_start_time_live,…. Required: id.
- **Update a LangChain session by ID** (Update). Update a tracer session (project) in LangSmith by id. Returns: start_time, end_time, extra, name, description, default_dataset_id, reference_dataset_id, trace_tier, id, tenant_id, last_run_start_time_live. Required: id.
- **Delete a LangChain session by ID** (Delete). Delete a tracer session (project) in LangSmith by id. Returns an empty 204 response on success. Required: id.
- **Create a LangChain session** (Create). Create a new tracer session (project) in LangSmith. Returns: start_time, end_time, extra, name, description, default_dataset_id, reference_dataset_id, trace_tier, id, tenant_id, last_run_start_time_live. Requires a JSON request body with session configuration.
- **LangChain sessions bulk delete** (Delete). Delete multiple LangSmith tracer sessions (projects) in bulk by their session IDs. Returns a successful response with no documented response body. Required: session_ids.
- **List all LangChain sessions** (List). List LangSmith tracer sessions (projects) with extensive filtering and sorting options. Returns: start_time, end_time, extra, name, description, default_dataset_id, reference_dataset_id, trace_tier, id, run_count, latency_p50, latency_p99, first_token_p50, first_token_p99, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, tenant_id, last_run_start_time,…
- **List all LangChain metadata** (List). List the top K metadata values for each key in a LangSmith tracer session. Returns a dictionary mapping each metadata key name to a list of its top K string values. Required: session_id.
- **List all LangChain session views** (List). List all filter views for a LangSmith session, optionally filtered by type. Returns: filter_string, trace_filter_string, tree_filter_string, thread_filter_string, display_name, description, type, syntax_version, start_time, end_time, duration, id, session_id, created_at, updated_at. Required: session_id.
- **Create a LangChain session view** (Create). Create a new filter view for a LangSmith session. Returns the created filter view including id, session_id, display_name, description, and type. Required: session_id, display_name.
- **Update a LangChain session view by ID** (Update). Update an existing filter view in a LangSmith session. Returns the updated filter view including id, session_id, display_name, description, and type. Required: id, session_id.
- **Delete a LangChain session view by ID** (Delete). Delete a specific filter view from a LangSmith session by id. Returns an empty response on success. Required: id, session_id.
- **Get single LangChain session view by ID** (Get). Get a specific filter view from a LangSmith session by id. Returns: filter_string, trace_filter_string, tree_filter_string, thread_filter_string, display_name, description, type, syntax_version, start_time, end_time, duration, id, session_id, created_at, updated_at. Required: id, session_id.
- **LangChain view renames bulk update** (Update). Rename a filter view's display_name and description in LangSmith. Only display_name and description can be modified. Returns the updated filter view including id, display_name, description, created_at, and updated_at. Required: session_id, view_id, display_name.
- **List all LangChain session insights** (List). List all run clustering insight jobs for a LangSmith session. Returns each job including its id; the full response shape is defined by the upstream GetRunClusteringJobsResponse schema. Beta endpoint. Required: session_id.
- **Create a LangChain session insight** (Create). Create a new run clustering insights job for a LangSmith session. Returns: id, name, status, error, attributes. Beta endpoint. Required: session_id.
- **Update a LangChain session insight by ID** (Update). Update an existing run clustering insights job for a LangSmith session. Returns: name, status. Beta endpoint. Required: id, session_id, name.
- **Delete a LangChain session insight by ID** (Delete). Delete a run clustering insights job for a LangSmith session. Returns: id, message, attributes. Beta endpoint. Required: id, session_id.
- **Get single LangChain session insight by ID** (Get). Get a specific run clustering insights job for a LangSmith session. Returns: id, name, status, start_time, end_time, created_at, metadata, shape, error, config_id, clusters, report, attributes. Beta endpoint. Required: id, session_id.
- **List all LangChain insights configs** (List). List all insights job configs for a LangSmith tracing session. Returns the configs collection with each item containing an id and config-type-specific fields. This is a beta endpoint. Required: session_id.
- **Create a LangChain insights config** (Create). Create an insights job config for a LangSmith tracing session by saving a clustering job configuration. Returns the saved config object with an id and config-type-specific fields. This is a beta endpoint. Required: session_id, name, config.
- **Update a LangChain insights config by ID** (Update). Update an existing insights job config for a LangSmith tracing session. Returns the updated config object with an id and config-type-specific fields. This is a beta endpoint. Required: id, session_id.
- **Delete a LangChain insights config by ID** (Delete). Delete an insights job config from a LangSmith tracing session. Returns an empty 204 response on success. This is a beta endpoint. Required: id, session_id.
- **Create a LangChain configs generate** (Create). Auto-generate an insights job config for a LangSmith session (Beta). Returns the generated insights job config object. Required: session_id, user_context.
- **Get single LangChain insight cluster by ID** (Get). Get a specific run cluster from an insights job in LangSmith. Returns the cluster object with its id and schema-specific attributes defined in the GetRunClusterResponse schema. Required: id, session_id, job_id.
- **List all LangChain insight runs** (List). List runs from a LangSmith insights clustering job, optionally filtered by cluster. Returns: runs, offset. Beta endpoint. Required: session_id, job_id.
- **List all LangChain workspaces** (List). List LangSmith workspaces visible to the current auth in the current org. Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url, read_only, role_id, role_name, permissions. Does not create a new workspace or organization.
- **Create a LangChain workspace** (Create). Create Workspace. Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url. Required: display_name.
- **Update a LangChain workspace by ID** (Update). Update a workspace in LangSmith by id. Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url. Required: id, display_name.
- **Delete a LangChain workspace by ID** (Delete). Delete a workspace by id in LangSmith. Returns an empty 204 response on success. Required: id.
- **Get single LangChain workspace by ID** (Get). Get a single workspace by id in LangSmith, scoped to the current org and identity. Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url, read_only, role_id, role_name, permissions. Required: id.
- **List all LangChain workspaces stats** (List). Get statistics for the current LangSmith workspace, optionally filtered by one or more tag value IDs. Returns a TenantStats object with workspace-level resource and usage statistics. Optional: tag_value_id.
- **List all LangChain workspaces usage limits** (List). Get the current LangSmith workspace's usage limits info, including configured trace and extended retention limits. Returns: in_reject_set, usage_limit_type, tenant_limit.
- **List all LangChain workspaces shareds** (List). List all shared entities and their tokens for the current LangSmith workspace. Returns: entities.
- **LangChain workspaces shareds bulk delete** (Delete). Bulk unshare entities by share tokens for the current LangSmith workspace. Returns a 200 response on success.
- **List all LangChain workspaces secrets** (List). List the names of secrets configured for the current LangSmith workspace. Returns: key, webhooks. Secret values are never returned by any endpoint.
- **Create a LangChain workspaces secret** (Create). Upsert workspace secrets in LangSmith by submitting an array of objects each with a key and value. A null value deletes that key. Returns an empty response on success; secret values are never returned by any endpoint.
- **List all LangChain secrets encrypteds** (List). Get encrypted workspace secrets for use with Fleet and external services in LangSmith. Returns the InternalSecretsResponse object as data, whose fields are defined by the upstream LangSmith schema and not individually documented in the API reference. Required: service.
- **List all LangChain workspaces tag keys** (List). List tag keys in the current LangSmith workspace. Returns: key, description, id, created_at, updated_at.
- **Create a LangChain workspaces tag key** (Create). Create a new tag key in the current LangSmith workspace. Returns: key, description, id, created_at, updated_at. Required: key.
- **Update a LangChain workspaces tag key by ID** (Update). Update an existing tag key by id in the current LangSmith workspace. Returns: key, description, id, created_at, updated_at. Required: id.
- **Delete a LangChain workspaces tag key by ID** (Delete). Delete a tag key by id in the current LangSmith workspace. Returns an empty response on success. Required: id.
- **Get single LangChain workspaces tag key by ID** (Get). Get a single tag key by id in the current LangSmith workspace. Returns: key, description, id, created_at, updated_at. Required: id.
- **List all LangChain tag key tag values** (List). List all tag values for a specific tag key in the current LangSmith workspace. Returns: value, description, id, tag_key_id, created_at, updated_at. Required: tag_key_id.
- **Create a LangChain tag key tag value** (Create). Create a new tag value under a specific tag key in the current LangSmith workspace. Returns: value, description, id, tag_key_id, created_at, updated_at. Required: tag_key_id, value.
- **Update a LangChain tag key tag value by ID** (Update). Update a tag value by id under a specific tag key in the current LangSmith workspace. Returns: value, description, id, tag_key_id, created_at, updated_at. Required: id, tag_key_id.
- **Delete a LangChain tag key tag value by ID** (Delete). Delete a tag value by id under a specific tag key in the current LangSmith workspace. Returns an empty 200 response on success. Required: id, tag_key_id.
- **Get single LangChain tag key tag value by ID** (Get). Get a single tag value by id under a specific tag key in the current LangSmith workspace. Returns: value, description, id, tag_key_id, created_at, updated_at. Required: id, tag_key_id.
- **List all LangChain workspaces taggings** (List). List taggings in the current LangSmith workspace, optionally filtered by tag value. Returns: tag_key, tag_key_id, tag_value, tag_value_id, resources, id, resource_type, resource_id, created_at, updated_at.
- **Create a LangChain workspaces tagging** (Create). Create a tagging in the current LangSmith workspace by assigning a tag value to a resource. Returns: tag_value_id, resource_type, resource_id, id, created_at, updated_at. Required: tag_value_id, resource_type, resource_id.
- **Delete a LangChain workspaces tagging by ID** (Delete). Delete a tagging in the current LangSmith workspace by id. Returns an empty 204 response on success. Required: id.
- **List all LangChain workspaces tags** (List). List all resource tags in the current LangSmith workspace, optionally filtered by resource type. Returns an array of tag key objects, each including its id, key, and associated tag values. The optional resource_type query parameter narrows results to tags applicable to a specific resource type.
- **List all LangChain tags resources** (List). List tags for multiple LangSmith resources in a single batch request. Returns a map keyed by resource UUID where each value is an array of TagKeyWithValuesAndTaggings objects containing tag key, tag values, and tagging associations.
- **List all LangChain audit logs** (List). Retrieve audit log records for a LangSmith organization in OCSF API Activity (Class UID: 6003) format, compatible with security monitoring and SIEM tools. Returns: cursor, items. Max 100 per page. Required: start_time, end_time.
- **List all LangChain audit logs operations** (List). List all possible audit log operation names in LangSmith for populating audit log filter UI. Returns a response object with an operations array of operation name strings, independent of any operations actually recorded so far for the organization. These names can be used as filter values when querying audit logs via the audit-logs endpoint.
- **List all LangChain ttl settings** (List). List the configured TTL settings for a given tenant in LangSmith. Returns the TTLSettings object including id and attributes with content-type-specific fields. The exact field set is defined by the upstream TTLSettings schema; consult the LangSmith REST API reference for details.
- **LangChain ttl settings bulk update** (Update). Upsert TTL settings for a given tenant in LangSmith. Returns the updated TTLSettings object including id and attributes with content-type-specific fields. A JSON request body conforming to the upstream UpsertTTLSettingsRequest schema is required. Required: default_trace_tier.
- **List all LangChain orgs ttl settings** (List). List the configured TTL settings for a LangSmith organization, covering org-level and tenant-level trace retention configuration. Returns: tenant_id, default_trace_tier, apply_to_all_projects, id, organization_id, created_at, updated_at, configured_by, longlived_ttl_days, thread_id, metadata, status, config. No required parameters.
- **LangChain orgs ttl settings bulk update** (Update). Upsert TTL settings for a LangSmith organization, configuring trace data retention at the org and tenant level. Returns the upserted TTL settings object including id, created_at, and updated_at. Requires a JSON request body. Required: default_trace_tier.
- **List all LangChain examples counts** (List). Count examples in LangSmith matching the provided query filters. Returns an integer representing the total number of matching examples. Supports filtering by dataset, splits, metadata, full-text content, and custom filter expressions.
- **LangChain examples counts list public** (List). Count examples accessible via a shared dataset share token in LangSmith. Returns an integer representing the total number of matching examples. Supports filtering by metadata and custom filter expressions. Required: share_token.
- **Get single LangChain example by ID** (Get). Get a specific example in LangSmith by id. Returns: outputs, dataset_id, source_run_id, source_session_id, source_run_start_time, source_trace_id, metadata, inputs, created_at, id, name, modified_at, source_thread_id, attachment_urls. Required: id.
- **Update a LangChain example by ID** (Update). Update a specific example in LangSmith by id. Returns the updated example object including id, created_at, modified_at, name, dataset_id, inputs, outputs, and metadata. Required: id.
- **Delete a LangChain example by ID** (Delete). Soft delete an example in LangSmith by id. Only deletes the example in the 'latest' version of the dataset. Returns an empty 204 response on success. Required: id.
- **Create a LangChain example** (Create). Create a new example in LangSmith. Returns the created example object including id, created_at, modified_at, name, dataset_id, inputs, outputs, and metadata. Required: dataset_id.
- **LangChain examples bulk delete** (Delete). Soft delete multiple examples in LangSmith by their IDs. Only deletes the examples in the 'latest' version of the dataset. Returns an empty 204 response on success. Required: example_ids.
- **LangChain examples bulk create** (Create). Create multiple dataset examples in bulk in LangSmith. Returns an array of created example objects including id, dataset_id, inputs, outputs, created_at, modified_at, and name.
- **LangChain examples bulk update** (Update). Update multiple LangSmith examples in bulk via a legacy endpoint. Returns the updated example objects including id, inputs, outputs, metadata, and dataset_id. For updates involving attachments, use the platform datasets examples endpoint instead.
- **List all LangChain examples** (List). List LangSmith dataset examples with optional filtering by dataset, splits, full-text search, and metadata. Returns: outputs, dataset_id, source_run_id, source_session_id, source_run_start_time, source_trace_id, metadata, inputs, created_at, id, name, modified_at, source_thread_id, attachment_urls, error. Max 100 per page.
- **LangChain examples list public** (List). List LangSmith dataset examples shared via a public share token. Returns: outputs, dataset_id, source_run_id, source_session_id, source_run_start_time, source_trace_id, metadata, inputs, created_at, id, name, modified_at, source_thread_id, attachment_urls, error. Required: share_token.
- **Create a LangChain examples upload** (Create). Upload examples to a LangSmith dataset from a CSV file. Returns an array of created example objects including id, created_at, modified_at, name, dataset_id, inputs, and outputs. For non-CSV uploads, use the platform datasets examples endpoint instead. Required: upload_id.
- **Create a LangChain examples validate** (Create). Validate an example in LangSmith. Returns an ExampleValidationResult object with its id and validation attributes.
- **LangChain examples validates bulk create** (Create). Validate examples in bulk in LangSmith. Returns an array of ExampleValidationResult objects, each with its id and validation attributes.
- **List all LangChain datasets** (List). List LangSmith datasets with optional filters by name, data type, metadata, and tags. Returns an array of datasets including id, name, data_type, and created_at. Max 100 per page.
- **Create a LangChain dataset** (Create). Create Dataset. Returns: name, description, created_at, inputs_schema_definition, outputs_schema_definition, externally_managed, transformations, data_type. Required: name.
- **LangChain datasets bulk delete** (Delete). Delete multiple LangSmith datasets in a single request. Returns an empty 200 response on success. Max 100 dataset IDs per request. Required: dataset_ids.
- **Update a LangChain dataset by ID** (Update). Update a specific LangSmith dataset by id. Returns the updated dataset object including id, name, description, and timestamps. Required: id.
- **Delete a LangChain dataset by ID** (Delete). Delete a specific dataset in LangSmith by id. Returns an empty response on success. Required: id.
- **LangChain datasets bulk update** (Update). Set a tag on a LangSmith dataset version identified by its as_of timestamp. Returns: tags, as_of. Required: dataset_id, as_of, tag.
- **Get single LangChain dataset by ID** (Get). Read Dataset. Returns: name, description, created_at, inputs_schema_definition, outputs_schema_definition, externally_managed, transformations, data_type. Required: id.
- **LangChain datasets list public** (List). List publicly shared LangSmith datasets by share token. Returns: name, description, created_at, inputs_schema_definition, outputs_schema_definition, externally_managed, transformations, data_type, id, example_count, updated_at, last_session_start_time, metadata, thread_id, status, config. Required: share_token.
- **List all LangChain datasets streams** (List). Stream LangSmith datasets matching query parameters as a sequence of JSON patches. Returns streamed dataset records including id, name, and data_type. Max 100 per page.
- **Create a LangChain datasets upload** (Create). Upload a CSV or JSONL file to create a new dataset in LangSmith. Returns the created dataset object including id, name, data_type, and created_at.
- **Create a LangChain datasets upload experiment** (Create). Upload an experiment that has already been run to LangSmith. Returns the experiment upload result object following the ExperimentResultsUploadResult schema. Required: experiment_name, results, experiment_start_time, experiment_end_time.
- **List all LangChain dataset versions** (List). List all versions of a LangSmith dataset, optionally filtered by a search string or a specific example. Returns: tags, as_of, tag, thread_id, created_at, updated_at, metadata, status, config. Max 100 per page. Required: dataset_id.
- **LangChain dataset versions get version** (Get). Get a specific LangSmith dataset version by as_of timestamp or exact tag. Returns: tags, as_of, tag, thread_id, created_at, updated_at, metadata, status, config. Required: dataset_id.
- **List all LangChain versions diffs** (List). Get the diff between two dataset versions in LangSmith. Returns a DatasetDiffInfo object with version comparison attributes whose specific fields are not enumerated in the available API documentation. The from_version and to_version parameters each accept a date-time string or a version/tag identifier. Required: dataset_id, from_version, to_version.
- **List all LangChain dataset openais** (List). Download a LangSmith dataset in OpenAI Evals JSONL format. Returns an array of example records, each with content-type-specific attributes reflecting the dataset's inputs and outputs. Required: dataset_id.
- **List all LangChain dataset openai fts** (List). Download a LangSmith dataset in OpenAI fine-tuning JSONL format. Returns records with messages containing role and content fields. Required: dataset_id.
- **List all LangChain dataset csvs** (List). Download a LangSmith dataset in CSV format. Returns the dataset as a CSV file download whose columns are determined by the dataset's example inputs and outputs. Optional: as_of to retrieve a specific point-in-time version. Required: dataset_id.
- **List all LangChain dataset jsonls** (List). Download a LangSmith dataset as a JSONL stream of example records. Returns: id, created_at, metadata, thread_id, updated_at, status, config. Required: dataset_id.
- **Create a LangChain dataset run** (Create). Fetch examples for a LangSmith dataset with associated runs filtered by session_ids. Returns: id, name, created_at, metadata. This endpoint is deprecated. Required: dataset_id, session_ids.
- **List all LangChain dataset shares** (List). Get the current share state of a LangSmith dataset. Returns: share_token, share_projects, thread_id, created_at, updated_at, metadata, status, config. The response is null when the dataset is not currently shared. Required: dataset_id.
- **LangChain dataset shares bulk update** (Update). Share a LangSmith dataset, generating a public share token for read-only access via the public API. Returns: dataset_id, share_token, share_projects. Required: dataset_id.
- **LangChain dataset shares bulk delete** (Delete). Unshare a LangSmith dataset, revoking its public share token and removing public access. Returns an empty response on success. Required: dataset_id.
- **Create a LangChain datasets comparative** (Create). Create a comparative experiment in LangSmith. Returns: id, name, description, tenant_id, created_at, modified_at, reference_dataset_id, extra. Requires a JSON request body defining the experiment. Required: experiment_ids.
- **Delete a LangChain datasets comparative by ID** (Delete). Delete a specific comparative experiment in LangSmith by id. Returns an empty 204 response on success. Required: id.
- **List all LangChain datasets comparatives** (List). List shared comparative experiments for a dataset in LangSmith by share token. Returns: id, name, description, created_at, modified_at, extra, experiments_info, feedback_stats, thread_id, updated_at, metadata, status, config. Required: share_token.
- **Create a LangChain datasets clone** (Create). Clone a dataset in LangSmith. Returns an array of objects representing the clone results, with fields not specifically enumerated in the upstream OpenAPI spec. Required: target_dataset_id, source_dataset_id.
- **List all LangChain dataset splits** (List). List the split names for a LangSmith dataset, optionally as of a specific dataset version. Returns an array of split name strings. Required: dataset_id.
- **LangChain dataset splits bulk update** (Update). Update dataset splits for a LangSmith dataset. Returns an array of UUID strings representing the updated split identifiers. Required: dataset_id, split_name, examples.
- **Create a LangChain dataset generate** (Create). Generate synthetic examples for a LangSmith dataset. Returns a JSON response with an unspecified schema. Required: dataset_id, num_examples.
- **Create a LangChain datasets studio experiment** (Create). Run a LangSmith Studio experiment over a dataset by submitting a JSON request body conforming to the StudioRunOverDatasetRequestSchema. Returns a JSON object representing the experiment run result; field-level details for both the request and response are not enumerated in the available API reference. Requires a JSON request body. Required: project_name, dataset_id.
- **List all LangChain runs rules** (List). List all run rules in LangSmith with optional filters by dataset, session, type, name, evaluator, and tag values. Returns: id, tenant_id, is_enabled, session_id, session_name, dataset_id, dataset_name, display_name, sampling_rate, filter, trace_filter, tree_filter, add_to_annotation_queue_id, add_to_annotation_queue_name, add_to_dataset_id, add_to_dataset_name, add_to_dataset_prefer_correction,…
- **Create a LangChain runs rule** (Create). Create a new run rule in LangSmith. Returns: id, tenant_id, is_enabled, session_id, session_name, dataset_id, dataset_name, display_name, sampling_rate, filter, trace_filter, tree_filter, add_to_annotation_queue_id, add_to_annotation_queue_name, add_to_dataset_id, add_to_dataset_name, add_to_dataset_prefer_correction, corrections_dataset_id, use_corrections_dataset, num_few_shot_examples,…. Required: display_name, sampling_rate.
- **Update a LangChain runs rule by ID** (Update). Update an existing run rule in LangSmith by id. Returns: id, tenant_id, is_enabled, session_id, session_name, dataset_id, dataset_name, display_name, sampling_rate, filter, trace_filter, tree_filter, add_to_annotation_queue_id, add_to_annotation_queue_name, add_to_dataset_id, add_to_dataset_name, add_to_dataset_prefer_correction, corrections_dataset_id, use_corrections_dataset,…. Required: id, display_name, sampling_rate.
- **Delete a LangChain runs rule by ID** (Delete). Delete a LangSmith run rule by id. Returns an empty 204 response on success. Required: id.
- **LangChain runs rules trigger** (Action). Manually trigger a LangSmith run rule by rule_id. Returns an empty 204 response on success. Required: rule_id.
- **LangChain runs rules list logs** (List). List logs for a particular LangSmith rule. Returns: rule_id, run_id, run_name, run_type, run_session_id, run_trace_id, start_time, end_time, application_time, add_to_annotation_queue, add_to_dataset, evaluators, alerts, webhooks, extend_only, thread_id, threads. Required: rule_id.
- **LangChain runs rules list logs v 2** (List). List logs for a particular LangSmith rule with cursor-based pagination. Returns: logs, cursor. Max 1440 per page. Required: rule_id.
- **Create a LangChain rules validate** (Create). Validate a rule in LangSmith by executing it with test data without creating a saved rule. Returns an array of evaluation result objects in the same format as batch_invoke_evaluator. Only LLM-as-judge rules are supported; code evaluators are not allowed. Required: display_name, sampling_rate.
- **Get single LangChain runs thread by ID** (Get). Get a preview of a thread in LangChain. Returns: thread_id, previews, created_at, updated_at, metadata, status, config, values. Required: id, session_id.
- **List all LangChain rule last applieds** (List). Get Last Applied Rule. Returns: rule_id, run_id, run_name, run_type, run_session_id, run_trace_id, start_time, end_time. Required: rule_id.
- **Create a LangChain rules trigger** (Create). Trigger an array of run rules manually in LangSmith. Accepts a required JSON request body whose structure is defined by the TriggerRulesRequest schema. Returns an opaque success response with no defined fields.
- **Get single LangChain run by ID** (Get). Get a specific LangSmith run by id. Returns: name, inputs, inputs_preview, run_type, start_time, end_time, extra, error, execution_order, serialized, outputs, outputs_preview, parent_run_id, manifest_id, manifest_s3_id, events, tags, inputs_s3_urls, outputs_s3_urls, s3_urls, trace_id, dotted_order, trace_min_start_time, trace_max_start_time, id, status, child_run_ids, direct_child_run_ids,…. Required: id.
- **Update a LangChain run by ID** (Update). Update a LangSmith run by id with partial fields. Returns: message. Only the fields to be changed should be included in the body; unknown fields are ignored. Required: id.
- **Create a LangChain run** (Create). Create (queue) a LangSmith run for ingestion. Returns: message.
- **LangChain runs get public** (Get). Get a shared LangSmith run by share token. Returns: name, inputs, inputs_preview, run_type, start_time, end_time, extra, error, execution_order, serialized, outputs, outputs_preview, parent_run_id, manifest_id, manifest_s3_id, events, tags, inputs_s3_urls, outputs_s3_urls, s3_urls, trace_id, dotted_order, trace_min_start_time, trace_max_start_time, id, status, child_run_ids, direct_child_run_ids,…. Required: share_token.
- **LangChain runs get public by ID** (Get). Get a specific shared LangSmith run by share token and run id. Returns: name, inputs, inputs_preview, run_type, start_time, end_time, extra, error, execution_order, serialized, outputs, outputs_preview, parent_run_id, manifest_id, manifest_s3_id, events, tags, inputs_s3_urls, outputs_s3_urls, s3_urls, trace_id, dotted_order, trace_min_start_time, trace_max_start_time, id, status, child_run_ids,…. Required: run_id, share_token.
- **LangChain runs get public v 2** (Get). Get a public shared trace run in LangSmith using a share token. Returns the run object including id, name, run_type, status, start_time, end_time, inputs, and outputs (returned fields depend on the selects parameter). Self-hosted deployments require LangSmith v0.16 or later. Required: share_token, run_id, start_time, selects.
- **LangChain runs get v 2** (Get). Get a single run in LangSmith by run ID for a given project. Returns the run object including id, name, run_type, status, start_time, end_time, inputs, and outputs (use selects to request specific fields; if omitted only id is returned). Self-hosted deployments require LangSmith v0.16 or later. Required: run_id, project_id.
- **List all LangChain run shares** (List). Get the sharing state of a LangSmith run. Returns the run's share_token, or null if the run is not currently shared. This endpoint is deprecated. Required: run_id.
- **Create a LangChain run share** (Create). Create or return a share token for a LangSmith run. Child runs share their trace root. Returns the share token response. Self-hosted deployments require LangSmith v0.16 or later. Required: run_id.
- **LangChain run shares delete v 2** (Delete). Delete the share token for a LangSmith run trace identified by trace_id and session_id. Idempotent. Returns an empty 204 response on success. Required: trace_id.
- **LangChain run shares bulk update** (Run). Share a LangSmith run by enabling public sharing. Returns the run share object. This endpoint is deprecated. Required: run_id.
- **LangChain run shares bulk delete** (Delete). Unshare a LangSmith run by removing its share token. Returns an empty response on success. Deprecated endpoint. Required: run_id.
- **Create a LangChain query validate** (Create). Validate Runs Query. Returns: valid, errors.
- **List all LangChain runs queries** (List). Query Runs. Returns: runs, cursors, search_cursors, parsed_query.
- **LangChain runs queries list public** (List). Query Shared Runs. Returns: runs, cursors, parsed_query. Required: share_token.
- **LangChain runs queries list public dataset** (List). Query shared dataset runs in LangSmith using a share token. Returns runs including id, trace_id, status, run_type, name, start_time, end_time, inputs, and outputs. Required: share_token.
- **LangChain runs queries list public v 2** (List). Query all runs within a publicly shared LangSmith trace identified by a share token. Returns: items. Self-hosted deployments require LangSmith v0.16 or later. Required: share_token.
- **LangChain runs queries list v 2** (List). Query runs. Returns: items, next_cursor.
- **Create a LangChain runs generate query** (Create). Generate a LangSmith runs filter expression from a natural language query. Returns: filter, feedback_urls. Required: query.
- **LangChain runs generate queries create public** (Generate). Generate a runs filter expression from a natural language query for runs in projects executed over a shared LangSmith dataset. Returns the generated filter expression query. Required: share_token, query.
- **Create a LangChain runs stat** (Create). Get aggregated statistics for LangSmith runs by submitting a query in the request body. Returns a RunStats object with aggregate run metrics (or a map of RunStats objects keyed by group) computed over runs matching the query. Required: session.
- **LangChain runs stats create public** (Create). Stats Shared Dataset Runs. Returns: run_count, latency_p50, latency_p99, first_token_p50, first_token_p99, total_tokens, prompt_tokens, completion_tokens. Required: share_token.
- **Create a LangChain runs batch** (Create). Ingest a batch of LangSmith runs via a single JSON payload containing post and/or patch arrays of run objects. Returns a 202 acknowledgment with per-run status messages (message). At least one of post or patch must be supplied. Prefer this endpoint for hundreds of runs; use /runs/multipart for very large fields or attachments.
- **Create a LangChain runs multipart** (Create). Ingest multiple runs, feedback objects, and binary attachments in a single multipart/form-data request to LangSmith. Returns a 202 Accepted response containing a map of part identifiers to status strings. Part names follow the pattern <event>.<run_id>[.<field>] where event is post, patch, feedback, or attachment. Feedback parts must include trace_id and session_id. Each part must set a…
- **Create a LangChain runs group** (Create). Group Runs. Required: session_id, group_by.
- **Create a LangChain group stat** (Create). Stats Group Runs. Returns: run_count, latency_p50, latency_p99, first_token_p50, first_token_p99, total_tokens, prompt_tokens, completion_tokens. Required: session_id, group_by.
- **Delete a LangChain delete trace by ID** (Delete). Delete specific LangSmith runs by trace IDs within a project. Returns a 200 response on success; the response body is not documented by the API. Required: session_id, trace_ids.
- **Delete a LangChain runs delete by ID** (Delete). Delete LangSmith runs by trace ID or by time range. Supply session_id and trace_ids to delete specific traces, or start_time with optional end_time and metadata to delete matching traces. With both time bounds set, metadata is optional and omitting it deletes every trace in the range. Returns a 200 success response.
- **LangChain runs deletes delete queue** (Delete). Delete runs from a LangSmith annotation queue. This endpoint is deprecated. A request body is required but its properties are not documented in the available upstream source. Returns a 200 success response. Required: queue_id.
- **Create a LangChain experiment evaluate** (Create). Evaluate an existing experiment in LangSmith with a specific evaluator, triggering immediate batch evaluation of runs via the run_over_dataset approach. Returns an opaque JSON object with evaluation results whose fields are not enumerated in the source. A JSON request body specifying the evaluator configuration is required. Required: experiment_id, rule_id.
- **List all LangChain feedback formulas** (List). List feedback formulas for a given dataset or tracing project in LangSmith. Returns each formula's id and formula-specific attributes. Deprecated — superseded by composite-feedback v2.
- **Create a LangChain feedback formula** (Create). Create a new feedback formula in LangSmith. Returns the created feedback formula object including its id and formula-specific attributes. Deprecated — use POST /api/v1/feedback/composite-evaluators instead. Required: feedback_key, aggregation_type, formula_parts.
- **Update a LangChain feedback formula by ID** (Update). Update a feedback formula in LangSmith by id. Returns the updated feedback formula object including its id and formula-specific attributes. Deprecated — superseded by composite-feedback v2. Required: id, feedback_key, aggregation_type, formula_parts.
- **Delete a LangChain feedback formula by ID** (Delete). Delete a LangSmith feedback formula by id. Returns an empty response on success. Deprecated: superseded by composite-feedback v2; tenants on v2 receive HTTP 410. Required: id.
- **Get single LangChain feedback formula by ID** (Get). Get a LangSmith feedback formula by id. Returns the feedback formula object including its id and formula-specific attributes. Deprecated — superseded by composite-feedback v2. Required: id.
- **Get single LangChain feedback by ID** (Get). Get a specific LangSmith feedback by id. Returns: created_at, modified_at, key, score, value, comment, correction, feedback_group_id, comparative_experiment_id, run_id, session_id, id, trace_id, start_time, is_root, feedback_source, extra, feedback_thread_id, source, level, user_id. Required: id.
- **Update a LangChain feedback by ID** (Update). Replace an existing LangSmith feedback entry with a new, modified entry by id. Returns: created_at, modified_at, key, score, value, comment, correction, feedback_group_id, comparative_experiment_id, run_id, session_id, id, trace_id, start_time, is_root, feedback_source, extra, feedback_thread_id, source, level, user_id. Required: id.
- **Delete a LangChain feedback by ID** (Delete). Delete a LangSmith feedback by id. Returns a 200 response with no documented response body on success. Required: id.
- **Create a LangChain feedback** (Create). Create a new feedback entry in LangSmith. Returns the created feedback object including id, run_id, session_id, key, score, value, comment, correction, created_at, and modified_at. Required: key.
- **List all LangChain feedbacks** (List). List feedback entries in LangSmith with optional filters by run, session, key, source, score presence, comment presence, level, and date range. Returns: created_at, modified_at, key, score, value, comment, correction, feedback_group_id, comparative_experiment_id, run_id, session_id, id, trace_id, start_time, is_root, feedback_source, extra, feedback_thread_id, level. Max 100 per page.
- **LangChain feedbacks list public** (List). List feedback entries for a publicly shared LangSmith project by share token. Returns: created_at, modified_at, key, score, value, comment, correction, feedback_group_id, comparative_experiment_id, run_id, session_id, id, trace_id, start_time, is_root, feedback_source, extra, feedback_thread_id, source, level, user_id. Max 100 per page. Required: share_token.
- **List all LangChain feedback tokens** (List). List all feedback ingest tokens for a run in LangSmith. Returns: id, url, expires_at, feedback_key, run_id, created_at. Required: run_id.
- **Create a LangChain feedback token** (Create). Create a new feedback ingest token in LangSmith. Returns the created token including id, created_at, and webhooks configuration.
- **Get single LangChain feedback token by ID** (Get). Create new feedback for a run using a feedback ingest token in LangSmith via GET. Accepts optional score, value, comment, correction, and extend_trace_retention query parameters. The API returns a 200 response with no specifically documented response fields. Required: id.
- **LangChain feedback tokens attach** (Action). Create new feedback for a run using a feedback ingest token in LangSmith. Accepts webhook configuration in the request body. Returns the feedback result including webhooks configuration. Required: token_id.
- **List all LangChain datasets sessions** (List). List tracer sessions (projects) run on a shared LangSmith dataset using a share token. Returns: start_time, end_time, extra, name, description, default_dataset_id, reference_dataset_id, trace_tier, id, run_count, latency_p50, latency_p99, first_token_p50, first_token_p99, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, tenant_id, last_run_start_time,…. Required: share_token.
- **List all LangChain datasets sessions bulks** (List). List tracer sessions from multiple shared LangSmith datasets in a single bulk request. Returns: start_time, end_time, extra, name, description, default_dataset_id, reference_dataset_id, trace_tier, id, run_count, latency_p50, latency_p99, first_token_p50, first_token_p99, total_tokens, prompt_tokens, completion_tokens, total_cost, prompt_cost, completion_cost, tenant_id, last_run_start_time,…. Required: share_tokens.
- **Get single LangChain datasets run by ID** (Get). Get a single run from a shared LangSmith dataset by run id. Returns: name, inputs, inputs_preview, run_type, start_time, end_time, extra, error, execution_order, serialized, outputs, outputs_preview, parent_run_id, manifest_id, manifest_s3_id, events, tags, inputs_s3_urls, outputs_s3_urls, s3_urls, trace_id, dotted_order, trace_min_start_time, trace_max_start_time, id, status, child_run_ids,…. Required: id, share_token.
- **List all LangChain datasets feedbacks** (List). List feedback for runs in projects executed over a shared dataset in LangSmith. Returns: created_at, modified_at, key, score, value, comment, correction, feedback_group_id, comparative_experiment_id, run_id, session_id, id, trace_id, start_time, is_root, feedback_source, extra, feedback_thread_id, source, level, thread_id, updated_at, metadata, status, config. Required: share_token.
- **List all LangChain schema messages** (List). Get the JSON Schema definition for messages in LangSmith at a specified version. Returns a version-specific JSON Schema document describing the message format. Required: version.
- **List all LangChain schema tooldefs** (List). Get the LangSmith tool definition JSON Schema for a specific schema version. Returns the JSON Schema document that defines the tool definition format; the exact fields are version-specific. Required: version.
- **List all LangChain annotation queues** (List). List annotation queues in LangSmith with optional filters by name, queue type, dataset, tags, and assignment. Returns: description, created_at, updated_at, num_reviewers_per_item, enable_reservations, reservation_minutes, reviewer_access_mode, name, id, tenant_id, source_rule_id, run_rule_id, default_dataset, queue_type, metadata, assigned_reviewers, total_runs. Max 100 per page.
- **Create a LangChain annotation queue** (Create). Create a new annotation queue in LangSmith. Returns: description, created_at, updated_at, num_reviewers_per_item, enable_reservations, reservation_minutes, reviewer_access_mode, name, id, tenant_id, source_rule_id, run_rule_id, default_dataset, queue_type, metadata, assigned_reviewers. Required: name.
- **LangChain annotation queues bulk delete** (Delete). Delete multiple annotation queues in LangSmith with partial success support. Returns 200 when all queues are deleted successfully, or 207 for partial success. Max 100 queue IDs per request. Required: queue_ids.
- **Update a LangChain annotation queue by ID** (Update). Update a LangSmith annotation queue by id. Returns: id, name, queue_type. Required: id.
- **Delete a LangChain annotation queue by ID** (Delete). Delete a LangSmith annotation queue by id. Returns an empty 204 response on success. Required: id.
- **Get single LangChain annotation queue by ID** (Get). Get a single LangSmith annotation queue by id. Returns: description, created_at, updated_at, num_reviewers_per_item, enable_reservations, reservation_minutes, reviewer_access_mode, name, id, tenant_id, source_rule_id, run_rule_id, default_dataset, queue_type, metadata, assigned_reviewers, rubric_items, rubric_instructions, dataset_id. Required: id.
- **Create a LangChain annotation queues populate** (Create). Populate a LangSmith annotation queue with runs from an experiment. Accepts a required JSON request body (PopulateAnnotationQueueSchema) whose field definitions are not available in the discovered API documentation. Returns a success response whose body shape is not specified by the API. Required: queue_id, session_ids.
- **List all LangChain annotation queue runs** (List). List runs from a LangSmith annotation queue, filterable by archived state, stats inclusion, and review status. Returns: name, inputs, inputs_preview, run_type, start_time, end_time, extra, error, execution_order, serialized, outputs, outputs_preview, parent_run_id, manifest_id, manifest_s3_id, events, tags, inputs_s3_urls, outputs_s3_urls, s3_urls, trace_id, dotted_order, trace_min_start_time,…. Required: queue_id.
- **Create a LangChain annotation queue run** (Create). Add runs to a LangSmith annotation queue by providing an array of run UUIDs or run objects. Returns an array of annotation queue run objects including id and name. This endpoint is deprecated. Required: queue_id.
- **Update a LangChain annotation queue run by ID** (Update). Update a run in a LangSmith annotation queue, typically to change its review status. Returns: id, name. This endpoint is deprecated. Required: id, queue_id.
- **Delete a LangChain annotation queue run by ID** (Delete). Delete a run from a LangSmith annotation queue. Returns an empty 204 response on success. This endpoint is deprecated. Required: id, queue_id.
- **LangChain annotation queue runs get by index** (Get). Get a single run from a LangSmith annotation queue by its zero-based index position. Returns: name, inputs, inputs_preview, run_type, start_time, end_time, extra, error, execution_order, serialized, outputs, outputs_preview, parent_run_id, manifest_id, manifest_s3_id, events, tags, inputs_s3_urls, outputs_s3_urls, s3_urls, trace_id, dotted_order, trace_min_start_time, trace_max_start_time, id,…. Required: queue_id, index.
- **Create a LangChain runs by key** (Create). Add runs to a LangSmith annotation queue by key. Accepts an array of run key request objects as the request body. Returns an array of annotation queue run objects including id. This endpoint is deprecated; self-hosted deployments require LangSmith v0.16 or later. Required: queue_id.
- **Create a LangChain annotation queue export** (Create). Export archived runs from a LangSmith annotation queue. The response payload has an unspecified schema; no response fields are documented upstream. Required: queue_id.
- **List all LangChain annotation queue queues** (List). List annotation queues associated with a specific run in LangSmith. Returns: description, created_at, updated_at, num_reviewers_per_item, enable_reservations, reservation_minutes, reviewer_access_mode, name, id, tenant_id, source_rule_id, run_rule_id, default_dataset, queue_type, metadata, assigned_reviewers. Required: run_id.
- **List all LangChain annotation queue total sizes** (List). Get the total size (item count) of a LangSmith annotation queue across all review statuses. Returns: size. This endpoint is deprecated. Required: queue_id.
- **List all LangChain annotation queue total archiveds** (List). Get the total count of archived items from a LangSmith annotation queue, optionally filtered by a time range. Returns: size. Optional: start_time, end_time. This endpoint is deprecated. Required: queue_id.
- **List all LangChain annotation queue sizes** (List). Get the size of a LangSmith annotation queue, optionally filtered by review status. Returns: size. This endpoint is deprecated. Required: queue_id.
- **Create a LangChain annotation queues status** (Create). Create an identity annotation queue run status in LangSmith. Returns an unspecified response body whose schema is not documented by the upstream API. This endpoint is deprecated. Required: statu_id.
- **Get single LangChain runs resolve by ID** (Get). Resolve a LangSmith annotation queue run ID to its section and run data for deep linking. Returns: section, position. This endpoint is deprecated. Required: id, queue_id.
- **Create a LangChain ace execute** (Create). Execute custom code for testing purposes in LangSmith. Returns an opaque JSON object whose shape depends on the code executed. A JSON request body is required. Required: args, code, language.
- **List all LangChain bulk exports** (List). List all bulk exports in the current LangSmith workspace. Returns each export with id, status, start_time, bulk_export_destination_id, and source_bulk_export_id.
- **Create a LangChain bulk export** (Create). Create a new LangSmith bulk export to export tracing runs to a destination. Returns: bulk_export_destination_id, session_id, all_experiments, start_time, end_time, filter, format, format_version, compression, interval_hours, export_fields, id, tenant_id, status, created_at, updated_at, finished_at, source_bulk_export_id. Either session_id or…. Required: bulk_export_destination_id, start_time.
- **Update a LangChain bulk export by ID** (Update). Cancel a LangSmith bulk export by id. Returns the updated bulk export including id, status, and source_bulk_export_id. Required: id.
- **Get single LangChain bulk export by ID** (Get). Get a single LangSmith bulk export by id. Returns: bulk_export_destination_id, session_id, all_experiments, start_time, end_time, filter, format, format_version, compression, interval_hours, export_fields, id, tenant_id, status, created_at, updated_at, finished_at, source_bulk_export_id. Required: id.
- **List all LangChain bulk exports destinations** (List). List all bulk export destinations configured in the current LangSmith workspace. Returns: destination_type, display_name, config, id, tenant_id, created_at, updated_at, credentials_keys, webhooks.
- **Create a LangChain bulk exports destination** (Create). Create a new bulk export destination in LangSmith that writes exported data to an S3 or S3-compatible bucket. Credentials are stored encrypted and the API validates the destination before saving. Returns: destination_type, display_name, config, id, tenant_id, created_at, updated_at, credentials_keys. Required: display_name, config.
- **Update a LangChain bulk exports destination by ID** (Update). Update a LangSmith bulk export destination by id. Returns the updated destination object including id, destination_type, display_name, config, and credentials. Required: id.
- **Get single LangChain bulk exports destination by ID** (Get). Get a single LangSmith bulk export destination by id. Returns: destination_type, display_name, config, id, tenant_id, created_at, updated_at, credentials_keys, credentials. Required: id.
- **List all LangChain bulk exports runs** (List). List LangSmith bulk export runs spawned by a scheduled bulk export, filtered by the source export's id. Returns: bulk_export_id, metadata, session_id, id, status, retry_number, errors, created_at, updated_at, finished_at, start_time, end_time, source_bulk_export_id, tenant_id. Required: source_bulk_export_id.
- **List all LangChain bulk export runs** (List). List runs for a LangSmith bulk export. Returns an array of BulkExportRun objects including id, tenant_id, session_id, trace_id, name, run_type, status, start_time, end_time, inputs, and outputs. Max 1000 per page. Required: bulk_export_id.
- **Get single LangChain bulk export run by ID** (Get). Get a single LangSmith bulk export run by id. Returns the full BulkExportRun object including id, tenant_id, session_id, trace_id, name, run_type, status, start_time, end_time, inputs, and outputs. Required: id, bulk_export_id.
- **List all LangChain feedback configs** (List). List LangSmith feedback configs with optional filtering by feedback key and name. Returns: feedback_key, feedback_config, tenant_id, modified_at, is_lower_score_better.
- **Create a LangChain feedback config** (Create). Create a new LangSmith feedback config for a given feedback key. Returns: feedback_key, feedback_config, tenant_id, modified_at, is_lower_score_better. Required: feedback_key, feedback_config.
- **LangChain feedback configs bulk update** (Update). Update an existing LangSmith feedback config identified by its feedback key. Returns: feedback_key, feedback_config, tenant_id, modified_at, is_lower_score_better. Required: feedback_key.
- **LangChain feedback configs bulk delete** (Delete). Soft delete a LangSmith feedback config by marking it as deleted. The config can be recreated later with the same key, and existing feedback records with this key remain unchanged. Returns an empty 204 response on success. Required: feedback_key.
- **List all LangChain model price maps** (List). List model price map entries in LangSmith. Returns an array of model price map records including id, created_at, and updated_at. The optional q parameter filters results by a search query string (max 200 characters).
- **Create a LangChain model price map** (Create). Create a new model price entry in LangSmith. The request body schema (ModelPriceMapCreateSchema) and response shape are defined upstream but not enumerated in the API docs. Required: name, match_pattern, prompt_cost, completion_cost.
- **Update a LangChain model price map by ID** (Update). Update a model price map entry in LangSmith by id. The request body schema (ModelPriceMapUpdateSchema) and response shape are defined upstream but not enumerated in the API docs. Required: id, name, match_pattern, prompt_cost, completion_cost.
- **Delete a LangChain model price map by ID** (Delete). Delete a model price map entry in LangSmith by id. Returns the deleted record including its id and attributes. Required: id.
- **Create a LangChain prompts invoke prompt** (Create). Invoke a prompt in LangSmith by submitting a JSON request body conforming to the InvokePromptPayload schema. Returns a dynamic JSON response whose shape depends on the invoked prompt. Required: messages, template_format, inputs.
- **List all LangChain prompt webhooks** (List). List all prompt webhooks for the current tenant in LangSmith. Returns each webhook object including id and configuration attributes.
- **Create a LangChain prompt webhook** (Create). Create a new prompt webhook in LangSmith. Returns the created webhook object including id and configuration attributes. A JSON request body is required. Required: url.
- **Update a LangChain prompt webhook by ID** (Update). Update a specific prompt webhook in LangSmith by id. Returns the updated webhook object including id and configuration attributes. A JSON request body is required. Required: id.
- **Delete a LangChain prompt webhook by ID** (Delete). Delete a specific prompt webhook in LangSmith by id. Returns an empty 204 response on success. Required: id.
- **Get single LangChain prompt webhook by ID** (Get). Get a specific prompt webhook in LangSmith by id. Returns the webhook object including id and configuration attributes. Required: id.
- **Create a LangChain prompt webhooks test** (Create). Test a specific prompt webhook in LangSmith by sending a test request to its configured target. Returns a free-form object with string key-value pairs representing the webhook test response. Requires a PromptWebhookTest request body whose individual fields are not enumerated in the API reference. Required: webhook, payload.
- **List all LangChain playground settings** (List). List all playground settings for the current tenant in LangSmith. Returns: id, settings, options, name, organization_id, created_at, updated_at, description, settings_type, created_by_ls_user_id, updated_by_ls_user_id, available_in_playground, available_in_evaluators, available_in_agent_builder, available_in_polly, available_in_insights_heavy, available_in_insights_light, oauth_enabled,…
- **Create a LangChain playground setting** (Create). Create playground settings in LangSmith. Returns the created record including id, created_at, and updated_at. Requires a JSON request body. Required: settings.
- **Update a LangChain playground setting by ID** (Update). Update an existing playground settings record in LangSmith. Returns the updated record including id, created_at, and updated_at. Required: id.
- **Delete a LangChain playground setting by ID** (Delete). Delete a playground settings record in LangSmith by id. Returns an empty 200 response on success. Required: id.
- **Get single LangChain playground setting by ID** (Get). Get a single playground settings record in LangSmith by id. Returns: id, settings, options, name, organization_id, created_at, updated_at, description, settings_type, created_by_ls_user_id, updated_by_ls_user_id, available_in_playground, available_in_evaluators, available_in_agent_builder, available_in_polly, available_in_insights_heavy, available_in_insights_light, oauth_enabled,…. Required: id.
- **Create a LangChain section clone** (Create). Clone a dashboard section in LangSmith. Returns the cloned section object including its id and section-specific attributes. A JSON request body is required.
- **List all LangChain charts sections** (List). List all charts sections (dashboard sections) for the tenant in LangSmith. Returns: title, description, index, id, chart_count, created_at, modified_at. Max 100 per page.
- **Create a LangChain charts section** (Create). Create a new charts section in LangSmith. Returns the created section object. The request body and response schema are referenced as CustomChartsSectionCreate and CustomChartsSectionResponse in the upstream API; their individual fields are not enumerated in the discovered source. Required: title.
- **Update a LangChain charts section by ID** (Update). Update a charts section by id in LangSmith. Returns the updated section object. The request body and response schema are referenced as CustomChartsSectionUpdate and CustomChartsSectionResponse in the upstream API; their individual fields are not enumerated in the discovered source. Required: id.
- **Delete a LangChain charts section by ID** (Delete). Delete a LangSmith charts section by id. Returns an empty response on success. Required: id.
- **Get single LangChain charts section by ID** (Get). Get a single charts section by id in LangSmith. Returns the section object. The request body and response schema are referenced as CustomChartsSectionRequest and CustomChartsSection in the upstream API; their individual fields are not enumerated in the discovered source. Required: id.
- **Update a LangChain chart by ID** (Update). Update a chart or text block in LangSmith by ID. Returns: id. The response uses a chart_type discriminator with values line, bar, table, kpi, top-k, pie, or text. Required: id.
- **Delete a LangChain chart by ID** (Delete). Delete a LangSmith chart by id. Returns an empty response on success. Required: id.
- **List all LangChain charts** (List). List all custom charts and dashboard text blocks for a LangSmith tenant. Returns: sections, webhooks. The response uses a chart_type discriminator with values line, bar, table, kpi, top-k, pie, or text.
- **Get single LangChain chart by ID** (Get). Get a single custom chart or text block by ID in LangSmith. Returns: id, webhooks. The response uses a chart_type discriminator with values line, bar, table, kpi, top-k, pie, or text. Required: id.
- **Create a LangChain charts preview** (Create). Read Chart Preview. Returns: series_id, timestamp, value, group. Required: bucket_info, chart.
- **Create a LangChain charts create** (Create). Create a chart or dashboard text block in LangSmith. The request body is discriminated by chart_type: line, bar, table, kpi, top-k, and pie create a chart; text creates a text block. Returns: chart_type.
- **List all LangChain org charts sections** (List). List organization chart sections in LangSmith. Deprecated — organization usage charts have been retired and the endpoint returns HTTP 410 Gone.
- **Create a LangChain org charts section** (Create). Create an organization chart section in LangSmith. Deprecated — organization usage charts have been retired and the endpoint returns HTTP 410 Gone.
- **Update a LangChain org charts section by ID** (Update). Update an organization chart section by id in LangSmith. Deprecated — organization usage charts have been retired and the endpoint returns HTTP 410 Gone. Required: id.
- **Delete a LangChain org charts section by ID** (Delete). Delete an organization chart section by id in LangSmith. Deprecated — organization usage charts have been retired and the endpoint returns HTTP 410 Gone. Required: id.
- **Get single LangChain org charts section by ID** (Get). Get a single organization chart section by id in LangSmith. Deprecated — organization usage charts have been retired and the endpoint returns HTTP 410 Gone. Required: id.
- **Update a LangChain org chart by ID** (Update). Update an organization usage chart in LangSmith. This endpoint is deprecated — organization usage charts have been retired and the upstream returns HTTP 410. The source documents no request body fields or response schema for this deprecated endpoint. Required: id.
- **Delete a LangChain org chart by ID** (Delete). Delete an organization usage chart in LangSmith. This endpoint is deprecated — organization usage charts have been retired and the upstream returns HTTP 410. Returns an empty response on success. Required: id.
- **List all LangChain org charts** (List). List organization usage charts in LangSmith. This endpoint is deprecated — organization usage charts have been retired and the upstream returns HTTP 410. The source documents no request body fields or response schema for this deprecated endpoint.
- **Get single LangChain org chart by ID** (Get). Get a single organization usage chart in LangSmith. This endpoint is deprecated — organization usage charts have been retired and the upstream returns HTTP 410. The source documents no request body fields or response schema for this deprecated endpoint. Required: id.
- **Create a LangChain org charts preview** (Create). Preview an organization usage chart in LangSmith. This endpoint is deprecated — organization usage charts have been retired and the upstream API returns HTTP 410 Gone. No request body or query parameters are accepted. Returns an empty response on success.
- **Create a LangChain org charts create** (Create). Create an organization usage chart in LangSmith. This endpoint is deprecated — organization usage charts have been retired and it returns HTTP 410 Gone with no response body.
- **List all LangChain mcp tools** (List). List MCP tools from a remote server URL in LangSmith, served from cache when fresh and fetched via manifest or MCP handshake on cache miss. Returns the tools exposed by the remote MCP server; response shape is server-specific. Required: url.
- **LangChain mcp tools bulk delete** (Delete). Invalidate cached MCP tools for a given server URL in LangSmith so subsequent requests re-fetch from the remote server. Returns a successful response with no documented body. Required: url.
- **List all LangChain mcp proxies** (List). Proxy a GET request to a remote MCP server URL through LangSmith. Returns the proxied response from the target server, whose shape depends on the requested URL. Required: url.
- **Create a LangChain mcp proxy** (Create). Proxy a request to a remote MCP server through LangSmith by POSTing a ProxyRequest body. Returns the proxied response from the target server, whose shape is dynamic and depends on the requested URL and payload. Required: url.
- **List all LangChain orgs** (List). List all LangSmith organizations visible to the current authentication. Returns: id, display_name, tier, created_at, created_by_user_id, created_by_ls_user_id, modified_at, is_personal, disabled, sso_login_slug, sso_only, jit_provisioning_enabled, invites_enabled, public_sharing_disabled, pat_creation_disabled, workspace_admin_can_invite_to_org, byoc_create_saas_workspace_enabled,…
- **Create a LangChain org** (Create). Create a new organization in LangSmith. Returns: id, display_name, tier, created_at, created_by_user_id, created_by_ls_user_id, modified_at, is_personal, disabled, sso_login_slug, sso_only, jit_provisioning_enabled, invites_enabled, public_sharing_disabled, pat_creation_disabled, workspace_admin_can_invite_to_org, byoc_create_saas_workspace_enabled, default_sso_provision, max_api_key_expiry_days,…. Required: display_name, is_personal.
- **Get single LangChain org by ID** (Get). Get Organization Info. Returns: id, display_name, config, connected_to_stripe, connected_to_metronome, is_personal, tier, payment_method.
- **Create a LangChain orgs setup** (Create). Create a Stripe customer and retrieve a Stripe SetupIntent for the current LangSmith organization's billing setup. Returns: client_secret. No required parameters.
- **List all LangChain orgs info** (List). Get current organization info in LangSmith. Returns the OrganizationInfo object for the authenticated user's current organization, including its id, name, and configuration details.
- **Get single LangChain orgs info by ID** (Get). Get current organization info. Returns: byoc_create_saas_workspace_enabled, can_export_usage_backfill, config, default_sso_provision, disabled, disabled_model_providers, display_name, engine_enabled.
- **LangChain orgs info bulk update** (Update). Update Current Organization Info. Returns: id, display_name, config, engine_enabled, engine_lcu_spend_limit_monthly, is_personal, tier, reached_max_workspaces.
- **List all LangChain orgs billings** (List). Get the current organization's billing information in LangSmith. Returns: id, display_name, config, connected_to_stripe, connected_to_metronome, is_personal, tier, payment_method, end_of_billing_period, current_plan, upcoming_plan, reached_max_workspaces, disabled, default_sso_provision, plus_plan_transition.
- **List all LangChain orgs dashboards** (List). Get the current organization's dashboard in LangSmith filtered by dashboard type and color scheme. Returns the dashboard object with type-specific attributes. Required: type, color_scheme.
- **Create a LangChain orgs payment method** (Create). Notify LangSmith that a payment method was created by submitting Stripe payment information. Returns a 200 acknowledgment response with an unspecified JSON body. Required: billing_info, setup_intent.
- **List all LangChain orgs business infos** (List). Get the current organization's company info from LangSmith. Returns the company/business info object (StripeBusinessInfo-Output). The specific fields of the returned object are defined by the upstream schema and were not enumerated in the discovered source.
- **Create a LangChain orgs business info** (Create). Set the current organization's company/business info in LangSmith. Accepts a required JSON request body whose fields are defined by the upstream StripeBusinessInfo-Input schema, which is not enumerated in the discovered source. Returns a 200 success response whose body shape is not defined in the API specification.
- **Create a LangChain orgs plan** (Create). Change the payment plan for the current LangSmith organization. Accepts a request body conforming to the ChangePaymentPlanSchema whose field definitions are not enumerated in the discovered source. Returns a 200 response with an unspecified JSON body. Required: tier.
- **List all LangChain orgs roles** (List). List Organization Roles. Returns: id, name, display_name, description, organization_id, permissions, access_scope, is_restricted.
- **Create a LangChain orgs role** (Create). Create a new organization role in LangSmith. Returns the created role object including its id and attributes. A JSON request body with the role definition is required. Required: display_name, description, permissions.
- **Update a LangChain orgs role by ID** (Update). Update a LangSmith organization role by id. Returns the updated role object including its id and attributes. Required: id, display_name, description, permissions.
- **Delete a LangChain orgs role by ID** (Delete). Delete a LangSmith organization role by id. Returns the deleted role object including its id and attributes. Required: id.
- **LangChain role restrictions bulk update** (Update). Set the restriction for a LangSmith organization role by role_id. Returns the updated Role object; the upstream API reference does not enumerate its fields in the discovered source, so consult the LangSmith Smith API reference for the full field-level breakdown. Required: role_id, is_restricted.
- **List all LangChain orgs permissions** (List). List all available organization permissions in LangSmith. Returns: name, description, access_scope.
- **List all LangChain orgs pendings** (List). List all pending LangSmith organization invites visible to the current auth. Returns an array of organization objects including id, name, and created_at.
- **Delete a LangChain orgs pending by ID** (Delete). Delete a pending organization invite in LangSmith by id. Returns an empty 204 response on success. Required: id.
- **List all LangChain orgs members** (List). List members of the current LangSmith organization. Returns: organization_id, members, pending, id, display_name, email, organization_role, workspace_role, workspace_memberships, active, created_at.
- **Create a LangChain orgs member** (Create). Add a member to the current LangSmith organization by creating a pending identity invitation. Returns the created pending identity including id. The request body uses the PendingIdentityCreate schema whose properties are not enumerated in the available source. Required: email.
- **Update a LangChain orgs member by ID** (Update). Update a LangSmith organization member's role (all auth modes) or full_name/password (basic auth). Returns: id. Required: id.
- **Delete a LangChain orgs member by ID** (Delete). Remove a member from the current LangSmith organization. Returns an empty response on success. Required: id.
- **Get single LangChain orgs member by ID** (Get). List members of the current LangSmith organization (active and pending) enriched with workspace memberships. Returns: avatar_url, created_at, display_name, email, id, is_disabled, is_pending, linked_login_methods, ls_user_id, role_id, role_name, scim_groups, workspace_memberships. Optional filters include active_is, pending_is, name_like, email_like, workspace_name_like, organization_role_like,…
- **List all LangChain members actives** (List). List active members of the current organization in LangSmith. Returns an array of member identity objects including id, email, name, created_at, and is_disabled. The user_ids filter is deprecated; use ls_user_ids instead.
- **Get single LangChain members active by ID** (Get). List active members of the current workspace in LangSmith. Returns an array of member identity objects including id, email, name, created_at, and is_disabled. The user_ids filter is deprecated; use ls_user_ids instead.
- **List all LangChain members pendings** (List). List pending org member invites for the current LangSmith organization, with optional filtering by emails and search by email or name. Returns an array of pending identities with id, email, name, and created_at. Max 500 per page.
- **Get single LangChain members pending by ID** (Get). Get pending member invitations for the current LangSmith workspace. Returns an array of pending identities with id, email, name, and created_at. Supports filtering by emails and searching by email or name. Max 500 results per page.
- **Create a LangChain members batch** (Create). Add Members To Current Org Batch. Returns: email, read_only, role_id, role_name, workspace_ids, workspace_role_id, workspace_role_name, password.
- **LangChain members batches create workspace** (Create). Batch invite up to 500 users to the current LangSmith workspace and organization. Returns an array of invite results, one per requested user. Rate limited per workspace to reduce bulk invitation abuse.
- **Create a LangChain basic batch** (Create). Add Basic Auth Members To Current Org. Returns: id, ls_user_id, created_at, updated_at, email, full_name, avatar_url, password.
- **LangChain member pendings update workspace** (Update). Update the role on a pending workspace member invite in LangSmith. Returns the updated pending member identity including identity_id and role. Required: identity_id.
- **LangChain member pendings delete workspace** (Delete). Delete a pending workspace member invite in LangSmith. Returns an empty response on success. Required: identity_id.
- **LangChain member pendings bulk update** (Update). Update the role on a pending LangSmith organization member invite. Returns: email, read_only, role_id, role_name, workspace_ids, workspace_role_id, workspace_role_name, password, full_name, access_scope, id, user_id, tenant_id, organization_id, created_at, org_role_id, org_role_name, tenant_ids, role. Required: identity_id.
- **LangChain member pendings bulk delete** (Delete). Delete a pending LangSmith organization member invite by identity_id. Returns an empty response on success. Required: identity_id.
- **Create a LangChain claim** (Create). Claim a pending organization invite in LangSmith by accepting the invitation for the authenticated user. Returns the Identity object including id. Required: organization_id.
- **LangChain claims claim workspace** (Action). Claim a pending workspace invite in LangSmith by accepting the invitation for the authenticated user. This endpoint is deprecated. Returns an opaque response with no documented fields. Required: workspace_id.
- **LangChain members basics bulk update** (Update). Update the current LangSmith user's full_name and/or password in basic auth mode. The API returns a success response whose body shape is not specified in the API reference.
- **List all LangChain orgs SSO settings** (List). Get Current Sso Settings. Returns: id, organization_id, provider_id, default_workspace_role_id, default_workspace_ids, metadata_url, metadata_xml, sso_groups_enabled.
- **Create a LangChain orgs SSO setting** (Create). Create SSO provider settings for the current organization in LangSmith. Returns the created SSO provider object with its id and provider-specific attributes. Requires a JSON request body with SSO provider configuration. Required: default_workspace_role_id, default_workspace_ids.
- **Update a LangChain orgs SSO setting by ID** (Update). Update SSO provider settings defaults for the current organization in LangSmith. Returns the updated SSO provider record including its id and sso_login_slug. Required: id.
- **Delete a LangChain orgs SSO setting by ID** (Delete). Delete Sso Settings. Returns: id, organization_id, provider_id, default_workspace_role_id, default_workspace_ids, metadata_url, metadata_xml, sso_groups_enabled. Required: id.
- **LangChain orgs login methods bulk update** (Update). Update allowed login methods for the current organization in LangSmith. Returns an object representing the updated allowed login methods configuration. Requires a request body following the AllowedLoginMethodsUpdate schema.
- **List all LangChain billing usages** (List). List organization billing usage in LangSmith for a given date range. Returns an array of OrgUsage records with trace consumption data for the specified period. Required: starting_on.
- **List all LangChain billing granular usages** (List). List granular LangSmith usage data for the current organization with flexible grouping by workspace or trace tier. Returns time-bucketed records with traces, nodes_executed, agent_runs, and agent_uptime_seconds, with value fields varying by kind. Required: start_time, end_time.
- **List all LangChain granular usage exports** (List). Export granular usage data as a CSV file in LangSmith. Returns a CSV file download whose value columns vary by the kind parameter. Required: start_time, end_time.
- **List all LangChain user login methods** (List). Get Current User Login Methods. Returns: id, provider, ls_user_id, saml_provider_id, provider_user_id, created_at, updated_at, email.
- **Create a LangChain orgs stripe checkout session** (Create). Create a Stripe checkout session in LangSmith to kick off a checkout flow for the current organization. Returns the Stripe checkout session object. Requires a JSON request body whose field schema is not enumerated in the available API documentation. Required: amount_cents, success_path.
- **Create a LangChain orgs stripe account link** (Create). Kick off a Stripe account link flow in LangSmith. Requires a JSON request body (StripeAccountLinksCreate schema). Returns a JSON response whose field structure is not enumerated in the available source documentation. Required: success_path.
- **List all LangChain orgs service keys** (List). List LangSmith org service keys for the current organization, optionally filtered by workspace. Returns an array of service key objects including id, description, and read_only for each key. Optional: workspace_ids.
- **Create a LangChain orgs service key** (Create). Create an org-scoped service key in LangSmith. If workspaces is None, the key is org-wide. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by, key.
- **Update a LangChain orgs service key by ID** (Update). Update a LangSmith org service key's role(s) in place without rotating the key. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by, key. Required: id.
- **Delete a LangChain orgs service key by ID** (Delete). Delete a LangSmith org service key by id. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by, key. Required: id.
- **List all LangChain orgs personal access tokens** (List). List personal access tokens (PATs) for the current LangSmith organization. Returns each token with id, description, read_only, and created_at.
- **Create a LangChain orgs personal access token** (Create). Create a personal access token (PAT) for the current LangSmith organization. The API key value is displayed only once in the response. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by, key, api_key.
- **Delete a LangChain orgs personal access token by ID** (Delete). Delete a LangSmith personal access token for the current organization by id. Returns the deleted token object including its id, description, and read_only flag. Required: id.
- **Create a LangChain orgs set default SSO provision** (Create). Set the current LangSmith organization as the default for SSO provisioning in self-hosted environments. Returns a success response object. No request parameters required.
- **Create a LangChain login** (Create). Create a login session in LangSmith by authenticating with credentials. Returns a BasicAuthResponse containing authentication details.
- **Create a LangChain email verification send** (Create). Send an email to confirm the email address for an SSO user in LangSmith. Returns a 202 acknowledgment object with an opaque body. Requires a JSON request body with SSO email verification send details. Required: email, saml_provider_id.
- **Create a LangChain email verification status** (Create). Check the email verification status of an SSO user in LangSmith. Returns the SSO email verification status response object. Required: email, saml_provider_id.
- **Create a LangChain email verification confirm** (Create). Confirm the email of an SSO user in LangSmith by submitting a JSON verification request. Returns a generic confirmation response object whose specific fields are not enumerated in the available source. The request requires a JSON body (SSOConfirmEmailRequest). Required: token.
- **Get single LangChain SSO setting by ID** (Get). Get SSO provider settings from a login slug in LangSmith. Returns an array of SSO provider settings records (SSOProviderSlim); the specific fields of each record are not enumerated in the available API reference. Required: id.
- **Create a LangChain SSO email lookup** (Create). Lookup Sso By Email. Returns: provider_id, organization_id, organization_display_name. Required: email.
- **List all LangChain API keys** (List). List API keys for the current tenant in LangSmith. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by.
- **Create a LangChain API key** (Create). Generate a new API key in LangSmith. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by, key.
- **Delete a LangChain API key by ID** (Delete). Delete an API key by id in LangSmith. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by. Required: id.
- **LangChain API keys get current** (Get). List personal access tokens for the current user in LangSmith. Deprecated — use /orgs/current/personal-access-tokens instead. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by.
- **LangChain API keys create current** (Create). Generate a personal access token for the current user in LangSmith. Deprecated — use /orgs/current/personal-access-tokens instead. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names, default_workspace_name, role_id, org_role_id, access_scope, created_by, key, webhooks.
- **LangChain API keys delete current** (Delete). Delete Personal Access Token. Returns: created_at, id, short_key, description, read_only, last_used_at, expires_at, workspace_names. Required: current_id.
- **List all LangChain tenants** (List). List all LangSmith tenants (workspaces) visible to the current authentication. Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url, read_only, role_id, role_name, permissions, name, handle. Optionally include deleted tenants or skip automatic tenant creation.
- **Create a LangChain tenant** (Create). Create a new LangSmith organization and corresponding workspace (tenant). Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url, name, handle. Required: display_name.
- **List all LangChain onboarding states** (List). Get the onboarding state for the current user in LangSmith. Returns: id, ls_user_id, tracing_completed_at, lgstudio_completed_at, playground_completed_at, evaluation_completed_at, success_viewed_at, created_at, updated_at.
- **Create a LangChain onboarding state** (Create). Initialize onboarding state for the current user in LangSmith. Returns: id, ls_user_id, tracing_completed_at, lgstudio_completed_at, playground_completed_at, evaluation_completed_at, success_viewed_at, created_at, updated_at.
- **LangChain onboarding states bulk update** (Update). Update a specific onboarding completion field for the current user in LangSmith. Returns: id, ls_user_id, tracing_completed_at, lgstudio_completed_at, playground_completed_at, evaluation_completed_at, success_viewed_at, created_at, updated_at. Required: field.
- **List all LangChain ls user IDS** (List). Get the LangSmith user ID for the current authenticated user. Returns the user ID as a bare string value.
- **List all LangChain service accounts** (List). List service accounts for the current organization in LangSmith. Returns an array of service account objects including id, created_at, and updated_at.
- **Create a LangChain service account** (Create). Create a service account in LangSmith. Returns the created service account including its id, created_at, and updated_at. Requires a request body. Required: name.
- **Delete a LangChain service account by ID** (Delete). Delete a LangSmith service account by id. Returns the deleted service account's id, created_at, and updated_at. Required: id.
- **List all LangChain workspaces pendings** (List). List pending workspace invites visible to the current authentication in LangSmith. Returns: id, organization_id, created_at, display_name, is_personal, is_deleted, tenant_handle, data_plane_url.
- **Delete a LangChain workspaces pending by ID** (Delete). Delete a pending workspace invite in LangSmith by id. Returns an empty 200 response on success. Required: id.
- **List all LangChain workspaces members** (List). List members of the current LangSmith workspace. Returns: tenant_id, members, pending.
- **Create a LangChain workspaces member** (Create). Add an existing organization member to the current LangSmith workspace. Returns the created member object including identity_id, email, name, role, and created_at.
- **Update a LangChain workspaces member by ID** (Update). Update a workspace member in LangSmith, such as changing their assigned role. Returns the updated member object including identity_id, email, name, role, and created_at. Required: id, role_id.
- **Delete a LangChain workspaces member by ID** (Delete). Remove a member from the current LangSmith workspace by id. Returns an empty 204 response on success. Required: id.
- **List all LangChain usage limits** (List). List the configured usage limits for the current LangSmith tenant. Returns an array of usage limit objects, each containing an id (UUID). Usage limits control the quantity of traces (all traces or extended data retention traces) permitted within a monthly window.
- **Delete a LangChain usage limit by ID** (Delete). Delete a specific LangSmith usage limit by id. Returns an empty 200 response on success. Required: id.
- **LangChain usage limits bulk update** (Update). Upsert a usage limit in LangSmith to control tracing volume (e.g. all traces or extended data retention traces). Returns the usage limit object including its id. A request body specifying the limit configuration is required. Limit values are cached and may take a minute or two before they apply; usage limiting is approximate. Required: limit_type, limit_value.
- **List all LangChain usage limits orgs** (List). List the configured usage limits for a given organization in LangSmith. Returns an array of UsageLimit objects describing the organization's monthly trace usage limits, including the all-traces limit and the extended data retention traces limit.
- **List all LangChain settings** (List). Get the current workspace (tenant) settings in LangSmith. Returns: id, display_name, created_at, tenant_handle, updated_at, thread_id, metadata, status, config.
- **Create a LangChain settings handle** (Create). Set the tenant handle for the current LangSmith workspace. Returns the updated tenant/workspace object including id and created_at. A JSON request body is required. Required: tenant_handle.
- **List all LangChain repos** (List). List all repos in LangSmith with optional filtering by repo type, public visibility, archived status, tags, and more. Returns a paginated list of repos; field details are defined in the ListReposResponse schema in the LangSmith API reference. Max 100 per page.
- **Create a LangChain repo** (Create). Create a new repo in LangSmith. Returns the created repo object; field details are defined in the CreateRepoResponse schema in the LangSmith API reference. Required: repo_handle, is_public.
- **Delete a LangChain repo by ID** (Delete). Delete a repo in LangChain by owner and repo handle. Returns an empty response on success. Required: owner, repo.
- **LangChain repos bulk delete** (Delete). Delete multiple LangSmith repositories by their IDs with partial success support (200 when all deleted, 207 when some fail). Max 100 repo IDs per request. Required: repo_ids.
- **Get single LangChain repo by ID** (Get). Get a specific LangSmith repo by owner and repo handle. Returns: repo. Required: owner, repo.
- **LangChain repos list tags** (List). List all tags for a specific LangSmith repo. Returns: id, repo_id, commit_id, commit_hash, tag_name, created_at, updated_at, name, commit. Required: repo.
- **LangChain repos create tag** (Create). Create a tag on a LangSmith repo by owner and repo handle. Returns the created tag object including tag_name. Required: owner, repo, tag_name, commit_id.
- **LangChain repos bulk update** (Update). Update a LangSmith repository identified by owner and repo handle. Returns the updated repository object; field details are defined in the CreateRepoResponse schema in the LangSmith API reference. Required: owner, repo.
- **Create a LangChain fork** (Create). Fork a LangSmith repo to create a copy under your workspace. Returns the forked repo object including id, repo_type, updated_at, is_public, and is_archived. Required: owner, repo, repo_handle.
- **List all LangChain repos tags** (List). List all repo tags in LangSmith, filterable by tenant, repo type, archived status, and visibility. Returns: tags. Max 100 per page.
- **Create a LangChain repos optimize job** (Create). Create a prompt optimization job in LangSmith. Returns the optimize prompt response object. Requires a JSON request body conforming to the OptimizePromptJobRequest schema; the field-level breakdown is not enumerated in the available API reference. Required: algorithm, config, prompt_name.
- **Create a LangChain like** (Create). Like a repo in LangSmith by owner and repo name. Returns a like response object whose fields are not individually documented in the available source. Required: owner, repo, like.
- **LangChain likes like comment** (Action). Like a comment in LangSmith by owner, repo, and parent comment ID. Returns a response object confirming the like action. Required: owner, repo, parent_comment_id.
- **LangChain likes bulk delete** (Delete). Remove a like from a comment in LangSmith. Returns a response object confirming the unlike action. Required: owner, repo, parent_comment_id.
- **List all LangChain comments** (List). List comments for a LangSmith tracing project identified by owner and repo. Returns: comments, total. Required: owner, repo.
- **Create a LangChain comment** (Create). Create a comment on a LangSmith tracing project identified by owner and repo. Returns: id. Required: owner, repo, content.
- **LangChain comments list replies** (List). List reply comments under a parent comment in a LangSmith tracing project. Returns: comments, total. Required: owner, repo, parent_comment_id.
- **LangChain comments create reply** (Create). Create a reply comment under a parent comment in a LangSmith tracing project. Returns: id, comment_by, comment_on, parent_id, content, created_at, updated_at, comment_by_name, num_sub_comments, num_likes, liked_by_auth_user. Required: owner, repo, parent_comment_id, content.
- **List all LangChain tags** (List). List the transition history for a specific tag in a LangSmith repository, showing each commit change and who performed it. Returns: total, transitions. Required: owner, repo, tag_name.
- **LangChain tags bulk update** (Update). Update a commit tag in a LangSmith repository, such as moving it to point to a different commit. Returns the updated tag object including id, tag_name, created_at, and updated_at. Required: owner, repo, tag_name, commit_id.
- **LangChain tags bulk delete** (Delete). Delete a tag from a LangSmith repository. Returns an empty 204 response on success. Required: owner, repo, tag_name.
- **List all LangChain owners** (List). List all owners of a LangSmith repo. Returns the list of repo owners for the specified repository. Required: owner, repo.
- **Create a LangChain owner** (Create). Add a new owner to a LangSmith repo. Returns the created repo owner object. Required: owner, repo, email.
- **LangChain owners bulk delete** (Delete). Remove an owner from a LangSmith repo. Returns an empty 204 response on success. Required: owner, repo, identity_id.
- **List all LangChain optimization jobs** (List). List all prompt optimization jobs in a LangSmith repository. Returns each job's id, created_at, updated_at. Required: repo.
- **Create a LangChain optimization job** (Create). Create a new prompt optimization job in a LangSmith repository. Returns: id, repo_id, status, tenant_id, algorithm, config, results, created_at, updated_at. Required: repo, algorithm, config.
- **Update a LangChain optimization job by ID** (Update). Replace an existing prompt optimization job with a new, modified job in LangSmith. Returns: id, repo_id, status, tenant_id, algorithm, config, results, created_at, updated_at. Required: id.
- **Delete a LangChain optimization job by ID** (Delete). Delete a prompt optimization job in LangSmith. Returns an empty 200 response on success. Required: id.
- **Get single LangChain optimization job by ID** (Get). Get a specific prompt optimization job by id in LangSmith. Returns: id, repo_id, status, tenant_id, algorithm, config, results, created_at, updated_at, logs. Required: id.
- **LangChain optimization jobs create log** (Create). Create a new log entry for a prompt optimization job in LangSmith. Returns the created prompt optimization job log object as defined by the PromptOptimizationJobLog schema. Required: job_id, log_type, message.
- **List all LangChain optimization job logs** (List). List all logs for a specific prompt optimization job in LangSmith. Returns each log object including its id. Required: job_id.
- **Delete a LangChain optimization job log by ID** (Delete). Delete a prompt optimization job log by id in LangSmith. Returns an empty 204 response on success. Required: id.
- **Get single LangChain optimization job log by ID** (Get). Get a specific prompt optimization job log by id in LangSmith. Returns the log object including its id. Required: id.
- **List all LangChain well known oauth authorization servers** (List). Get OAuth2 authorization server metadata in LangSmith per RFC 8414, advertising supported endpoints, grant types, and response types. Returns the RFC 8414 metadata object with spec-defined fields not enumerated in the integration's docs.
- **List all LangChain well known openid configurations** (List). Get the OpenID Connect discovery document for LangSmith, advertising the authorization, token, userinfo, and JWKS endpoints plus supported scopes, response types, and signing algorithms. Returns: authorization_endpoint, claims_supported, code_challenge_methods_supported, grant_types_supported, id_token_signing_alg_values_supported, issuer, jwks_uri, response_types_supported, scopes_supported,…
- **List all LangChain commits** (List). List commits for a LangSmith repository with pagination. Returns: commits, total. Use '-' as owner for private repos; include_stats controls whether download and view statistics are computed (defaults to true). Required: owner, repo.
- **Create a LangChain commit** (Create). Create a new commit in a LangSmith repository. Returns: commit. Required: owner, repo.
- **Get single LangChain commit by ID** (Get). Get a specific LangSmith commit by hash, tag, or 'latest'. Returns: commit_hash, description, examples, is_draft, manifest, model_config, model_provider, id, created_at, num_downloads, num_views, model, thread_id, updated_at, metadata, status, config. The commit parameter accepts a hash (8+ chars), a tag name, or 'latest'; hashes shorter than 8 characters are…. Required: owner, repo, commit.
- **List all LangChain hub environments** (List). List the hub environments configuration for the current tenant in LangSmith. Returns: environments, id, webhooks. Returns 404 if no custom configuration exists.
- **Create a LangChain hub environment** (Create). Create the hub environments configuration for the current tenant in LangSmith. Returns: environments, id, webhooks. Returns 409 Conflict if a configuration already exists. Required: environments.
- **Update a LangChain hub environment by ID** (Update). Update a hub environments model in LangSmith by replacing its environments array. Returns: environments, id, webhooks. Required: id, environments.
- **Delete a LangChain hub environment by ID** (Delete). Delete a hub environments model in LangSmith by id. The tenant reverts to default configuration. Returns a simple key-value response on success. Required: id.
- **List all LangChain info** (List). Get information about the current LangSmith deployment in LangChain, including version, instance feature flags, batch-ingest limits, and max SDK versions. Returns: batch_ingest_config, billing_installation_id, customer_info, git_sha, instance_flags, license_expiration_time, sdk_versions, version, batch_ingest_limits, maximum_sdk_versions.
- **Create a LangChain platform alert** (Create). Create a new alert rule in LangSmith for a given session. Returns the created alert rule including its id and attributes. Required: alert_id, actions, rule.
- **List all LangChain platform alerts** (List). Get a specific alert rule in LangSmith by session and alert rule ID. Returns the alert rule including its id and attributes. Required: session_id, alert_rule_id.
