LangChain · Capability

LangSmith — orgs

LangSmith — orgs. 51 operations. Lead operation: List Organizations. Self-contained Naftiko capability covering one Langchain business surface.

Run with Naftiko Langchainorgs

What You Can Do

GET
Listorganizationsapiv1orgsget — List Organizations
/v1/api/v1/orgs
POST
Createorganizationapiv1orgspost — Create Organization
/v1/api/v1/orgs
GET
Getorganizationinfoapiv1orgscurrentget — Get Organization Info
/v1/api/v1/orgs/current
GET
Getorganizationbillinginfoapiv1orgscurrentbillingget — Get Organization Billing Info
/v1/api/v1/orgs/current/billing
GET
Getgranularusageapiv1orgscurrentbillinggranularusageget — Get Granular Usage
/v1/api/v1/orgs/current/billing/granular-usage
GET
Exportgranularusagecsvapiv1orgscurrentbillinggranularusageexportget — Export Granular Usage Csv
/v1/api/v1/orgs/current/billing/granular-usage/export
GET
Getorgusageapiv1orgscurrentbillingusageget — Get Org Usage
/v1/api/v1/orgs/current/billing/usage
GET
Getcompanyinfoapiv1orgscurrentbusinessinfoget — Get Company Info
/v1/api/v1/orgs/current/business-info
POST
Setcompanyinfoapiv1orgscurrentbusinessinfopost — Set Company Info
/v1/api/v1/orgs/current/business-info
GET
Getdashboardapiv1orgscurrentdashboardget — Get Dashboard
/v1/api/v1/orgs/current/dashboard
GET
Getcurrentorganizationinfoapiv1orgscurrentinfoget — Get Current Organization Info
/v1/api/v1/orgs/current/info
PATCH
Updatecurrentorganizationinfoapiv1orgscurrentinfopatch — Update Current Organization Info
/v1/api/v1/orgs/current/info
PATCH
Updateallowedloginmethodsapiv1orgscurrentloginmethodspatch — Update Allowed Login Methods
/v1/api/v1/orgs/current/login-methods
GET
Getcurrentorgmembersapiv1orgscurrentmembersget — Get Current Org Members
/v1/api/v1/orgs/current/members
POST
Addmembertocurrentorgapiv1orgscurrentmemberspost — Add Member To Current Org
/v1/api/v1/orgs/current/members
GET
Getcurrentactiveorgmembersapiv1orgscurrentmembersactiveget — Get Current Active Org Members
/v1/api/v1/orgs/current/members/active
POST
Addbasicauthmemberstocurrentorgapiv1orgscurrentmembersbasicbatchpost — Add Basic Auth Members To Current Org
/v1/api/v1/orgs/current/members/basic/batch
POST
Addmemberstocurrentorgbatchapiv1orgscurrentmembersbatchpost — Add Members To Current Org Batch
/v1/api/v1/orgs/current/members/batch
GET
Getcurrentpendingorgmembersapiv1orgscurrentmemberspendingget — Get Current Pending Org Members
/v1/api/v1/orgs/current/members/pending
DELETE
Removememberfromcurrentorgapiv1orgscurrentmembersidentityiddelete — Remove Member From Current Org
/v1/api/v1/orgs/current/members/{identity-id}
PATCH
Updatecurrentorgmemberapiv1orgscurrentmembersidentityidpatch — Update Current Org Member
/v1/api/v1/orgs/current/members/{identity-id}
DELETE
Deletecurrentorgpendingmemberapiv1orgscurrentmembersidentityidpendingdelete — Delete Current Org Pending Member
/v1/api/v1/orgs/current/members/{identity-id}/pending
POST
Onpaymentmethodcreatedapiv1orgscurrentpaymentmethodpost — On Payment Method Created
/v1/api/v1/orgs/current/payment-method
GET
Listorgpersonalaccesstokensapiv1orgscurrentpersonalaccesstokensget — List Org Personal Access Tokens
/v1/api/v1/orgs/current/personal-access-tokens
POST
Createorgpersonalaccesstokenapiv1orgscurrentpersonalaccesstokenspost — Create Org Personal Access Token
/v1/api/v1/orgs/current/personal-access-tokens
DELETE
Deleteorgpersonalaccesstokenapiv1orgscurrentpersonalaccesstokenspatiddelete — Delete Org Personal Access Token
/v1/api/v1/orgs/current/personal-access-tokens/{pat-id}
POST
Changepaymentplanapiv1orgscurrentplanpost — Change Payment Plan
/v1/api/v1/orgs/current/plan
GET
Listorganizationrolesapiv1orgscurrentrolesget — List Organization Roles
/v1/api/v1/orgs/current/roles
POST
Createorganizationrolesapiv1orgscurrentrolespost — Create Organization Roles
/v1/api/v1/orgs/current/roles
DELETE
Deleteorganizationrolesapiv1orgscurrentrolesroleiddelete — Delete Organization Roles
/v1/api/v1/orgs/current/roles/{role-id}
PATCH
Updateorganizationrolesapiv1orgscurrentrolesroleidpatch — Update Organization Roles
/v1/api/v1/orgs/current/roles/{role-id}
GET
Listorgservicekeysapiv1orgscurrentservicekeysget — List Org Service Keys
/v1/api/v1/orgs/current/service-keys
POST
Createorgservicekeyapiv1orgscurrentservicekeyspost — Create Org Service Key
/v1/api/v1/orgs/current/service-keys
DELETE
Deleteorgservicekeyapiv1orgscurrentservicekeysapikeyiddelete — Delete Org Service Key
/v1/api/v1/orgs/current/service-keys/{api-key-id}
POST
Setdefaultssoprovisionapiv1orgscurrentsetdefaultssoprovisionpost — Set Default Sso Provision
/v1/api/v1/orgs/current/set-default-sso-provision
POST
Createcustomersandgetstripesetupintentapiv1orgscurrentsetuppost — Create Customers And Get Stripe Setup Intent
/v1/api/v1/orgs/current/setup
GET
Getcurrentssosettingsapiv1orgscurrentssosettingsget — Get Current Sso Settings
/v1/api/v1/orgs/current/sso-settings
POST
Createssosettingsapiv1orgscurrentssosettingspost — Create Sso Settings
/v1/api/v1/orgs/current/sso-settings
PATCH
Updatessosettingsapiv1orgscurrentssosettingsidpatch — Update Sso Settings
/v1/api/v1/orgs/current/sso-settings/{id}
DELETE
Deletessosettingsapiv1orgscurrentssosettingsiddelete — Delete Sso Settings
/v1/api/v1/orgs/current/sso-settings/{id}
POST
Createstripeaccountlinksendpointapiv1orgscurrentstripeaccountlinkspost — Create Stripe Account Links Endpoint
/v1/api/v1/orgs/current/stripe-account-links
POST
Createstripecheckoutsessionsendpointapiv1orgscurrentstripecheckoutsessionpost — Create Stripe Checkout Sessions Endpoint
/v1/api/v1/orgs/current/stripe-checkout-session
GET
Getcurrentuserloginmethodsapiv1orgscurrentuserloginmethodsget — Get Current User Login Methods
/v1/api/v1/orgs/current/user/login-methods
PATCH
Updatecurrentuserapiv1orgsmembersbasicpatch — Update Current User
/v1/api/v1/orgs/members/basic
GET
Listpendingorganizationinvitesapiv1orgspendingget — List Pending Organization Invites
/v1/api/v1/orgs/pending
DELETE
Deletependingorganizationinviteapiv1orgspendingorganizationiddelete — Delete Pending Organization Invite
/v1/api/v1/orgs/pending/{organization-id}
POST
Claimpendingorganizationinviteapiv1orgspendingorganizationidclaimpost — Claim Pending Organization Invite
/v1/api/v1/orgs/pending/{organization-id}/claim
GET
Listpermissionsapiv1orgspermissionsget — List Permissions
/v1/api/v1/orgs/permissions
GET
Listttlsettingsapiv1orgsttlsettingsget — List Ttl Settings
/v1/api/v1/orgs/ttl-settings
PUT
Upsertttlsettingsapiv1orgsttlsettingsput — Upsert Ttl Settings
/v1/api/v1/orgs/ttl-settings
GET
Get — List org members with workspace roles
/v1/v1/platform/orgs/current/members

