How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

LangSmith Runs API

The runs API from LangSmith — 7 operation(s) for runs.

LangSmith Runs API is one of 73 APIs that LangSmith publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Runs. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, and an API reference.

This API exposes 7 operations across 7 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 0.1.0.

Requests are made against a single base URL, /.

7 operations 7 paths 19 schemas 2 GET1 PATCH4 POST

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
0.1.0
Base URL
https://api.smith.langchain.com
Authentication
API Key, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

LangSmith Runs API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-API-Key (API_Key). An API key is passed in the header as X-Tenant-Id (Tenant_ID). It accepts HTTP bearer tokens (Bearer_Auth). An API key is passed in the header as X-Organization-Id (Organization_ID).

  • Bearer_Auth — Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).

Paths & Operations 7

Across 7 paths, the API surfaces 7 operations — 2 GET, 1 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Runs 7
POST
/runs
Create a Run
postRuns body → 202400403409422429
POST
/runs/batch
Ingest Runs (Batch JSON)
postRunsBatch body → 202400403409422429
POST
/runs/multipart
Ingest Runs (Multipart)
postRunsMultipart body → 202400403409422429
PATCH
/runs/{run_id}
Update a Run
patchRunsByRunId 1 param body → 202400403404409422429
POST
/v2/runs/query
Query runs
postV2RunsQuery 2 params body → 200400401403404422500503
GET
/v2/runs/{run_id}
Get a single run
getV2RunsByRunId 5 params → 200400401403404422500503
GET
/v2/traces/{trace_id}/runs
List runs in a trace
getV2TracesByTraceIdRuns 7 params → 200400401403404422500503

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are query.RunResponse (44 properties), runs.Run (21 properties), query.QueryRunsRequestBody (17 properties), query.RunFeedbackStat (10 properties). Each schema is shown below with its type and property counts.

query.RunPromptTokenDetails
object
1 property
query.RunAttachmentURLs
object
query.RunCompletionCostDetails
object
1 property
runs.Run
object
21 properties
query.RunFeedbackStats
object
query.RunStatus
string
shared.ProblemDetails
object
RFC 7807 problem details returned on V2 API errors.
6 properties
runs.ErrorResponse
object
2 properties
query.RunFeedbackStat
object
10 properties
query.RunEvent
object
3 properties
query.RunSelectField
string
query.QueryRunsResponseBody
object
3 properties
query.QueryRunsRequestBody
object
17 properties
query.RunType
string
query.RunPromptCostDetails
object
1 property
query.RunCompletionTokenDetails
object
1 property
query.RunResponse
object
44 properties
query.SortOrder
string
query.QueryTraceResponseBody
object
1 property

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langsmith-runs-api-openapi.yml Raw ↑

Other APIs LangSmith publishes across the network.

LangSmith Access Policies API
LangSmith Ace API
LangSmith Agents API
LangSmith Alert Rules API
LangSmith Annotation Queues API
LangSmith API Key API
LangSmith Audit Logs API
LangSmith Auth API
LangSmith Aws Marketplace API
LangSmith Backfills API
LangSmith Beacon API
LangSmith Bulk Exports API
Where this information came from

This is an independent, third-party profile of LangSmith Runs API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.