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.1.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.1.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
body → 202400403409422429
POST
/runs/batch
Ingest Runs (Batch JSON)
body → 202400403409422429
POST
/runs/multipart
Ingest Runs (Multipart)
body → 202400403409422429
PATCH
/runs/{run_id}
Update a Run
1 param body → 202400403404409422429
POST
/v2/runs/query
Query runs
2 params body → 200400401403404422500503
GET
/v2/runs/{run_id}
Get a single run
5 params → 200400401403404422500503
GET
/v2/traces/{trace_id}/runs
List runs in a trace
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.QueryRunsResponseBody
object
3 properties
query.RunEvent
object
3 properties
query.QueryTraceResponseBody
object
1 property
query.RunAttachmentURLs
object
query.RunSelectField
string
query.RunType
string
query.RunFeedbackStat
object
10 properties
runs.ErrorResponse
object
2 properties
query.SortOrder
string
query.RunFeedbackStats
object
query.RunCompletionTokenDetails
object
1 property
query.QueryRunsRequestBody
object
17 properties
shared.ProblemDetails
object
RFC 7807 problem details returned on V2 API errors.
6 properties
runs.Run
object
21 properties
query.RunCompletionCostDetails
object
1 property
query.RunPromptCostDetails
object
1 property
query.RunStatus
string
query.RunResponse
object
44 properties
query.RunPromptTokenDetails
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.