MCP Tools

list-organizations

List Organizations

read-only idempotent
create-organization

Create Organization

get-organization-info

Get Organization Info

read-only idempotent
get-organization-billing-info

Get Organization Billing Info

read-only idempotent
get-granular-usage

Get Granular Usage

read-only idempotent
export-granular-usage-csv

Export Granular Usage Csv

read-only idempotent
get-org-usage

Get Org Usage

read-only idempotent
get-company-info

Get Company Info

read-only idempotent
set-company-info

Set Company Info

get-dashboard

Get Dashboard

read-only idempotent
get-current-organization-info

Get Current Organization Info

read-only idempotent
update-current-organization-info

Update Current Organization Info

idempotent
update-allowed-login-methods

Update Allowed Login Methods

idempotent
get-current-org-members

Get Current Org Members

read-only idempotent
add-member-current-org

Add Member To Current Org

get-current-active-org-members

Get Current Active Org Members

read-only idempotent
add-basic-auth-members-current

Add Basic Auth Members To Current Org

add-members-current-org-batch

Add Members To Current Org Batch

get-current-pending-org-members

Get Current Pending Org Members

read-only idempotent
remove-member-current-org

Remove Member From Current Org

idempotent
update-current-org-member

Update Current Org Member

idempotent
delete-current-org-pending-member

