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.2.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.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 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), OCSFEndpoint (3 properties). Each schema is shown below with its type and property counts.

OCSFHttpRequest
object
OCSF HTTP request object.
2 properties 2 required
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
OCSFProduct
object
OCSF product object.
2 properties 2 required
OCSFMetadata
object
OCSF event metadata.
2 properties 2 required
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
OCSFCategoryUid
integer
OCSF category UIDs.
OCSFActor
object
OCSF actor object.
1 property 1 required
OCSFUnmapped
object
OCSF unmapped attribute for source-specific data. Reference: https://schema.ocsf.io/1.7.0/classes/baseevent
1 property 1 required
OCSFCategoryName
string
OCSF category names.
AuditLogOperation
string
Operations that are logged in auditlogs database table.
AuditLogEnrichments
object
Non-indexed request metadata stored in the enrichments JSONB column.
7 properties
OCSFApi
object
OCSF API details object.
1 property 1 required
HTTPValidationError
object
1 property
OCSFResourceDetails
object
OCSF resource details object.
1 property 1 required
OCSFHttpResponse
object
OCSF HTTP response object.
1 property 1 required
OCSFClassUid
integer
OCSF class UIDs.
OCSFActivityId
integer
Activity types for API Activity class.
OCSFEndpoint
object
OCSF network endpoint object.
3 properties 3 required
OCSFUrl
object
OCSF URL object.
1 property 1 required
OCSFTypeUid
integer
OCSF type UIDs for API Activity (classuid 100 + activityid).
ListAuditLogsOCSFResponse
object
Response model for listing audit logs in OCSF format with pagination.
2 properties 2 required
OCSFStatusId
integer
Status values for OCSF events.
ValidationError
object
3 properties 3 required
OCSFSeverityId
integer
Severity levels for OCSF events.
OCSFClassName
string
OCSF class names.

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.