LangSmith website screenshot

LangSmith

LangSmith is the observability, debugging, and evaluation platform for LLM applications, built by LangChain. The LangSmith API exposes tracing, dataset management, evaluation, prompt-hub, and Fleet agent functionality for AI engineering teams.

7 APIs 0 Features
AILLMObservabilityEvaluationsLangChain

APIs

LangSmith Tracing API

Capture, ingest, and inspect traces for LLM, agent, and chain executions. Traces include nested runs (spans), latency, token counts, errors, inputs/outputs, and metadata. Tracin...

LangSmith Datasets API

Manage datasets and example records used as ground-truth or test inputs for evaluating LLM applications. Supports CRUD on datasets, examples, and dataset splits.

LangSmith Evaluations API

Run offline and online evaluations against datasets, attach feedback and scores to runs, and compare experiments. Supports LLM-as-judge, code-based, and human evaluators.

LangSmith Prompt Hub API

Versioned prompt repository (Prompt Hub) for storing, retrieving, and collaborating on LLM prompts. Supports tagged versions, public/private prompts, and pull/push from SDKs.

LangSmith Feedback API

Attach human or programmatic feedback (scores, comments, correction labels) to runs and trace nodes for evaluation, monitoring, and reinforcement signal collection.

LangSmith Annotation Queues API

Route runs to human reviewers via annotation queues. Reviewers grade outputs, attach corrections, and feed labels back into datasets for evaluation and fine-tuning.

LangSmith Fleet (Agent Deployment) API

Deploy and manage LangGraph agents in production via Fleet. Provides agent invocation, run management, scheduled jobs, and uptime billing for hosted agent deployments.

Collections

LangSmith

OPEN

Pricing Plans

Langsmith Plans Pricing

3 plans

PLANS

Rate Limits

Langsmith Rate Limits

5 limits

RATE LIMITS

FinOps

Resources

🔗
Website
Website
🔗
Documentation
Documentation
💰
Pricing
Pricing
🔗
Plans
Plans
🔗
RateLimits
RateLimits
🔗
FinOps
FinOps

Sources

Raw ↑
opencollection: 1.0.0
info:
  name: LangSmith
  version: 0.1.0
items:
- info:
    name: info
    type: folder
  items:
  - info:
      name: Get Server Info
      type: http
    http:
      method: GET
      url: /api/v1/info
    docs: Get information about the current deployment of LangSmith.
  - info:
      name: Get Health Info
      type: http
    http:
      method: GET
      url: /api/v1/info/health
    docs: Get health information about the current deployment of LangSmith.
- info:
    name: metrics
    type: folder
  items:
  - info:
      name: Get Queue Metrics
      type: http
    http:
      method: GET
      url: /api/v1/metrics/queue/:queue_name
      params:
      - name: queue_name
        value: ''
        type: path
    docs: Return cached SAQ queue counts for the requested queue.
