LangSmith workspaces API

The workspaces API from LangSmith — 25 operation(s) for workspaces.

OpenAPI Specification

langsmith-workspaces-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: LangSmith access_policies workspaces API
  description: 'The LangSmith API is used to programmatically create and manage LangSmith resources.


    ## Host

    https://api.smith.langchain.com


    ## Authentication

    To authenticate with the LangSmith API, set the `X-Api-Key` header

    to a valid [LangSmith API key](https://docs.langchain.com/langsmith/create-account-api-key#create-an-api-key).


    '
  version: 0.1.0
servers:
- url: /
tags:
- name: workspaces
paths:
  /api/v1/workspaces:
    post:
      tags:
      - workspaces
      summary: Create Workspace
      description: Create a new workspace.
      operationId: create_workspace_api_v1_workspaces_post
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspaceCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__schemas__Tenant'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - workspaces
      summary: List Workspaces
      description: Get all workspaces visible to this auth in the current org. Does not create a new workspace/org.
      operationId: list_workspaces_api_v1_workspaces_get
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: include_deleted
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Deleted
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TenantForUser'
                title: Response List Workspaces Api V1 Workspaces Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/{workspace_id}:
    patch:
      tags:
      - workspaces
      summary: Patch Workspace
      description: Update a workspace.
      operationId: patch_workspace_api_v1_workspaces__workspace_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WorkspacePatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__schemas__Tenant'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - workspaces
      summary: Delete Workspace
      operationId: delete_workspace_api_v1_workspaces__workspace_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/stats:
    get:
      tags:
      - workspaces
      summary: Get Current Workspace Stats
      operationId: get_current_workspace_stats_api_v1_workspaces_current_stats_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_value_id
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
              format: uuid
          - type: 'null'
          title: Tag Value Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantStats'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/usage_limits:
    get:
      tags:
      - workspaces
      summary: Get Current Workspace Usage Limits Info
      operationId: get_current_workspace_usage_limits_info_api_v1_workspaces_current_usage_limits_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantUsageLimitInfo'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/workspaces/current/shared:
    get:
      tags:
      - workspaces
      summary: Get Shared Tokens
      description: List all shared entities and their tokens by the workspace.
      operationId: get_shared_tokens_api_v1_workspaces_current_shared_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantShareTokensResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - workspaces
      summary: Bulk Unshare Entities
      description: Bulk unshare entities by share tokens for the workspace.
      operationId: bulk_unshare_entities_api_v1_workspaces_current_shared_delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TenantBulkUnshareRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/secrets:
    get:
      tags:
      - workspaces
      summary: List Current Workspace Secrets
      operationId: list_current_workspace_secrets_api_v1_workspaces_current_secrets_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SecretKey'
                type: array
                title: Response List Current Workspace Secrets Api V1 Workspaces Current Secrets Get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
    post:
      tags:
      - workspaces
      summary: Upsert Current Workspace Secrets
      operationId: upsert_current_workspace_secrets_api_v1_workspaces_current_secrets_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/SecretUpsert'
              type: array
              title: Secrets
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/workspaces/current/secrets/encrypted:
    get:
      tags:
      - workspaces
      summary: Get Current Workspace Encrypted Secrets
      description: Get encrypted workspace secrets for use with Fleet and external services.
      operationId: get_current_workspace_encrypted_secrets_api_v1_workspaces_current_secrets_encrypted_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: service
        in: query
        required: true
        schema:
          enum:
          - agent_builder
          - polly
          type: string
          description: Service requesting encrypted secrets
          title: Service
        description: Service requesting encrypted secrets
      - name: key_names
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          description: Optional list of workspace secret keys to return
          title: Key Names
        description: Optional list of workspace secret keys to return
      - name: expand_iam_role
        in: query
        required: false
        schema:
          type: boolean
          description: If true, expand AWS_IAM_ROLE_ARN into temporary credentials via STS
          default: false
          title: Expand Iam Role
        description: If true, expand AWS_IAM_ROLE_ARN into temporary credentials via STS
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InternalSecretsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/tag-keys:
    get:
      tags:
      - workspaces
      summary: List Tag Keys
      operationId: list_tag_keys_api_v1_workspaces_current_tag_keys_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TagKey'
                type: array
                title: Response List Tag Keys Api V1 Workspaces Current Tag Keys Get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
    post:
      tags:
      - workspaces
      summary: Create Tag Key
      operationId: create_tag_key_api_v1_workspaces_current_tag_keys_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagKeyCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagKey'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/workspaces/current/tag-keys/{tag_key_id}:
    patch:
      tags:
      - workspaces
      summary: Update Tag Key
      operationId: update_tag_key_api_v1_workspaces_current_tag_keys__tag_key_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagKeyUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagKey'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - workspaces
      summary: Get Tag Key
      operationId: get_tag_key_api_v1_workspaces_current_tag_keys__tag_key_id__get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagKey'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - workspaces
      summary: Delete Tag Key
      operationId: delete_tag_key_api_v1_workspaces_current_tag_keys__tag_key_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/tag-keys/{tag_key_id}/tag-values:
    post:
      tags:
      - workspaces
      summary: Create Tag Value
      operationId: create_tag_value_api_v1_workspaces_current_tag_keys__tag_key_id__tag_values_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagValueCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagValue'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - workspaces
      summary: List Tag Values
      operationId: list_tag_values_api_v1_workspaces_current_tag_keys__tag_key_id__tag_values_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TagValue'
                title: Response List Tag Values Api V1 Workspaces Current Tag Keys  Tag Key Id  Tag Values Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/tag-keys/{tag_key_id}/tag-values/{tag_value_id}:
    get:
      tags:
      - workspaces
      summary: Get Tag Value
      operationId: get_tag_value_api_v1_workspaces_current_tag_keys__tag_key_id__tag_values__tag_value_id__get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      - name: tag_value_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Value Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagValue'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - workspaces
      summary: Update Tag Value
      operationId: update_tag_value_api_v1_workspaces_current_tag_keys__tag_key_id__tag_values__tag_value_id__patch
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      - name: tag_value_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Value Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TagValueUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TagValue'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - workspaces
      summary: Delete Tag Value
      operationId: delete_tag_value_api_v1_workspaces_current_tag_keys__tag_key_id__tag_values__tag_value_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_key_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Key Id
      - name: tag_value_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tag Value Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/taggings:
    post:
      tags:
      - workspaces
      summary: Create Tagging
      operationId: create_tagging_api_v1_workspaces_current_taggings_post
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TaggingCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Tagging'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    get:
      tags:
      - workspaces
      summary: List Taggings
      operationId: list_taggings_api_v1_workspaces_current_taggings_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tag_value_id
        in: query
        required: false
        schema:
          anyOf:
          - type: string
            format: uuid
          - type: 'null'
          title: Tag Value Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TaggingsResponse'
                title: Response List Taggings Api V1 Workspaces Current Taggings Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/taggings/{tagging_id}:
    delete:
      tags:
      - workspaces
      summary: Delete Tagging
      operationId: delete_tagging_api_v1_workspaces_current_taggings__tagging_id__delete
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: tagging_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Tagging Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/tags:
    get:
      tags:
      - workspaces
      summary: List Tags
      operationId: list_tags_api_v1_workspaces_current_tags_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TagKeyWithValues'
                type: array
                title: Response List Tags Api V1 Workspaces Current Tags Get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/workspaces/current/tags/resource:
    get:
      tags:
      - workspaces
      summary: List Tags For Resource
      operationId: list_tags_for_resource_api_v1_workspaces_current_tags_resource_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: resource_type
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/ResourceType'
      - name: resource_id
        in: query
        required: true
        schema:
          type: string
          format: uuid
          title: Resource Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/TagKeyWithValuesAndTaggings'
                title: Response List Tags For Resource Api V1 Workspaces Current Tags Resource Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/tags/resources:
    post:
      tags:
      - workspaces
      summary: List Tags For Resources
      operationId: list_tags_for_resources_api_v1_workspaces_current_tags_resources_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/ListTagsForResourceRequest'
              type: array
              title: Resources
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties:
                  items:
                    $ref: '#/components/schemas/TagKeyWithValuesAndTaggings'
                  type: array
                propertyNames:
                  format: uuid
                type: object
                title: Response List Tags For Resources Api V1 Workspaces Current Tags Resources Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/workspaces/pending:
    get:
      tags:
      - workspaces
      summary: List Pending Workspace Invites
      description: Get all workspaces visible to this auth
      operationId: list_pending_workspace_invites_api_v1_workspaces_pending_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/app__schemas__Tenant'
                type: array
                title: Response List Pending Workspace Invites Api V1 Workspaces Pending Get
      security:
      - Bearer Auth: []
  /api/v1/workspaces/pending/{id}:
    delete:
      tags:
      - workspaces
      summary: Delete Pending Workspace Invite
      operationId: delete_pending_workspace_invite_api_v1_workspaces_pending__id__delete
      security:
      - Bearer Auth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/pending/{workspace_id}/claim:
    post:
      tags:
      - workspaces
      summary: Claim Pending Workspace Invite
      operationId: claim_pending_workspace_invite_api_v1_workspaces_pending__workspace_id__claim_post
      deprecated: true
      security:
      - Bearer Auth: []
      parameters:
      - name: workspace_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Workspace Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/members:
    get:
      tags:
      - workspaces
      summary: Get Current Workspace Members
      operationId: get_current_workspace_members_api_v1_workspaces_current_members_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TenantMembers'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
    post:
      tags:
      - workspaces
      summary: Add Member To Current Workspace
      description: Add an existing organization member to the current workspace.
      operationId: add_member_to_current_workspace_api_v1_workspaces_current_members_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/IdentityCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Identity'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
  /api/v1/workspaces/current/members/active:
    get:
      tags:
      - workspaces
      summary: Get Current Active Workspace Members
      operationId: get_current_active_workspace_members_api_v1_workspaces_current_members_active_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
          title: Limit
      - name: offset
        in: query
        required: false
        schema:
          type: integer
          minimum: 0
          default: 0
          title: Offset
      - name: emails
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
          default: []
          title: Emails
      - name: q
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          description: Search query for email or name
          title: Q
        description: Search query for email or name
      - name: sort_by_desc
        in: query
        required: false
        schema:
          type: boolean
          description: Sort in descending order
          default: true
          title: Sort By Desc
        description: Sort in descending order
      - name: ls_user_ids
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
          default: []
          title: Ls User Ids
      - name: user_ids
        in: query
        required: false
        schema:
          type: array
          items:
            type: string
            format: uuid
          deprecated: true
          title: User Ids
        deprecated: true
      - name: is_disabled
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Is Disabled
      - name: sort_by
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/MemberSortField'
          description: Field to sort by
          default: created_at
        description: Field to sort by
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/MemberIdentity'
                title: Response Get Current Active Workspace Members Api V1 Workspaces Current Members Active Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/workspaces/current/members/pending:
    get:
      tags:
      - workspaces
      summary: Get Current Pending Workspace Members
      operationId: get_current_pending_workspace_members_api_v1_workspaces_current_members_pending_get
      security:
      - API Key: []
      - Tenant ID: []
      - Bearer Auth: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          maximum: 500
          minimum: 1
          default: 50
 

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