LangChain orgs API

The orgs API from LangChain — 39 operation(s) for orgs.

Operations 51

GET /api/v1/orgs/ttl-settings List Ttl Settings #
PUT /api/v1/orgs/ttl-settings Upsert Ttl Settings #
GET /api/v1/orgs List Organizations #
POST /api/v1/orgs Create Organization #
POST /api/v1/orgs/current/setup Create Customers And Get Stripe Setup Intent #
GET /api/v1/orgs/current Get Organization Info #
GET /api/v1/orgs/current/info Get Current Organization Info #
PATCH /api/v1/orgs/current/info Update Current Organization Info #
GET /api/v1/orgs/current/billing Get Organization Billing Info #
GET /api/v1/orgs/current/dashboard Get Dashboard #
POST /api/v1/orgs/current/payment-method On Payment Method Created #
GET /api/v1/orgs/current/business-info Get Company Info #
POST /api/v1/orgs/current/business-info Set Company Info #
POST /api/v1/orgs/current/plan Change Payment Plan #
GET /api/v1/orgs/current/roles List Organization Roles #
POST /api/v1/orgs/current/roles Create Organization Roles #
DELETE /api/v1/orgs/current/roles/{role_id} Delete Organization Roles #
PATCH /api/v1/orgs/current/roles/{role_id} Update Organization Roles #
GET /api/v1/orgs/permissions List Permissions #
GET /api/v1/orgs/pending List Pending Organization Invites #
GET /api/v1/orgs/current/members Get Current Org Members #
POST /api/v1/orgs/current/members Add Member To Current Org #
GET /api/v1/orgs/current/members/active Get Current Active Org Members #
GET /api/v1/orgs/current/members/pending Get Current Pending Org Members #
POST /api/v1/orgs/current/members/batch Add Members To Current Org Batch #
POST /api/v1/orgs/current/members/basic/batch Add Basic Auth Members To Current Org #
DELETE /api/v1/orgs/current/members/{identity_id}/pending Delete Current Org Pending Member #
DELETE /api/v1/orgs/pending/{organization_id} Delete Pending Organization Invite #
POST /api/v1/orgs/pending/{organization_id}/claim Claim Pending Organization Invite #
DELETE /api/v1/orgs/current/members/{identity_id} Remove Member From Current Org #
PATCH /api/v1/orgs/current/members/{identity_id} Update Current Org Member #
PATCH /api/v1/orgs/members/basic Update Current User #
GET /api/v1/orgs/current/sso-settings Get Current Sso Settings #
POST /api/v1/orgs/current/sso-settings Create Sso Settings #
PATCH /api/v1/orgs/current/sso-settings/{id} Update Sso Settings #
DELETE /api/v1/orgs/current/sso-settings/{id} Delete Sso Settings #
PATCH /api/v1/orgs/current/login-methods Update Allowed Login Methods #
GET /api/v1/orgs/current/billing/usage Get Org Usage #
GET /api/v1/orgs/current/billing/granular-usage Get Granular Usage #
GET /api/v1/orgs/current/billing/granular-usage/export Export Granular Usage Csv #
GET /api/v1/orgs/current/user/login-methods Get Current User Login Methods #
POST /api/v1/orgs/current/stripe_checkout_session Create Stripe Checkout Sessions Endpoint #
POST /api/v1/orgs/current/stripe_account_links Create Stripe Account Links Endpoint #
GET /api/v1/orgs/current/service-keys List Org Service Keys #
POST /api/v1/orgs/current/service-keys Create Org Service Key #
DELETE /api/v1/orgs/current/service-keys/{api_key_id} Delete Org Service Key #
GET /api/v1/orgs/current/personal-access-tokens List Org Personal Access Tokens #
POST /api/v1/orgs/current/personal-access-tokens Create Org Personal Access Token #
DELETE /api/v1/orgs/current/personal-access-tokens/{pat_id} Delete Org Personal Access Token #
POST /api/v1/orgs/current/set-default-sso-provision Set Default Sso Provision #
GET /v1/platform/orgs/current/members List org members with workspace roles

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/langchain-orgs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

