LangSmith Tracer Sessions API

The tracer-sessions API from LangSmith — 14 operation(s) for tracer-sessions.

GitHub OpenAPI
Business capability
Observability Management BC-4220.20

Operations 26

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/sessions/{session_id}/dashboard Get a session's prebuilt dashboard · Get Tracing Project Prebuilt Dashboard #
Ask an LLM
“Can I see a prebuilt dashboard for a tracing session?”
“What does a session's prebuilt dashboard show?”
Tell an agent
Get the prebuilt dashboard for session {session_id}.
Show the {timezone} dashboard for session {session_id} from {start_time} to {end_time}.
GET /api/v1/sessions/{session_id} Get a tracing session · Read Tracer Session #
Ask an LLM
“How do I look up one tracing session by ID?”
“Can I include stats when fetching a session?”
Tell an agent
Get tracing session {session_id}.
Fetch session {session_id} with stats from {stats_start_time}.
PATCH /api/v1/sessions/{session_id} Update a tracing session · Update Tracer Session #
Ask an LLM
“Can I rename a tracing session or change its description?”
“Is it possible to set a default dataset on a session?”
Tell an agent
Rename tracing session {session_id} to {name}.
Set the default dataset of session {session_id} to {default_dataset_id}.
DELETE /api/v1/sessions/{session_id} Delete a tracing session · Delete Tracer Session #
Ask an LLM
“How do I delete one tracing session?”
“Can I remove a session I no longer need?”
Tell an agent destructive · confirm first
Delete tracing session {session_id}.
Remove session {session_id} permanently.
GET /api/v1/sessions List tracing sessions · Read Tracer Sessions #
Ask an LLM
“Which tracing sessions exist in my project?”
“Can I filter sessions by name or metadata?”
Tell an agent
List all tracing sessions.
Find sessions named {name}.
POST /api/v1/sessions Create a tracing session · Create Tracer Session #
Ask an LLM
“How do I create a new tracing session?”
“Can I upsert a session by ID instead of creating a new one?”
Tell an agent
Create a tracing session named {name}.
Create session {name} with ID {id} and upsert set to {upsert}.
DELETE /api/v1/sessions Delete several tracing sessions · Delete Tracer Sessions #
Ask an LLM
“Can I delete multiple tracing sessions at once?”
“How do I bulk remove sessions by ID?”
Tell an agent destructive · confirm first
Delete tracing sessions {session_ids}.
Bulk remove sessions {session_ids}.
GET /api/v1/sessions/{session_id}/metadata Get top metadata values for a session · Read Tracer Sessions Runs Metadata #
Ask an LLM
“What are the most common values for metadata keys in a session?”
“Can I limit how many top metadata values come back?”
Tell an agent
Get the top {k} values for metadata keys {metadata_keys} in session {session_id}.
Show root-run metadata for session {session_id} from {start_time}.
GET /api/v1/sessions/{session_id}/views List filter views for a session · Read Filter Views #
Ask an LLM
“What filter views are saved on a tracing session?”
“Can I list only the trace views of a session?”
Tell an agent
List the filter views on session {session_id}.
Show {type} filter views for session {session_id}.
POST /api/v1/sessions/{session_id}/views Create a filter view · Create Filter View #
Ask an LLM
“How do I save a filter view on a tracing session?”
“Can I create a view that only shows runs matching a filter string?”
Tell an agent
Create a filter view named {display_name} on session {session_id}.
Save view {display_name} on session {session_id} filtered by {filter_string}.
GET /api/v1/sessions/{session_id}/views/{view_id} Get a filter view · Read Filter View #
Ask an LLM
“How do I read one saved filter view?”
“What filter does a specific view apply?”
Tell an agent
Get filter view {view_id} on session {session_id}.
Show the filter of view {view_id} in session {session_id}.
PATCH /api/v1/sessions/{session_id}/views/{view_id} Update a filter view · Update Filter View #
Ask an LLM
“Can I change the filter string of an existing view?”
“Is it possible to rename a filter view?”
Tell an agent
Update filter view {view_id} on session {session_id} with filter {filter_string}.
Rename view {view_id} in session {session_id} to {display_name}.
DELETE /api/v1/sessions/{session_id}/views/{view_id} Delete a filter view · Delete Filter View #
Ask an LLM
“How do I delete a saved filter view?”
“Can I remove a view from a tracing session?”
Tell an agent destructive · confirm first
Delete filter view {view_id} from session {session_id}.
Remove view {view_id} on session {session_id}.
PATCH /api/v1/sessions/{session_id}/views/{view_id}/rename Rename a filter view · Rename Filter View #
Ask an LLM
“Can I rename a filter view without changing its filter?”
“What's the way to just change a view's display name?”
Tell an agent
Rename filter view {view_id} in session {session_id} to {display_name}.
Change the display name of view {view_id} on session {session_id} to {display_name}.
GET /api/v1/sessions/{session_id}/insights List insights jobs for a session · [Beta] Get Insights Jobs #
Ask an LLM
“What insights jobs have been run on a tracing session?”
“Can I see the clusters generated for a session?”
Tell an agent
List insights jobs for session {session_id}.
Show the first {limit} clusters for session {session_id}.
POST /api/v1/sessions/{session_id}/insights Create an insights job · [Beta] Create Insights Job #
Ask an LLM
“How do I run clustering and summarization on a tracing session?”
“Can I schedule an insights job to run automatically?”
Tell an agent
Create an insights job on session {session_id}.
Run an insights job on session {session_id} with config {config_id} and filter {filter}.
GET /api/v1/sessions/{session_id}/insights/configs List insights job configs for a session · [Beta] Get Insights Job Configs #
Ask an LLM
“Which insights job configs are saved on a tracing session?”
“Can I include the prebuilt configs when listing session configs?”
Tell an agent
List insights job configs for session {session_id}.
Show session {session_id} configs including prebuilts: {include_prebuilts}.
POST /api/v1/sessions/{session_id}/insights/configs Save an insights job config · [Beta] Create Insights Job Config #
Ask an LLM
“How do I save a clustering job config for a session?”
“Can I schedule an insights job config with a cron?”
Tell an agent
Save an insights job config named {name} on session {session_id}.
Create config {name} on session {session_id} with schedule {schedule_cron}.
POST /api/v1/sessions/{session_id}/insights/configs/generate Auto-generate an insights job config · [Beta] Auto-Generate Insights Job Config #
Ask an LLM
“Can the system auto-generate an insights job config from a user prompt?”
“Is there a way to generate a clustering config with a custom prompt?”
Tell an agent
Auto-generate an insights job config for session {session_id} from {user_context}.
Generate a clustering config for session {session_id} using prompt {user_context} and model {model}.
PATCH /api/v1/sessions/{session_id}/insights/configs/{config_id} Update an insights job config · [Beta] Update Insights Job Config #
Ask an LLM
“Can I change the schedule of an insights job config?”
“Is it possible to rename an insights job config?”
Tell an agent
Update insights job config {config_id} on session {session_id}.
Set the schedule of insights job config {config_id} in session {session_id} to {schedule_cron}.
DELETE /api/v1/sessions/{session_id}/insights/configs/{config_id} Delete an insights job config · [Beta] Delete Insights Job Config #
Ask an LLM
“How do I delete a saved insights job config?”
“Can I remove an insights config from a session?”
Tell an agent destructive · confirm first
Delete insights job config {config_id} from session {session_id}.
Remove config {config_id} on session {session_id}.
GET /api/v1/sessions/{session_id}/insights/{job_id} Get a session insights job · [Beta] Get Insights Job #
Ask an LLM
“What is the status of an insights job for a session?”
“Can I look up one cluster job by its ID?”
Tell an agent
Get insights job {job_id} for session {session_id}.
Show the status of cluster job {job_id} in session {session_id}.
PATCH /api/v1/sessions/{session_id}/insights/{job_id} Update a session insights job · [Beta] Update Insights Job #
Ask an LLM
“Can I rename an insights job?”
“How do I update a session cluster job?”
Tell an agent
Rename insights job {job_id} in session {session_id} to {name}.
Update session cluster job {job_id} in session {session_id} with name {name}.
DELETE /api/v1/sessions/{session_id}/insights/{job_id} Delete a session insights job · [Beta] Delete Insights Job #
Ask an LLM
“Can I delete a cluster job from a session?”
“What happens to runs when an insights job is removed?”
Tell an agent destructive · confirm first
Delete insights job {job_id} from session {session_id}.
Remove cluster job {job_id} in session {session_id}.
GET /api/v1/sessions/{session_id}/insights/{job_id}/clusters/{cluster_id} Get a run cluster from an insights job · [Beta] Get Run Cluster From Insights Job #
Ask an LLM
“Can I fetch one cluster of runs from an insights job?”
“What does a specific run cluster contain?”
Tell an agent
Get run cluster {cluster_id} from insights job {job_id} in session {session_id}.
Show the runs in cluster {cluster_id} of job {job_id} for session {session_id}.
GET /api/v1/sessions/{session_id}/insights/{job_id}/runs List runs from an insights job · [Beta] Get Runs From Insights Job #
Ask an LLM
“Which runs belong to a cluster job?”
“Can I sort the runs from an insights job?”
Tell an agent
List runs for insights job {job_id} in session {session_id}.
Show runs from cluster {cluster_id} of job {job_id} in session {session_id}.

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

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

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

langsmith-tracer-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith Tracer Sessions API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid LangSmith API key.'
  version: 0.1.0
servers:
- url: /
tags:


# --- truncated at 32 KB (74 KB total) ---
# Full source: https://artifacts.apis.io/langsmith/openapi/langsmith-tracer-sessions-api-openapi.yml