LangSmith · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for LangSmith Run API
25 actions
25 updates
phrasing
extends
openapi/langsmith-run-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for LangSmith's API. It is a proposal applied on top of the contract, not a document LangSmith publishes.
What the actions change
x-apievangelist-phrasing
Targets 25 · first 16 shown; the file carries all of them
$.info
$.paths['/api/v1/runs/rules'].get
$.paths['/api/v1/runs/rules'].post
$.paths['/api/v1/runs/rules/validate'].post
$.paths['/api/v1/runs/rules/{rule_id}'].delete
$.paths['/api/v1/runs/rules/{rule_id}'].patch
$.paths['/api/v1/runs/threads/{thread_id}'].get
$.paths['/api/v1/runs/rules/{rule_id}/logs'].get
$.paths['/api/v1/runs/rules/{rule_id}/logs/v2'].get
$.paths['/api/v1/runs/rules/{rule_id}/last_applied'].get
$.paths['/api/v1/runs/rules/{rule_id}/trigger'].post
$.paths['/api/v1/runs/rules/trigger'].post
$.paths['/api/v1/runs/{run_id}'].get
$.paths['/api/v1/runs/{run_id}'].patch
$.paths['/api/v1/runs/{run_id}/share'].get
$.paths['/api/v1/runs/{run_id}/share'].put
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for LangSmith Run API
version: 1.0.0
extends: openapi/langsmith-run-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-22'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 24
- target: $.paths['/api/v1/runs/rules'].get
update:
x-apievangelist-phrasing:
intent: List run rules
effect: read
questions:
- Which rules are set up to score my model runs?
- Can I list run rules for one dataset or session?
instructions:
- text: List all run rules.
- text: List run rules for dataset {dataset_id}.
slots:
dataset_id: query.dataset_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules'].post
update:
x-apievangelist-phrasing:
intent: Create a run rule
effect: write
questions:
- How do I create a rule that scores every run in a dataset?
- Can I cap how many runs a rule evaluates with a sampling rate?
instructions:
- text: Create a run rule named {display_name} sampling {sampling_rate}.
slots:
display_name: requestBody.display_name
sampling_rate: requestBody.sampling_rate
- text: Create rule {display_name} for dataset {dataset_id} sampling {sampling_rate}.
slots:
display_name: requestBody.display_name
dataset_id: requestBody.dataset_id
sampling_rate: requestBody.sampling_rate
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/validate'].post
update:
x-apievangelist-phrasing:
intent: Test a run rule on sample data
effect: read
questions:
- Can I test a rule on sample inputs before saving it?
- What does a rule return when I validate it with test outputs?
instructions:
- text: Validate rule {display_name} sampling {sampling_rate} on test inputs {test_inputs}.
slots:
display_name: requestBody.display_name
sampling_rate: requestBody.sampling_rate
test_inputs: requestBody.test_inputs
- text: Test rule {display_name} with sampling {sampling_rate} and reference outputs {test_reference_outputs}.
slots:
display_name: requestBody.display_name
sampling_rate: requestBody.sampling_rate
test_reference_outputs: requestBody.test_reference_outputs
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/{rule_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a run rule
effect: destructive
questions:
- How do I delete a run rule?
- Can I remove a run rule by ID?
instructions:
- text: Delete run rule {rule}.
slots:
rule: path.rule_id
- text: Remove the run rule {rule} from my project.
slots:
rule: path.rule_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/{rule_id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a run rule
effect: write
questions:
- How do I change the sampling rate of an existing run rule?
- Can I rename a rule I already created?
instructions:
- text: Update run rule {rule_id} to sampling {sampling_rate}.
slots:
rule_id: path.rule_id
sampling_rate: requestBody.sampling_rate
- text: Rename existing rule {rule_id} to {display_name}.
slots:
rule_id: path.rule_id
display_name: requestBody.display_name
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/threads/{thread_id}'].get
update:
x-apievangelist-phrasing:
intent: Preview a thread
effect: read
questions:
- Can I see a preview of a thread's runs before loading them?
- What does a thread look like when I pass session variables?
instructions:
- text: Preview thread {thread_id} in session {session_id}.
slots:
thread_id: path.thread_id
session_id: query.session_id
- text: Show a preview of thread {thread_id} with variables {variables}.
slots:
thread_id: path.thread_id
variables: query.variables
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/{rule_id}/logs'].get
update:
x-apievangelist-phrasing:
intent: List run rule logs (v1)
effect: read
questions:
- Where can I see the v1 logs for a run rule?
- Can I fetch run rule logs for a time range?
instructions:
- text: List v1 logs for run rule {rule_id}.
slots:
rule_id: path.rule_id
- text: Show v1 logs of rule {rule_id} between {start_time} and {end_time}.
slots:
rule_id: path.rule_id
start_time: query.start_time
end_time: query.end_time
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/{rule_id}/logs/v2'].get
update:
x-apievangelist-phrasing:
intent: List run rule logs (v2)
effect: read
questions:
- Which v2 endpoint returns run rule logs with cursor pagination?
- Can I page through a rule's logs with a cursor?
instructions:
- text: List v2 logs for run rule {rule_id}.
slots:
rule_id: path.rule_id
- text: Fetch v2 logs of rule {rule_id} using cursor {cursor}.
slots:
rule_id: path.rule_id
cursor: query.cursor
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/{rule_id}/last_applied'].get
update:
x-apievangelist-phrasing:
intent: Get the last applied run rule
effect: read
questions:
- When did a run rule last apply to my dataset?
- Can I check the last applied state of a rule?
instructions:
- text: Get the last applied state of run rule {rule_id}.
slots:
rule_id: path.rule_id
- text: Show when rule {rule_id} last scored a run.
slots:
rule_id: path.rule_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/{rule_id}/trigger'].post
update:
x-apievangelist-phrasing:
intent: Trigger a run rule manually
effect: write
questions:
- How do I fire a run rule on demand?
- Can I run a run rule manually?
instructions:
- text: Trigger run rule {rule} now.
slots:
rule: path.rule_id
- text: Fire rule {rule} manually.
slots:
rule: path.rule_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/rules/trigger'].post
update:
x-apievangelist-phrasing:
intent: Trigger several run rules at once
effect: write
questions:
- Can I trigger multiple scoring rules in one request?
- How do I kick off a batch of run rules for a dataset?
instructions:
- text: Trigger run rules {rule_ids} together.
slots:
rule_ids: requestBody.rule_ids
- text: Run rules {rule_ids} on dataset {dataset_id}.
slots:
rule_ids: requestBody.rule_ids
dataset_id: requestBody.dataset_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/{run_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a run
effect: read
questions:
- How do I fetch one run's details by its ID?
- Can I read a single run without loading its messages?
instructions:
- text: Get run {run_id}.
slots:
run_id: path.run_id
- text: Fetch run {run_id} excluding serialized attributes.
slots:
run_id: path.run_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/{run_id}'].patch
update:
x-apievangelist-phrasing:
intent: Update a run
effect: write
questions:
- How do I edit the metadata of a run after it's created?
- Can I update a run's tags or metadata?
instructions:
- text: Update run {run_id}.
slots:
run_id: path.run_id
- text: Edit the metadata of run {run_id}.
slots:
run_id: path.run_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/{run_id}/share'].get
update:
x-apievangelist-phrasing:
intent: Check a run's sharing state
effect: read
questions:
- Is a particular run shared with my team?
- What is the current sharing state of a run?
instructions:
- text: Check the sharing state of run {run_id}.
slots:
run_id: path.run_id
- text: Tell me whether run {run_id} is shared.
slots:
run_id: path.run_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/{run_id}/share'].put
update:
x-apievangelist-phrasing:
intent: Share a run
effect: write
questions:
- How do I share a run with my team?
- Can I make a run public to my organization?
instructions:
- text: Share run {run_id}.
slots:
run_id: path.run_id
- text: Make run {run_id} public to my organization.
slots:
run_id: path.run_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/{run_id}/share'].delete
update:
x-apievangelist-phrasing:
intent: Unshare a run
effect: destructive
questions:
- How do I stop sharing a run with my team?
- Can I revoke a run's public access?
instructions:
- text: Unshare run {run_id}.
slots:
run_id: path.run_id
- text: Revoke public access to run {run_id}.
slots:
run_id: path.run_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/query/validate'].post
update:
x-apievangelist-phrasing:
intent: Validate a runs query
effect: read
questions:
- Can I check a runs query for syntax errors before running it?
- What does a broken runs query look like?
instructions:
- text: Validate the runs query {query}.
slots:
query: requestBody.query
- text: Check that runs query {query} is valid.
slots:
query: requestBody.query
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/query'].post
update:
x-apievangelist-phrasing:
intent: Query runs
effect: read
questions:
- How do I find all the runs that failed in a time range?
- Can I search runs by trace, parent run or error?
- Which runs match a trace filter?
instructions:
- text: Query runs matching {filter}.
slots:
filter: requestBody.filter
- text: Find runs with trace {trace} and error {error}.
slots:
trace: requestBody.trace
error: requestBody.error
- text: Search runs by trace filter {trace_filter}.
slots:
trace_filter: requestBody.trace_filter
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/generate-query'].post
update:
x-apievangelist-phrasing:
intent: Generate a runs query from natural language
effect: read
questions:
- Can I turn a plain-English description into a runs query?
- What runs match the description I typed?
instructions:
- text: Generate a runs query for {query}.
slots:
query: requestBody.query
- text: Turn the description {query} into a runs filter.
slots:
query: requestBody.query
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/stats'].post
update:
x-apievangelist-phrasing:
intent: Get stats for runs
effect: read
questions:
- How do I get summary statistics for runs matching a filter?
- Can I group runs by a field and get counts?
instructions:
- text: Get stats for runs matching {filter}.
slots:
filter: requestBody.filter
- text: Count runs grouped by {group_by}.
slots:
group_by: requestBody.group_by
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/group'].post
update:
x-apievangelist-phrasing:
intent: Group runs by an expression
effect: read
questions:
- How do I group runs in a session by a field like model or status?
- Can I group runs and limit the number returned?
instructions:
- text: Group runs in session {session_id} by {group_by}.
slots:
session_id: requestBody.session_id
group_by: requestBody.group_by
- text: Group runs in session {session_id} by {group_by} matching {filter}.
slots:
session_id: requestBody.session_id
group_by: requestBody.group_by
filter: requestBody.filter
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/group/stats'].post
update:
x-apievangelist-phrasing:
intent: Get stats for grouped runs
effect: read
questions:
- Can I get summary stats for runs grouped by a field?
- What stats are available for grouped runs?
instructions:
- text: Get stats for runs in session {session_id} grouped by {group_by}.
slots:
session_id: requestBody.session_id
group_by: requestBody.group_by
- text: Summarize runs in session {session_id} grouped by {group_by} between {start_time} and {end_time}.
slots:
session_id: requestBody.session_id
group_by: requestBody.group_by
start_time: requestBody.start_time
end_time: requestBody.end_time
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/delete/traces'].post
update:
x-apievangelist-phrasing:
intent: Delete runs by trace IDs (ABAC)
effect: destructive
questions:
- Can I delete specific runs by trace ID using attribute-based access control?
- Is there an ABAC endpoint for deleting runs?
instructions:
- text: Delete runs {trace_ids} in session {session_id} using ABAC.
slots:
trace_ids: requestBody.trace_ids
session_id: requestBody.session_id
- text: Remove runs {trace_ids} from session {session_id} via the ABAC delete.
slots:
trace_ids: requestBody.trace_ids
session_id: requestBody.session_id
method: generated
generated: '2026-11-22'
- target: $.paths['/api/v1/runs/delete'].post
update:
x-apievangelist-phrasing:
intent: Delete runs by trace IDs
effect: destructive
questions:
- How do I delete specific runs by trace ID?
- Can I remove runs from a session by trace ID?
instructions:
- text: Delete runs {trace_ids} in session {session_id}.
slots:
trace_ids: requestBody.trace_ids
session_id: requestBody.session_id
- text: Remove runs {trace_ids} from session {session_id} using the standard delete.
slots:
trace_ids: requestBody.trace_ids
session_id: requestBody.session_id
method: generated
generated: '2026-11-22'
Work with this as data
Every overlay 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 openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/langsmith-run-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?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.