langchain-orgs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith access_policies Orgs 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: orgs
paths:
  /api/v1/orgs/ttl-settings:
    get:
      tags:
      - orgs
      summary: List Ttl Settings
      description: List out the configured TTL settings for a given org (org-level and tenant-level).
      operationId: list_ttl_settings_api_v1_orgs_ttl_settings_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/TTLSettings'
                type: array
                title: Response List Ttl Settings Api V1 Orgs Ttl Settings Get
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
    put:
      tags:
      - orgs
      summary: Upsert Ttl Settings
      operationId: upsert_ttl_settings_api_v1_orgs_ttl_settings_put
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpsertTTLSettingsRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TTLSettings'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs:
    get:
      tags:
      - orgs
      summary: List Organizations
      description: Get all orgs visible to this auth
      operationId: list_organizations_api_v1_orgs_get
      security:
      - Bearer Auth: []
      parameters:
      - name: skip_create
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Skip Create
      - name: include_tier
        in: query
        required: false
        schema:
          type: boolean
          default: false
          title: Include Tier
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/OrganizationPGSchemaSlim'
                title: Response List Organizations Api V1 Orgs Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - orgs
      summary: Create Organization
      operationId: create_organization_api_v1_orgs_post
      security:
      - Bearer Auth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationCreate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationPGSchemaSlim'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/current/setup:
    post:
      tags:
      - orgs
      summary: Create Customers And Get Stripe Setup Intent
      operationId: create_customers_and_get_stripe_setup_intent_api_v1_orgs_current_setup_post
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StripeSetupIntentResponse'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current:
    get:
      tags:
      - orgs
      summary: Get Organization Info
      operationId: get_organization_info_api_v1_orgs_current_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Organization'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/info:
    get:
      tags:
      - orgs
      summary: Get Current Organization Info
      operationId: get_current_organization_info_api_v1_orgs_current_info_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationInfo'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
    patch:
      tags:
      - orgs
      summary: Update Current Organization Info
      operationId: update_current_organization_info_api_v1_orgs_current_info_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrganizationUpdate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationInfo'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/billing:
    get:
      tags:
      - orgs
      summary: Get Organization Billing Info
      operationId: get_organization_billing_info_api_v1_orgs_current_billing_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationBillingInfo'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/dashboard:
    get:
      tags:
      - orgs
      summary: Get Dashboard
      operationId: get_dashboard_api_v1_orgs_current_dashboard_get
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: type
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/OrganizationDashboardType'
      - name: color_scheme
        in: query
        required: true
        schema:
          anyOf:
          - $ref: '#/components/schemas/OrganizationDashboardColorScheme'
          - type: 'null'
          title: Color Scheme
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationDashboardSchema'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/current/payment-method:
    post:
      tags:
      - orgs
      summary: On Payment Method Created
      operationId: on_payment_method_created_api_v1_orgs_current_payment_method_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StripePaymentInformation'
        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: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/business-info:
    get:
      tags:
      - orgs
      summary: Get Company Info
      operationId: get_company_info_api_v1_orgs_current_business_info_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/StripeBusinessInfo-Output'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
    post:
      tags:
      - orgs
      summary: Set Company Info
      operationId: set_company_info_api_v1_orgs_current_business_info_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/StripeBusinessInfo-Input'
        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: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/plan:
    post:
      tags:
      - orgs
      summary: Change Payment Plan
      operationId: change_payment_plan_api_v1_orgs_current_plan_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ChangePaymentPlanSchema'
        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: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/roles:
    get:
      tags:
      - orgs
      summary: List Organization Roles
      operationId: list_organization_roles_api_v1_orgs_current_roles_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/Role'
                type: array
                title: Response List Organization Roles Api V1 Orgs Current Roles Get
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
    post:
      tags:
      - orgs
      summary: Create Organization Roles
      operationId: create_organization_roles_api_v1_orgs_current_roles_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateRoleRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Role'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/roles/{role_id}:
    delete:
      tags:
      - orgs
      summary: Delete Organization Roles
      operationId: delete_organization_roles_api_v1_orgs_current_roles__role_id__delete
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Role Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Role'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - orgs
      summary: Update Organization Roles
      operationId: update_organization_roles_api_v1_orgs_current_roles__role_id__patch
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: role_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Role Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateRoleRequest'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Role'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/permissions:
    get:
      tags:
      - orgs
      summary: List Permissions
      operationId: list_permissions_api_v1_orgs_permissions_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PermissionResponse'
                type: array
                title: Response List Permissions Api V1 Orgs Permissions Get
      security:
      - Bearer Auth: []
  /api/v1/orgs/pending:
    get:
      tags:
      - orgs
      summary: List Pending Organization Invites
      description: Get all pending orgs visible to this auth
      operationId: list_pending_organization_invites_api_v1_orgs_pending_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/OrganizationPGSchemaSlim'
                type: array
                title: Response List Pending Organization Invites Api V1 Orgs Pending Get
      security:
      - Bearer Auth: []
  /api/v1/orgs/current/members:
    get:
      tags:
      - orgs
      summary: Get Current Org Members
      operationId: get_current_org_members_api_v1_orgs_current_members_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OrganizationMembers'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
    post:
      tags:
      - orgs
      summary: Add Member To Current Org
      operationId: add_member_to_current_org_api_v1_orgs_current_members_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PendingIdentityCreate'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PendingIdentity'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/members/active:
    get:
      tags:
      - orgs
      summary: Get Current Active Org Members
      operationId: get_current_active_org_members_api_v1_orgs_current_members_active_get
      security:
      - API Key: []
      - Organization 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/OrgMemberIdentity'
                title: Response Get Current Active Org Members Api V1 Orgs Current Members Active Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/current/members/pending:
    get:
      tags:
      - orgs
      summary: Get Current Pending Org Members
      operationId: get_current_pending_org_members_api_v1_orgs_current_members_pending_get
      security:
      - API Key: []
      - Organization 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: 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/OrgPendingIdentity'
                title: Response Get Current Pending Org Members Api V1 Orgs Current Members Pending Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/current/members/batch:
    post:
      tags:
      - orgs
      summary: Add Members To Current Org Batch
      description: Batch invite up to 500 users to the current org.
      operationId: add_members_to_current_org_batch_api_v1_orgs_current_members_batch_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/PendingIdentityCreate'
              type: array
              title: Payloads
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/PendingIdentity'
                type: array
                title: Response Add Members To Current Org Batch Api V1 Orgs Current Members Batch Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/members/basic/batch:
    post:
      tags:
      - orgs
      summary: Add Basic Auth Members To Current Org
      description: Batch add up to 500 users to the org and specified workspaces in basic auth mode.
      operationId: add_basic_auth_members_to_current_org_api_v1_orgs_current_members_basic_batch_post
      requestBody:
        content:
          application/json:
            schema:
              items:
                $ref: '#/components/schemas/BasicAuthMemberCreate'
              type: array
              title: Payloads
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/UserWithPassword'
                type: array
                title: Response Add Basic Auth Members To Current Org Api V1 Orgs Current Members Basic Batch Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/members/{identity_id}/pending:
    delete:
      tags:
      - orgs
      summary: Delete Current Org Pending Member
      description: When an admin deletes a pending member invite.
      operationId: delete_current_org_pending_member_api_v1_orgs_current_members__identity_id__pending_delete
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: identity_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Identity Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/pending/{organization_id}:
    delete:
      tags:
      - orgs
      summary: Delete Pending Organization Invite
      operationId: delete_pending_organization_invite_api_v1_orgs_pending__organization_id__delete
      security:
      - Bearer Auth: []
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Organization Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/pending/{organization_id}/claim:
    post:
      tags:
      - orgs
      summary: Claim Pending Organization Invite
      operationId: claim_pending_organization_invite_api_v1_orgs_pending__organization_id__claim_post
      security:
      - Bearer Auth: []
      parameters:
      - name: organization_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Organization Id
      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'
  /api/v1/orgs/current/members/{identity_id}:
    delete:
      tags:
      - orgs
      summary: Remove Member From Current Org
      description: Remove a user from the current organization.
      operationId: remove_member_from_current_org_api_v1_orgs_current_members__identity_id__delete
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: identity_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Identity Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    patch:
      tags:
      - orgs
      summary: Update Current Org Member
      description: This is used for updating a user's role (all auth modes) or full_name/password (basic auth)
      operationId: update_current_org_member_api_v1_orgs_current_members__identity_id__patch
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: identity_id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Identity Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OrgIdentityPatch'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/members/basic:
    patch:
      tags:
      - orgs
      summary: Update Current User
      description: Update a user's full_name/password (basic auth only)
      operationId: update_current_user_api_v1_orgs_members_basic_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BasicAuthUserPatch'
        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: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/sso-settings:
    get:
      tags:
      - orgs
      summary: Get Current Sso Settings
      description: Get SSO provider settings for the current organization.
      operationId: get_current_sso_settings_api_v1_orgs_current_sso_settings_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                items:
                  $ref: '#/components/schemas/SSOProvider'
                type: array
                title: Response Get Current Sso Settings Api V1 Orgs Current Sso Settings Get
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
    post:
      tags:
      - orgs
      summary: Create Sso Settings
      description: Create SSO provider settings for the current organization.
      operationId: create_sso_settings_api_v1_orgs_current_sso_settings_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SSOSettingsCreate'
        required: true
      responses:
        '201':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSOProvider'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
  /api/v1/orgs/current/sso-settings/{id}:
    patch:
      tags:
      - orgs
      summary: Update Sso Settings
      description: Update SSO provider settings defaults for the current organization.
      operationId: update_sso_settings_api_v1_orgs_current_sso_settings__id__patch
      security:
      - API Key: []
      - Organization ID: []
      - Bearer Auth: []
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
          format: uuid
          title: Id
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SSOSettingsUpdate'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SSOProvider'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    delete:
      tags:
      - orgs
      summary: Delete Sso Settings
      description: Delete SSO provider settings for the current organization.
      operationId: delete_sso_settings_api_v1_orgs_current_sso_settings__id__delete
      security:
      - API Key: []
      - Organization ID: []
      - 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:
                $ref: '#/components/schemas/SSOProvider'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/v1/orgs/current/login-methods:
    patch:
      tags:
      - orgs
      summary: Update Allowed Login Methods
      description: Update allowed login methods for the current organization.
      operationId: update_allowed_login_methods_api_v1_orgs_current_login_methods_patch
      reques

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