Delete Current Org Pending Member

idempotent
payment-method-created

On Payment Method Created

list-org-personal-access-tokens

List Org Personal Access Tokens

read-only idempotent
create-org-personal-access-token

Create Org Personal Access Token

delete-org-personal-access-token

Delete Org Personal Access Token

idempotent
change-payment-plan

Change Payment Plan

list-organization-roles

List Organization Roles

read-only idempotent
create-organization-roles

Create Organization Roles

delete-organization-roles

Delete Organization Roles

idempotent
update-organization-roles

Update Organization Roles

idempotent
list-org-service-keys

List Org Service Keys

read-only idempotent
create-org-service-key

Create Org Service Key

delete-org-service-key

Delete Org Service Key

idempotent
set-default-sso-provision

Set Default Sso Provision

create-customers-and-get-stripe

Create Customers And Get Stripe Setup Intent

read-only
get-current-sso-settings

Get Current Sso Settings

read-only idempotent
create-sso-settings

Create Sso Settings

update-sso-settings

Update Sso Settings

idempotent
delete-sso-settings

Delete Sso Settings

idempotent
create-stripe-account-links-endpoint

Create Stripe Account Links Endpoint

create-stripe-checkout-sessions-endpoint

Create Stripe Checkout Sessions Endpoint

get-current-user-login-methods

Get Current User Login Methods

read-only idempotent
update-current-user

Update Current User

idempotent
list-pending-organization-invites

List Pending Organization Invites

read-only idempotent
delete-pending-organization-invite

Delete Pending Organization Invite

idempotent
claim-pending-organization-invite

Claim Pending Organization Invite

list-permissions

List Permissions

read-only idempotent
list-ttl-settings

List Ttl Settings

read-only idempotent
upsert-ttl-settings

Upsert Ttl Settings

idempotent
list-org-members-workspace-roles

List org members with workspace roles

read-only idempotent

Capability Spec

