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 audit-logs API

The audit-logs API from LangSmith — 1 operation(s) for audit-logs.

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

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

This API exposes 1 operation across 1 path, and defines 26 schemas. It is described by OpenAPI 3.1.0, at version 0.1.0.

Requests are made against a single base URL, /.

1 operations 1 paths 26 schemas 1 GET

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 audit-logs 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 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

audit-logs 1
GET
/api/v1/audit-logs
Get Audit Logs
get_audit_logs_api_v1_audit_logs_get 6 params → 200422

Schemas 26

The contract defines 26 schemas that model the data the API accepts and returns. The most detailed are OCSFApiActivity (19 properties), AuditLogMessage (10 properties), AuditLogEnrichments (7 properties), ValidationError (3 properties). Each schema is shown below with its type and property counts.

OCSFUnmapped
object
OCSF unmapped attribute for source-specific data. Reference: https://schema.ocsf.io/1.7.0/classes/baseevent
1 property 1 required
OCSFMetadata
object
OCSF event metadata.
2 properties 2 required
OCSFProduct
object
OCSF product object.
2 properties 2 required
ValidationError
object
3 properties 3 required
OCSFStatusId
integer
Status values for OCSF events.
OCSFEndpoint
object
OCSF network endpoint object.
3 properties 3 required
OCSFUrl
object
OCSF URL object.
1 property 1 required
OCSFSeverityId
integer
Severity levels for OCSF events.
OCSFHttpResponse
object
OCSF HTTP response object.
1 property 1 required
OCSFHttpRequest
object
OCSF HTTP request object.
2 properties 2 required
AuditLogOperation
string
Operations that are logged in auditlogs database table.
HTTPValidationError
object
1 property
OCSFResourceDetails
object
OCSF resource details object.
1 property 1 required
OCSFApi
object
OCSF API details object.
1 property 1 required
OCSFActivityId
integer
Activity types for API Activity class.
OCSFApiActivity
object
OCSF API Activity event (Class UID: 6003). This represents an API call event in the OCSF format. Reference: https://schema.ocsf.io/1.7.0/classes/apiactivity Re…
19 properties 19 required
OCSFTypeUid
integer
OCSF type UIDs for API Activity (classuid 100 + activityid).
OCSFCategoryName
string
OCSF category names.
AuditLogEnrichments
object
Non-indexed request metadata stored in the enrichments JSONB column.
7 properties
OCSFClassUid
integer
OCSF class UIDs.
OCSFCategoryUid
integer
OCSF category UIDs.
OCSFClassName
string
OCSF class names.
AuditLogMessage
object
Represents an audit log message. Indexed columns are individual DB columns. All other fields (requestmethod, requestpath, clienthost, etc.) live in the enrichm…
10 properties 10 required
OCSFUser
object
OCSF user object within actor.
2 properties 2 required
OCSFActor
object
OCSF actor object.
1 property 1 required
ListAuditLogsOCSFResponse
object
Response model for listing audit logs in OCSF format with pagination.
2 properties 2 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

langsmith-audit-logs-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 auth API
LangSmith aws_marketplace API
LangSmith backfills API
LangSmith beacon API
LangSmith bulk-exports API
LangSmith charts API
Where this information came from

This is an independent, third-party profile of LangSmith audit-logs 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.