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 examples API

The examples API from LangSmith — 9 operation(s) for examples.

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

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

This API exposes 15 operations across 9 paths, and defines 15 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, /.

15 operations 9 paths 15 schemas 2 DELETE3 GET3 PATCH7 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 examples 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 15

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

examples 15
GET
/api/v1/examples/count
Count Examples
count_examples_api_v1_examples_count_get 7 params → 200422
GET
/api/v1/examples/{example_id}
Read Example
read_example_api_v1_examples__example_id__get 3 params → 200422
PATCH
/api/v1/examples/{example_id}
Update Example
update_example_api_v1_examples__example_id__patch 1 param body → 200422
DELETE
/api/v1/examples/{example_id}
Delete Example
delete_example_api_v1_examples__example_id__delete 1 param → 200422
GET
/api/v1/examples
Read Examples
read_examples_api_v1_examples_get 13 params → 200422
POST
/api/v1/examples
Create Example
create_example_api_v1_examples_post body → 200
DELETE
/api/v1/examples
Delete Examples
delete_examples_api_v1_examples_delete 1 param → 200422
POST
/api/v1/examples/bulk
Create Examples
create_examples_api_v1_examples_bulk_post body → 200
PATCH
/api/v1/examples/bulk
Legacy Update Examples
legacy_update_examples_api_v1_examples_bulk_patch body → 200422
POST
/api/v1/examples/upload/{dataset_id}
Upload Examples From Csv
upload_examples_from_csv_api_v1_examples_upload__dataset_id__post 1 param body → 200422
POST
/api/v1/examples/validate
Validate Example
validate_example_api_v1_examples_validate_post → 200
POST
/api/v1/examples/validate/bulk
Validate Examples
validate_examples_api_v1_examples_validate_bulk_post → 200
POST
/v1/platform/datasets/examples/delete
Hard Delete Examples
body → 200400403404422
POST
/v1/platform/datasets/{dataset_id}/examples
Upload Examples
1 param body → 201400403409422
PATCH
/v1/platform/datasets/{dataset_id}/examples
Update Examples
1 param body → 201400403404409422

Schemas 15

The contract defines 15 schemas that model the data the API accepts and returns. The most detailed are Example (10 properties), ExampleValidationResult (10 properties), ExampleUpdateWithID (8 properties), ExampleUpdate (7 properties). Each schema is shown below with its type and property counts.

examples.ExamplesCreatedResponse
object
3 properties
examples.ErrorResponse
object
2 properties
HTTPValidationError
object
1 property
Example
object
Example schema.
10 properties 4 required
ExampleSelect
string
examples.ExamplesUpdatedResponse
object
3 properties
ExampleUpdateWithID
object
Bulk update class for Example (includes example id).
8 properties 1 required
ExampleListOrder
string
Body_upload_examples_from_csv_api_v1_examples_upload__dataset_id__post
object
4 properties 2 required
examples.DeleteExamplesRequest
object
2 properties 2 required
ValidationError
object
3 properties 3 required
examples.ExamplesDeletedResponse
object
2 properties
ExampleValidationResult
object
Validation result for Example, combining fields from Create/Base/Update schemas.
10 properties
ExampleUpdate
object
Update class for Example.
7 properties
AttachmentsOperations
object
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langsmith-examples-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 examples 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.