langchain-orgs.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: LangSmith — orgs
  description: 'LangSmith — orgs. 51 operations. Lead operation: List Organizations. Self-contained Naftiko capability covering
    one Langchain business surface.'
  tags:
  - Langchain
  - orgs
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    LANGCHAIN_API_KEY: LANGCHAIN_API_KEY
capability:
  consumes:
  - type: http
    namespace: langchain-orgs
    baseUri: ''
    description: LangSmith — orgs business capability. Self-contained, no shared references.
    resources:
    - name: api-v1-orgs
      path: /api/v1/orgs
      operations:
      - name: listorganizationsapiv1orgsget
        method: GET
        description: List Organizations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: skip_create
          in: query
          type: boolean
        - name: include_tier
          in: query
          type: boolean
      - name: createorganizationapiv1orgspost
        method: POST
        description: Create Organization
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current
      path: /api/v1/orgs/current
      operations:
      - name: getorganizationinfoapiv1orgscurrentget
        method: GET
        description: Get Organization Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-current-billing
      path: /api/v1/orgs/current/billing
      operations:
      - name: getorganizationbillinginfoapiv1orgscurrentbillingget
        method: GET
        description: Get Organization Billing Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-current-billing-granular-usage
      path: /api/v1/orgs/current/billing/granular-usage
      operations:
      - name: getgranularusageapiv1orgscurrentbillinggranularusageget
        method: GET
        description: Get Granular Usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_time
          in: query
          type: string
          required: true
        - name: end_time
          in: query
          type: string
          required: true
        - name: workspace_ids
          in: query
          type: array
          required: true
        - name: group_by
          in: query
          type: string
    - name: api-v1-orgs-current-billing-granular-usage-export
      path: /api/v1/orgs/current/billing/granular-usage/export
      operations:
      - name: exportgranularusagecsvapiv1orgscurrentbillinggranularusageexportget
        method: GET
        description: Export Granular Usage Csv
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: start_time
          in: query
          type: string
          required: true
        - name: end_time
          in: query
          type: string
          required: true
        - name: workspace_ids
          in: query
          type: array
          required: true
        - name: group_by
          in: query
          type: string
    - name: api-v1-orgs-current-billing-usage
      path: /api/v1/orgs/current/billing/usage
      operations:
      - name: getorgusageapiv1orgscurrentbillingusageget
        method: GET
        description: Get Org Usage
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: starting_on
          in: query
          type: string
          required: true
        - name: ending_before
          in: query
          type: string
          required: true
        - name: on_current_plan
          in: query
          type: boolean
    - name: api-v1-orgs-current-business-info
      path: /api/v1/orgs/current/business-info
      operations:
      - name: getcompanyinfoapiv1orgscurrentbusinessinfoget
        method: GET
        description: Get Company Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: setcompanyinfoapiv1orgscurrentbusinessinfopost
        method: POST
        description: Set Company Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-dashboard
      path: /api/v1/orgs/current/dashboard
      operations:
      - name: getdashboardapiv1orgscurrentdashboardget
        method: GET
        description: Get Dashboard
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: type
          in: query
          type: string
          required: true
        - name: color_scheme
          in: query
          type: string
          required: true
    - name: api-v1-orgs-current-info
      path: /api/v1/orgs/current/info
      operations:
      - name: getcurrentorganizationinfoapiv1orgscurrentinfoget
        method: GET
        description: Get Current Organization Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: updatecurrentorganizationinfoapiv1orgscurrentinfopatch
        method: PATCH
        description: Update Current Organization Info
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-login-methods
      path: /api/v1/orgs/current/login-methods
      operations:
      - name: updateallowedloginmethodsapiv1orgscurrentloginmethodspatch
        method: PATCH
        description: Update Allowed Login Methods
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-members
      path: /api/v1/orgs/current/members
      operations:
      - name: getcurrentorgmembersapiv1orgscurrentmembersget
        method: GET
        description: Get Current Org Members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: addmembertocurrentorgapiv1orgscurrentmemberspost
        method: POST
        description: Add Member To Current Org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-members-active
      path: /api/v1/orgs/current/members/active
      operations:
      - name: getcurrentactiveorgmembersapiv1orgscurrentmembersactiveget
        method: GET
        description: Get Current Active Org Members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
        - name: emails
          in: query
          type: array
        - name: q
          in: query
          type: string
          description: Search query for email or name
        - name: sort_by_desc
          in: query
          type: boolean
          description: Sort in descending order
        - name: ls_user_ids
          in: query
          type: array
        - name: user_ids
          in: query
          type: array
        - name: is_disabled
          in: query
          type: string
        - name: sort_by
          in: query
          type: string
          description: Field to sort by
    - name: api-v1-orgs-current-members-basic-batch
      path: /api/v1/orgs/current/members/basic/batch
      operations:
      - name: addbasicauthmemberstocurrentorgapiv1orgscurrentmembersbasicbatchpost
        method: POST
        description: Add Basic Auth Members To Current Org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-members-batch
      path: /api/v1/orgs/current/members/batch
      operations:
      - name: addmemberstocurrentorgbatchapiv1orgscurrentmembersbatchpost
        method: POST
        description: Add Members To Current Org Batch
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-members-pending
      path: /api/v1/orgs/current/members/pending
      operations:
      - name: getcurrentpendingorgmembersapiv1orgscurrentmemberspendingget
        method: GET
        description: Get Current Pending Org Members
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
        - name: offset
          in: query
          type: integer
        - name: emails
          in: query
          type: array
        - name: q
          in: query
          type: string
          description: Search query for email or name
        - name: sort_by_desc
          in: query
          type: boolean
          description: Sort in descending order
        - name: sort_by
          in: query
          type: string
          description: Field to sort by
    - name: api-v1-orgs-current-members-identity_id
      path: /api/v1/orgs/current/members/{identity_id}
      operations:
      - name: removememberfromcurrentorgapiv1orgscurrentmembersidentityiddelete
        method: DELETE
        description: Remove Member From Current Org
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identity_id
          in: path
          type: string
          required: true
      - name: updatecurrentorgmemberapiv1orgscurrentmembersidentityidpatch
        method: PATCH
        description: Update Current Org Member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identity_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-members-identity_id-pending
      path: /api/v1/orgs/current/members/{identity_id}/pending
      operations:
      - name: deletecurrentorgpendingmemberapiv1orgscurrentmembersidentityidpendingdelete
        method: DELETE
        description: Delete Current Org Pending Member
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: identity_id
          in: path
          type: string
          required: true
    - name: api-v1-orgs-current-payment-method
      path: /api/v1/orgs/current/payment-method
      operations:
      - name: onpaymentmethodcreatedapiv1orgscurrentpaymentmethodpost
        method: POST
        description: On Payment Method Created
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-personal-access-tokens
      path: /api/v1/orgs/current/personal-access-tokens
      operations:
      - name: listorgpersonalaccesstokensapiv1orgscurrentpersonalaccesstokensget
        method: GET
        description: List Org Personal Access Tokens
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorgpersonalaccesstokenapiv1orgscurrentpersonalaccesstokenspost
        method: POST
        description: Create Org Personal Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-personal-access-tokens-pat_id
      path: /api/v1/orgs/current/personal-access-tokens/{pat_id}
      operations:
      - name: deleteorgpersonalaccesstokenapiv1orgscurrentpersonalaccesstokenspatiddelete
        method: DELETE
        description: Delete Org Personal Access Token
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: pat_id
          in: path
          type: string
          required: true
    - name: api-v1-orgs-current-plan
      path: /api/v1/orgs/current/plan
      operations:
      - name: changepaymentplanapiv1orgscurrentplanpost
        method: POST
        description: Change Payment Plan
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-roles
      path: /api/v1/orgs/current/roles
      operations:
      - name: listorganizationrolesapiv1orgscurrentrolesget
        method: GET
        description: List Organization Roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorganizationrolesapiv1orgscurrentrolespost
        method: POST
        description: Create Organization Roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-roles-role_id
      path: /api/v1/orgs/current/roles/{role_id}
      operations:
      - name: deleteorganizationrolesapiv1orgscurrentrolesroleiddelete
        method: DELETE
        description: Delete Organization Roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: role_id
          in: path
          type: string
          required: true
      - name: updateorganizationrolesapiv1orgscurrentrolesroleidpatch
        method: PATCH
        description: Update Organization Roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: role_id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-service-keys
      path: /api/v1/orgs/current/service-keys
      operations:
      - name: listorgservicekeysapiv1orgscurrentservicekeysget
        method: GET
        description: List Org Service Keys
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createorgservicekeyapiv1orgscurrentservicekeyspost
        method: POST
        description: Create Org Service Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-service-keys-api_key_id
      path: /api/v1/orgs/current/service-keys/{api_key_id}
      operations:
      - name: deleteorgservicekeyapiv1orgscurrentservicekeysapikeyiddelete
        method: DELETE
        description: Delete Org Service Key
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: api_key_id
          in: path
          type: string
          required: true
    - name: api-v1-orgs-current-set-default-sso-provision
      path: /api/v1/orgs/current/set-default-sso-provision
      operations:
      - name: setdefaultssoprovisionapiv1orgscurrentsetdefaultssoprovisionpost
        method: POST
        description: Set Default Sso Provision
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-current-setup
      path: /api/v1/orgs/current/setup
      operations:
      - name: createcustomersandgetstripesetupintentapiv1orgscurrentsetuppost
        method: POST
        description: Create Customers And Get Stripe Setup Intent
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-current-sso-settings
      path: /api/v1/orgs/current/sso-settings
      operations:
      - name: getcurrentssosettingsapiv1orgscurrentssosettingsget
        method: GET
        description: Get Current Sso Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: createssosettingsapiv1orgscurrentssosettingspost
        method: POST
        description: Create Sso Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-sso-settings-id
      path: /api/v1/orgs/current/sso-settings/{id}
      operations:
      - name: updatessosettingsapiv1orgscurrentssosettingsidpatch
        method: PATCH
        description: Update Sso Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: deletessosettingsapiv1orgscurrentssosettingsiddelete
        method: DELETE
        description: Delete Sso Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          required: true
    - name: api-v1-orgs-current-stripe_account_links
      path: /api/v1/orgs/current/stripe_account_links
      operations:
      - name: createstripeaccountlinksendpointapiv1orgscurrentstripeaccountlinkspost
        method: POST
        description: Create Stripe Account Links Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-stripe_checkout_session
      path: /api/v1/orgs/current/stripe_checkout_session
      operations:
      - name: createstripecheckoutsessionsendpointapiv1orgscurrentstripecheckoutsessionpost
        method: POST
        description: Create Stripe Checkout Sessions Endpoint
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-current-user-login-methods
      path: /api/v1/orgs/current/user/login-methods
      operations:
      - name: getcurrentuserloginmethodsapiv1orgscurrentuserloginmethodsget
        method: GET
        description: Get Current User Login Methods
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-members-basic
      path: /api/v1/orgs/members/basic
      operations:
      - name: updatecurrentuserapiv1orgsmembersbasicpatch
        method: PATCH
        description: Update Current User
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: api-v1-orgs-pending
      path: /api/v1/orgs/pending
      operations:
      - name: listpendingorganizationinvitesapiv1orgspendingget
        method: GET
        description: List Pending Organization Invites
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-pending-organization_id
      path: /api/v1/orgs/pending/{organization_id}
      operations:
      - name: deletependingorganizationinviteapiv1orgspendingorganizationiddelete
        method: DELETE
        description: Delete Pending Organization Invite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organization_id
          in: path
          type: string
          required: true
    - name: api-v1-orgs-pending-organization_id-claim
      path: /api/v1/orgs/pending/{organization_id}/claim
      operations:
      - name: claimpendingorganizationinviteapiv1orgspendingorganizationidclaimpost
        method: POST
        description: Claim Pending Organization Invite
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: organization_id
          in: path
          type: string
          required: true
    - name: api-v1-orgs-permissions
      path: /api/v1/orgs/permissions
      operations:
      - name: listpermissionsapiv1orgspermissionsget
        method: GET
        description: List Permissions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: api-v1-orgs-ttl-settings
      path: /api/v1/orgs/ttl-settings
      operations:
      - name: listttlsettingsapiv1orgsttlsettingsget
        method: GET
        description: List Ttl Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: upsertttlsettingsapiv1orgsttlsettingsput
        method: PUT
        description: Upsert Ttl Settings
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
    - name: v1-platform-orgs-current-members
      path: /v1/platform/orgs/current/members
      operations:
      - name: get
        method: GET
        description: List org members with workspace roles
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: limit
          in: query
          type: integer
          description: Page size (default 50, max 500)
        - name: offset
          in: query
          type: integer
          description: Page offset (default 0)
        - name: active_is
          in: query
          type: boolean
          description: 'Filter: true = only active members; false = only pending members'
        - name: pending_is
          in: query
          type: boolean
          description: 'Filter: true = only pending members; false = only active members'
        - name: name_like
          in: query
          type: array
          description: Glob filter on display name; use * as wildcard (repeatable, matches any)
        - name: email_like
          in: query
          type: array
          description: Glob filter on email; use * as wildcard (repeatable, matches any)
        - name: workspace_name_like
          in: query
          type: array
          description: Glob filter on workspace name or ID; use * as wildcard (repeatable, matches any)
        - name: organization_role_like
          in: query
          type: array
          description: Glob filter on organization role name; use * as wildcard (repeatable, matches any)
        - name: workspace_role_like
          in: query
          type: array
          description: Glob filter on workspace role name; use * as wildcard (repeatable, matches any)
    authentication:
      type: bearer
      token: '{{env.LANGCHAIN_API_KEY}}'
  exposes:
  - type: rest
    namespace: langchain-orgs-rest
    port: 8080
    description: REST adapter for LangSmith — orgs. One Spectral-compliant resource per consumed operation, prefixed with
      /v1.
    resources:
    - path: /v1/api/v1/orgs
      name: api-v1-orgs
      description: REST surface for api-v1-orgs.
      operations:
      - method: GET
        name: listorganizationsapiv1orgsget
        description: List Organizations
        call: langchain-orgs.listorganizationsapiv1orgsget
        with:
          skip_create: rest.skip_create
          include_tier: rest.include_tier
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: createorganizationapiv1orgspost
        description: Create Organization
        call: langchain-orgs.createorganizationapiv1orgspost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current
      name: api-v1-orgs-current
      description: REST surface for api-v1-orgs-current.
      operations:
      - method: GET
        name: getorganizationinfoapiv1orgscurrentget
        description: Get Organization Info
        call: langchain-orgs.getorganizationinfoapiv1orgscurrentget
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/billing
      name: api-v1-orgs-current-billing
      description: REST surface for api-v1-orgs-current-billing.
      operations:
      - method: GET
        name: getorganizationbillinginfoapiv1orgscurrentbillingget
        description: Get Organization Billing Info
        call: langchain-orgs.getorganizationbillinginfoapiv1orgscurrentbillingget
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/billing/granular-usage
      name: api-v1-orgs-current-billing-granular-usage
      description: REST surface for api-v1-orgs-current-billing-granular-usage.
      operations:
      - method: GET
        name: getgranularusageapiv1orgscurrentbillinggranularusageget
        description: Get Granular Usage
        call: langchain-orgs.getgranularusageapiv1orgscurrentbillinggranularusageget
        with:
          start_time: rest.start_time
          end_time: rest.end_time
          workspace_ids: rest.workspace_ids
          group_by: rest.group_by
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/billing/granular-usage/export
      name: api-v1-orgs-current-billing-granular-usage-export
      description: REST surface for api-v1-orgs-current-billing-granular-usage-export.
      operations:
      - method: GET
        name: exportgranularusagecsvapiv1orgscurrentbillinggranularusageexportget
        description: Export Granular Usage Csv
        call: langchain-orgs.exportgranularusagecsvapiv1orgscurrentbillinggranularusageexportget
        with:
          start_time: rest.start_time
          end_time: rest.end_time
          workspace_ids: rest.workspace_ids
          group_by: rest.group_by
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/billing/usage
      name: api-v1-orgs-current-billing-usage
      description: REST surface for api-v1-orgs-current-billing-usage.
      operations:
      - method: GET
        name: getorgusageapiv1orgscurrentbillingusageget
        description: Get Org Usage
        call: langchain-orgs.getorgusageapiv1orgscurrentbillingusageget
        with:
          starting_on: rest.starting_on
          ending_before: rest.ending_before
          on_current_plan: rest.on_current_plan
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/business-info
      name: api-v1-orgs-current-business-info
      description: REST surface for api-v1-orgs-current-business-info.
      operations:
      - method: GET
        name: getcompanyinfoapiv1orgscurrentbusinessinfoget
        description: Get Company Info
        call: langchain-orgs.getcompanyinfoapiv1orgscurrentbusinessinfoget
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: setcompanyinfoapiv1orgscurrentbusinessinfopost
        description: Set Company Info
        call: langchain-orgs.setcompanyinfoapiv1orgscurrentbusinessinfopost
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/dashboard
      name: api-v1-orgs-current-dashboard
      description: REST surface for api-v1-orgs-current-dashboard.
      operations:
      - method: GET
        name: getdashboardapiv1orgscurrentdashboardget
        description: Get Dashboard
        call: langchain-orgs.getdashboardapiv1orgscurrentdashboardget
        with:
          type: rest.type
          color_scheme: rest.color_scheme
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/info
      name: api-v1-orgs-current-info
      description: REST surface for api-v1-orgs-current-info.
      operations:
      - method: GET
        name: getcurrentorganizationinfoapiv1orgscurrentinfoget
        description: Get Current Organization Info
        call: langchain-orgs.getcurrentorganizationinfoapiv1orgscurrentinfoget
        outputParameters:
        - type: object
          mapping: $.
      - method: PATCH
        name: updatecurrentorganizationinfoapiv1orgscurrentinfopatch
        description: Update Current Organization Info
        call: langchain-orgs.updatecurrentorganizationinfoapiv1orgscurrentinfopatch
        with:
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/api/v1/orgs/current/login-methods
      name: api-v1-orgs-current-login-methods
      description: REST surface for api-v1-orgs-current-login-methods.
      

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