- info:
    name: tracer-sessions
    type: folder
  items:
  - info:
      name: Get Tracing Project Prebuilt Dashboard
      type: http
    http:
      method: POST
      url: /api/v1/sessions/:session_id/dashboard
      headers:
      - name: accept
        value: ''
      params:
      - name: session_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get a prebuilt dashboard for a tracing project.
  - info:
      name: Read Tracer Session
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id
      headers:
      - name: accept
        value: ''
      params:
      - name: session_id
        value: ''
        type: path
      - name: include_stats
        value: ''
        type: query
      - name: stats_start_time
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get a specific session.
  - info:
      name: Update Tracer Session
      type: http
    http:
      method: PATCH
      url: /api/v1/sessions/:session_id
      params:
      - name: session_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update a session.
  - info:
      name: Delete Tracer Session
      type: http
    http:
      method: DELETE
      url: /api/v1/sessions/:session_id
      params:
      - name: session_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete a specific session.
  - info:
      name: Read Tracer Sessions
      type: http
    http:
      method: GET
      url: /api/v1/sessions
      headers:
      - name: accept
        value: ''
      params:
      - name: reference_free
        value: ''
        type: query
      - name: reference_dataset
        value: ''
        type: query
      - name: id
        value: ''
        type: query
      - name: name
        value: ''
        type: query
      - name: name_contains
        value: ''
        type: query
      - name: dataset_version
        value: ''
        type: query
      - name: sort_by
        value: ''
        type: query
      - name: sort_by_desc
        value: ''
        type: query
      - name: metadata
        value: ''
        type: query
      - name: sort_by_feedback_key
        value: ''
        type: query
      - name: offset
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
      - name: tag_value_id
        value: ''
        type: query
      - name: facets
        value: ''
        type: query
      - name: filter
        value: ''
        type: query
      - name: include_stats
        value: ''
        type: query
      - name: use_approx_stats
        value: ''
        type: query
      - name: stats_start_time
        value: ''
        type: query
      - name: stats_select
        value: ''
        type: query
      - name: stats_filter
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get all sessions.
  - info:
      name: Create Tracer Session
      type: http
    http:
      method: POST
      url: /api/v1/sessions
      params:
      - name: upsert
        value: ''
        type: query
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create a new session.
  - info:
      name: Delete Tracer Sessions
      type: http
    http:
      method: DELETE
      url: /api/v1/sessions
      params:
      - name: session_ids
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete sessions.
  - info:
      name: Read Tracer Sessions Runs Metadata
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/metadata
      params:
      - name: session_id
        value: ''
        type: path
      - name: metadata_keys
        value: ''
        type: query
      - name: start_time
        value: ''
        type: query
      - name: k
        value: ''
        type: query
      - name: root_runs_only
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Given a session, a number K, and (optionally) a list of metadata keys, return the top K values for each key.
  - info:
      name: Read Filter Views
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/views
      params:
      - name: session_id
        value: ''
        type: path
      - name: type
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get all filter views for a session.
  - info:
      name: Create Filter View
      type: http
    http:
      method: POST
      url: /api/v1/sessions/:session_id/views
      params:
      - name: session_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create a new filter view.
  - info:
      name: Read Filter View
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/views/:view_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: view_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get a specific filter view.
  - info:
      name: Update Filter View
      type: http
    http:
      method: PATCH
      url: /api/v1/sessions/:session_id/views/:view_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: view_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update a filter view.
  - info:
      name: Delete Filter View
      type: http
    http:
      method: DELETE
      url: /api/v1/sessions/:session_id/views/:view_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: view_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete a specific filter view.
  - info:
      name: Rename Filter View
      type: http
    http:
      method: PATCH
      url: /api/v1/sessions/:session_id/views/:view_id/rename
      params:
      - name: session_id
        value: ''
        type: path
      - name: view_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Rename a filter view (display_name and description only).
  - info:
      name: '[Beta] Get Insights Jobs'
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/insights
      params:
      - name: session_id
        value: ''
        type: path
      - name: limit
        value: ''
        type: query
      - name: offset
        value: ''
        type: query
      - name: config_id
        value: ''
        type: query
      - name: legacy
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get all clusters for a session.
  - info:
      name: '[Beta] Create Insights Job'
      type: http
    http:
      method: POST
      url: /api/v1/sessions/:session_id/insights
      params:
      - name: session_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create an insights job.
  - info:
      name: '[Beta] Get Insights Job Configs'
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/insights/configs
      params:
      - name: session_id
        value: ''
        type: path
      - name: include_prebuilts
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get all insights job configs for a session.
  - info:
      name: '[Beta] Create Insights Job Config'
      type: http
    http:
      method: POST
      url: /api/v1/sessions/:session_id/insights/configs
      params:
      - name: session_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Save an insights job config.
  - info:
      name: '[Beta] Auto-Generate Insights Job Config'
      type: http
    http:
      method: POST
      url: /api/v1/sessions/:session_id/insights/configs/generate
      params:
      - name: session_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Auto-generate an insights job config.
  - info:
      name: '[Beta] Update Insights Job Config'
      type: http
    http:
      method: PATCH
      url: /api/v1/sessions/:session_id/insights/configs/:config_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: config_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update an insights job config.
  - info:
      name: '[Beta] Delete Insights Job Config'
      type: http
    http:
      method: DELETE
      url: /api/v1/sessions/:session_id/insights/configs/:config_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: config_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete an insights job config.
  - info:
      name: '[Beta] Get Insights Job'
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/insights/:job_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: job_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get a specific cluster job for a session.
  - info:
      name: '[Beta] Update Insights Job'
      type: http
    http:
      method: PATCH
      url: /api/v1/sessions/:session_id/insights/:job_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: job_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update a session cluster job.
  - info:
      name: '[Beta] Delete Insights Job'
      type: http
    http:
      method: DELETE
      url: /api/v1/sessions/:session_id/insights/:job_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: job_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete a session cluster job.
  - info:
      name: '[Beta] Get Run Cluster From Insights Job'
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/insights/:job_id/clusters/:cluster_id
      params:
      - name: session_id
        value: ''
        type: path
      - name: job_id
        value: ''
        type: path
      - name: cluster_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get a specific cluster for a session.
  - info:
      name: '[Beta] Get Runs From Insights Job'
      type: http
    http:
      method: GET
      url: /api/v1/sessions/:session_id/insights/:job_id/runs
      params:
      - name: session_id
        value: ''
        type: path
      - name: job_id
        value: ''
        type: path
      - name: cluster_id
        value: ''
        type: query
      - name: limit
        value: ''
        type: query
      - name: offset
        value: ''
        type: query
      - name: attribute_sort_key
        value: ''
        type: query
      - name: attribute_sort_order
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get all runs for a cluster job, optionally filtered by cluster.
- info:
    name: workspaces
    type: folder
  items:
  - info:
      name: List Workspaces
      type: http
    http:
      method: GET
      url: /api/v1/workspaces
      params:
      - name: include_deleted
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get all workspaces visible to this auth in the current org. Does not create a new workspace/org.
  - info:
      name: Create Workspace
      type: http
    http:
      method: POST
      url: /api/v1/workspaces
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create a new workspace.
  - info:
      name: Patch Workspace
      type: http
    http:
      method: PATCH
      url: /api/v1/workspaces/:workspace_id
      params:
      - name: workspace_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update a workspace.
  - info:
      name: Delete Workspace
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/:workspace_id
      params:
      - name: workspace_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete Workspace
  - info:
      name: Get Current Workspace Stats
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/stats
      params:
      - name: tag_value_id
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Current Workspace Stats
  - info:
      name: Get Current Workspace Usage Limits Info
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/usage_limits
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Current Workspace Usage Limits Info
  - info:
      name: Get Shared Tokens
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/shared
      params:
      - name: limit
        value: ''
        type: query
      - name: offset
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List all shared entities and their tokens by the workspace.
  - info:
      name: Bulk Unshare Entities
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/current/shared
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Bulk unshare entities by share tokens for the workspace.
  - info:
      name: List Current Workspace Secrets
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/secrets
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Current Workspace Secrets
  - info:
      name: Upsert Current Workspace Secrets
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/secrets
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Upsert Current Workspace Secrets
  - info:
      name: Get Current Workspace Encrypted Secrets
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/secrets/encrypted
      params:
      - name: service
        value: ''
        type: query
        description: Service requesting encrypted secrets
      - name: key_names
        value: ''
        type: query
        description: Optional list of workspace secret keys to return
      - name: expand_iam_role
        value: ''
        type: query
        description: If true, expand AWS_IAM_ROLE_ARN into temporary credentials via STS
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get encrypted workspace secrets for use with Fleet and external services.
  - info:
      name: List Tag Keys
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/tag-keys
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Tag Keys
  - info:
      name: Create Tag Key
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/tag-keys
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create Tag Key
  - info:
      name: Get Tag Key
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id
      params:
      - name: tag_key_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Tag Key
  - info:
      name: Update Tag Key
      type: http
    http:
      method: PATCH
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id
      params:
      - name: tag_key_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update Tag Key
  - info:
      name: Delete Tag Key
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id
      params:
      - name: tag_key_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete Tag Key
  - info:
      name: List Tag Values
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id/tag-values
      params:
      - name: tag_key_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Tag Values
  - info:
      name: Create Tag Value
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id/tag-values
      params:
      - name: tag_key_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create Tag Value
  - info:
      name: Get Tag Value
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id/tag-values/:tag_value_id
      params:
      - name: tag_key_id
        value: ''
        type: path
      - name: tag_value_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Tag Value
  - info:
      name: Update Tag Value
      type: http
    http:
      method: PATCH
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id/tag-values/:tag_value_id
      params:
      - name: tag_key_id
        value: ''
        type: path
      - name: tag_value_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Update Tag Value
  - info:
      name: Delete Tag Value
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/current/tag-keys/:tag_key_id/tag-values/:tag_value_id
      params:
      - name: tag_key_id
        value: ''
        type: path
      - name: tag_value_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete Tag Value
  - info:
      name: List Taggings
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/taggings
      params:
      - name: tag_value_id
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Taggings
  - info:
      name: Create Tagging
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/taggings
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Create Tagging
  - info:
      name: Delete Tagging
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/current/taggings/:tagging_id
      params:
      - name: tagging_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete Tagging
  - info:
      name: List Tags
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/tags
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Tags
  - info:
      name: List Tags For Resource
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/tags/resource
      params:
      - name: resource_type
        value: ''
        type: query
      - name: resource_id
        value: ''
        type: query
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Tags For Resource
  - info:
      name: List Tags For Resources
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/tags/resources
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List Tags For Resources
  - info:
      name: List Pending Workspace Invites
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/pending
      auth:
        type: bearer
        token: '{{bearerToken}}'
    docs: Get all workspaces visible to this auth
  - info:
      name: Delete Pending Workspace Invite
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/pending/:id
      params:
      - name: id
        value: ''
        type: path
      auth:
        type: bearer
        token: '{{bearerToken}}'
    docs: Delete Pending Workspace Invite
  - info:
      name: Claim Pending Workspace Invite
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/pending/:workspace_id/claim
      params:
      - name: workspace_id
        value: ''
        type: path
      auth:
        type: bearer
        token: '{{bearerToken}}'
    docs: Claim Pending Workspace Invite
  - info:
      name: Get Current Workspace Members
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/members
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Current Workspace Members
  - info:
      name: Add Member To Current Workspace
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/members
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Add an existing organization member to the current workspace.
  - info:
      name: Get Current Active Workspace Members
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/members/active
      params:
      - name: limit
        value: ''
        type: query
      - name: offset
        value: ''
        type: query
      - name: emails
        value: ''
        type: query
      - name: q
        value: ''
        type: query
        description: Search query for email or name
      - name: sort_by_desc
        value: ''
        type: query
        description: Sort in descending order
      - name: ls_user_ids
        value: ''
        type: query
      - name: user_ids
        value: ''
        type: query
      - name: is_disabled
        value: ''
        type: query
      - name: sort_by
        value: ''
        type: query
        description: Field to sort by
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Current Active Workspace Members
  - info:
      name: Get Current Pending Workspace Members
      type: http
    http:
      method: GET
      url: /api/v1/workspaces/current/members/pending
      params:
      - name: limit
        value: ''
        type: query
      - name: offset
        value: ''
        type: query
      - name: emails
        value: ''
        type: query
      - name: q
        value: ''
        type: query
        description: Search query for email or name
      - name: sort_by_desc
        value: ''
        type: query
        description: Sort in descending order
      - name: sort_by
        value: ''
        type: query
        description: Field to sort by
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Get Current Pending Workspace Members
  - info:
      name: Add Members To Current Workspace Batch
      type: http
    http:
      method: POST
      url: /api/v1/workspaces/current/members/batch
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Batch invite up to 500 users to the current workspace and organization.
  - info:
      name: Patch Current Workspace Member
      type: http
    http:
      method: PATCH
      url: /api/v1/workspaces/current/members/:identity_id
      params:
      - name: identity_id
        value: ''
        type: path
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Patch Current Workspace Member
  - info:
      name: Delete Current Workspace Member
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/current/members/:identity_id
      params:
      - name: identity_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete Current Workspace Member
  - info:
      name: Delete Current Workspace Pending Member
      type: http
    http:
      method: DELETE
      url: /api/v1/workspaces/current/members/:identity_id/pending
      params:
      - name: identity_id
        value: ''
        type: path
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Delete Current Workspace Pending Member
- info:
    name: audit-logs
    type: folder
  items:
  - info:
      name: Get Audit Logs
      type: http
    http:
      method: GET
      url: /api/v1/audit-logs
      params:
      - name: limit
        value: ''
        type: query
        description: Number of items to return
      - name: cursor
        value: ''
        type: query
        description: Cursor for pagination (base64-encoded JSON string)
      - name: workspace_id
        value: ''
        type: query
        description: Filter by workspace ID
      - name: start_time
        value: ''
        type: query
        description: Start datetime (inclusive) in ISO 8601 format
      - name: end_time
        value: ''
        type: query
        description: End datetime (inclusive) in ISO 8601 format
      - name: operations
        value: ''
        type: query
        description: Filter by operation names. If omitted, all operations are returned.
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: 'Retrieve audit log records for the authenticated user''s organization in OCSF format.


      Requires both start_time and end_time parameters to filter logs within a date range.

      Supports cursor-based pagination.


      Returns results in OCSF API Activity (Class UID: 6003) format,

      which is compatible with security monitoring and SIEM tools.

      Reference: https://schema.ocsf.io/1.7.0/classes/api_activity'
- info:
    name: ttl-settings
    type: folder
  items:
  - info:
      name: List Ttl Settings
      type: http
    http:
      method: GET
      url: /api/v1/ttl-settings
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List out the configured TTL settings for a given tenant.
  - info:
      name: Upsert Ttl Settings
      type: http
    http:
      method: PUT
      url: /api/v1/ttl-settings
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: Upsert Ttl Settings
- info:
    name: orgs
    type: folder
  items:
  - info:
      name: List Ttl Settings
      type: http
    http:
      method: GET
      url: /api/v1/orgs/ttl-settings
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'
        placement: header
    docs: List out the configured TTL settings for a given org (org-level and tenant-level).
  - info:
      name: Upsert Ttl Settings
      type: http
    http:
      method: PUT
      url: /api/v1/orgs/ttl-settings
      body:
        type: json
        data: '{}'
      auth:
        type: apikey
        key: X-API-Key
        value: '{{X-API-Key}}'

# --- truncated at 32 KB (267 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/langsmith/refs/heads/main/apis.yml