LangSmith Orgs API

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

GitHub OpenAPI
Business capability
SaaS Tenant Management BC-4230

Operations 51

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/v1/orgs/ttl-settings List trace retention settings · List Ttl Settings #
Ask an LLM
“What trace retention settings are configured for my organization?”
“Can I see both org-level and tenant-level TTL settings?”
Tell an agent
List the trace retention settings for my org.
Show the default trace tier and whether it applies to all projects.
PUT /api/v1/orgs/ttl-settings Set trace retention settings · Upsert Ttl Settings #
Ask an LLM
“How do I change how long traces are kept in my organization?”
“Can I apply the default trace tier to every project at once?”
Tell an agent
Set the default trace tier to {default_trace_tier}.
Apply trace retention {default_trace_tier} to all projects: {apply_to_all_projects}.
GET /api/v1/orgs List organizations I can see · List Organizations #
Ask an LLM
“Which organizations can I access with my API key?”
“Can I skip creating a new organization when listing orgs?”
Tell an agent
List the organizations I have access to.
List organizations, skipping the create step: {skip_create}.
POST /api/v1/orgs Create an organization · Create Organization #
Ask an LLM
“How do I create a new organization for my team?”
“Can I mark a new organization as a personal account?”
Tell an agent
Create an organization named {display_name} as a personal account: {is_personal}.
Create organization {display_name} with security contact {security_contact}.
POST /api/v1/orgs/current/setup Create billing customers and get a Stripe setup intent · Create Customers And Get Stripe Setup Intent #
Ask an LLM
“How do I set up billing for my organization with Stripe?”
“Can I get a Stripe setup intent for the current organization?”
Tell an agent
Create billing customers and return the Stripe setup intent.
Start a new billing setup for my organization.
GET /api/v1/orgs/current Get my organization's details · Get Organization Info #
Ask an LLM
“What are the details of the organization I'm signed in to?”
“Can I look up my current organization's info?”
Tell an agent
Show the details of my current organization.
Get the organization info for the org I'm signed in as.
GET /api/v1/orgs/current/info Get my organization's info · Get Current Organization Info #
Ask an LLM
“What is the display name and security contact of my organization?”
“Can I see whether public sharing is disabled on my org?”
Tell an agent
Show my organization's info.
Get the current organization's display name and security contact.
PATCH /api/v1/orgs/current/info Update my organization's info · Update Current Organization Info #
Ask an LLM
“How do I change my organization's display name or security contact?”
“Can I disable personal access token creation for my org?”
Tell an agent
Rename my organization to {display_name}.
Set the security contact of my organization to {security_contact}.
GET /api/v1/orgs/current/billing Get my organization's billing info · Get Organization Billing Info #
Ask an LLM
“What is the billing status of my organization?”
“Can I see my current billing plan and payment method?”
Tell an agent
Show my organization's billing information.
Get the current billing plan and payment method for my org.
GET /api/v1/orgs/current/dashboard Get my organization's dashboard · Get Dashboard #
Ask an LLM
“How do I pull up the organization dashboard?”
“Can I choose the color scheme of the dashboard I fetch?”
Tell an agent
Get the {type} dashboard with color scheme {color_scheme}.
Show my organization's dashboard in {color_scheme} mode.
POST /api/v1/orgs/current/payment-method Confirm a payment method was created · On Payment Method Created #
Ask an LLM
“What do I send when a payment method is created for my organization?”
“Can I pass billing info and a setup intent for a new payment method?”
Tell an agent
Confirm payment method creation with billing info {billing_info} and setup intent {setup_intent}.
Record that a payment method was created for my org.
GET /api/v1/orgs/current/business-info Get my organization's company info · Get Company Info #
Ask an LLM
“What company details are on file for my organization?”
“Can I see the tax ID and invoice email for my org?”
Tell an agent
Show my organization's company information.
Get the tax ID and invoice email on file for my org.
POST /api/v1/orgs/current/business-info Set my organization's company info · Set Company Info #
Ask an LLM
“How do I add a tax ID to my organization's company profile?”
“Can I set the invoice email for my organization?”
Tell an agent
Set the tax ID of my organization to {tax_id}.
Set the invoice email for my organization to {invoice_email}.
POST /api/v1/orgs/current/plan Change my organization's payment plan · Change Payment Plan #
Ask an LLM
“How do I upgrade my organization to a higher tier?”
“Can I change to a developer or enterprise plan?”
Tell an agent
Change my organization's payment plan to {tier}.
Upgrade my org to the {tier} plan.
GET /api/v1/orgs/current/roles List roles in my organization · List Organization Roles #
Ask an LLM
“What roles exist in my organization?”
“Can I see the permissions each role grants?”
Tell an agent
List the roles in my organization.
Show every role and its permissions for my org.
POST /api/v1/orgs/current/roles Create an organization role · Create Organization Roles #
Ask an LLM
“How do I create a new role with specific permissions?”
“Can I add a description when creating an organization role?”
Tell an agent
Create a role named {display_name} with permissions {permissions}.
Add a role {display_name} described as {description}.
DELETE /api/v1/orgs/current/roles/{role_id} Delete an organization role · Delete Organization Roles #
Ask an LLM
“How do I remove a role from my organization?”
“Can I delete a role by its ID?”
Tell an agent destructive · confirm first
Delete role {role_id} from my organization.
Remove the {role_id} role.
PATCH /api/v1/orgs/current/roles/{role_id} Update an organization role · Update Organization Roles #
Ask an LLM
“How do I rename an existing role or change its permissions?”
“Can I edit a role's description?”
Tell an agent
Rename role {role_id} to {display_name} with permissions {permissions}.
Change the description of role {role_id} to {description}.
GET /api/v1/orgs/permissions List organization permissions · List Permissions #
Ask an LLM
“What permissions can I grant to roles in my organization?”
“Can I see the full list of available permissions?”
Tell an agent
List the permissions available to roles in my organization.
Show every permission I can assign to an organization role.
GET /api/v1/orgs/pending List pending organization invites · List Pending Organization Invites #
Ask an LLM
“Which organization invites are still pending?”
“Can I see invites I've sent to other users?”
Tell an agent
List the pending organization invites.
Show the invites waiting to be accepted.
GET /api/v1/orgs/current/members List members of my organization · Get Current Org Members #
Ask an LLM
“Who are the members of the organization I'm signed in to?”
“Can I see everyone in my current org?”
Tell an agent
List the members of my current organization.
Show everyone in the org I'm signed in to.
POST /api/v1/orgs/current/members Invite a user to my organization · Add Member To Current Org #
Ask an LLM
“How do I invite a teammate to my LangSmith organization?”
“Can I invite someone by email and give them a role?”
Tell an agent
Invite {email} to my organization.
Add {email} to my org as a {role_id} with full name {full_name}.
GET /api/v1/orgs/current/members/active List active members of my organization · Get Current Active Org Members #
Ask an LLM
“Which users are active members of my organization?”
“Can I search my current org's active members by email?”
Tell an agent
List active members of my current organization.
Find active members in my org whose email matches {q}.
GET /api/v1/orgs/current/members/pending List pending invites to my organization · Get Current Pending Org Members #
Ask an LLM
“Who has been invited to my organization but hasn't accepted yet?”
“Can I see pending org invites by email?”
Tell an agent
List pending invites to my current organization.
Find pending org invites for {emails}.
POST /api/v1/orgs/current/members/batch Invite many users to my organization at once · Add Members To Current Org Batch #
Ask an LLM
“Can I invite up to 500 users to my organization in one batch?”
“What's the limit on bulk org invites?”
Tell an agent
Batch invite these users to my organization.
Invite a batch of up to 500 users to my current org.
POST /api/v1/orgs/current/members/basic/batch Bulk add users with basic auth to my org · Add Basic Auth Members To Current Org #
Ask an LLM
“Can I add many users to my organization and give them basic auth?”
“Is there a batch way to add users with passwords to my org?”
Tell an agent
Bulk add users to my organization in basic auth mode.
Invite a batch of users to my current org with basic auth.
DELETE /api/v1/orgs/current/members/{identity_id}/pending Cancel a pending org invite · Delete Current Org Pending Member #
Ask an LLM
“How do I withdraw an invitation I sent to someone?”
“Can I cancel a pending invite to my organization?”
Tell an agent destructive · confirm first
Cancel the pending invite for {identity_id}.
Withdraw the org invitation sent to {identity_id}.
DELETE /api/v1/orgs/pending/{organization_id} Cancel a pending organization invite · Delete Pending Organization Invite #
Ask an LLM
“Can I withdraw an invitation to an organization I created?”
“What happens when I delete a pending org invite?”
Tell an agent destructive · confirm first
Delete pending organization invite {organization_id}.
Withdraw the org invite {organization_id} I sent.
POST /api/v1/orgs/pending/{organization_id}/claim Accept a pending organization invite · Claim Pending Organization Invite #
Ask an LLM
“How do I accept an invitation to join an organization?”
“Can I claim a pending org invite by its ID?”
Tell an agent
Claim pending organization invite {organization_id}.
Accept the org invitation {organization_id}.
DELETE /api/v1/orgs/current/members/{identity_id} Remove a user from my organization · Remove Member From Current Org #
Ask an LLM
“How do I remove someone from my organization?”
“Can I kick a member out of my current org?”
Tell an agent destructive · confirm first
Remove {identity_id} from my current organization.
Kick user {identity_id} out of my org.
PATCH /api/v1/orgs/current/members/{identity_id} Change a member's role or password · Update Current Org Member #
Ask an LLM
“Can I change a teammate's role in my organization?”
“How do I reset a member's password?”
Tell an agent
Change member {identity_id}'s role to {role_id}.
Set member {identity_id}'s password to {password}.
PATCH /api/v1/orgs/members/basic Update my own name or password · Update Current User #
Ask an LLM
“How do I change my own name or password?”
“Can I update my basic auth credentials myself?”
Tell an agent
Update my own full name to {full_name}.
Change my own password to {password}.
GET /api/v1/orgs/current/sso-settings Get my organization's SSO settings · Get Current Sso Settings #
Ask an LLM
“What SSO settings does my organization have configured?”
“Which default workspace roles are set up for SSO?”
Tell an agent
Show the SSO settings of my current organization.
Get my org's SSO provider configuration.
POST /api/v1/orgs/current/sso-settings Set up SSO for my organization · Create Sso Settings #
Ask an LLM
“How do I configure single sign-on for my organization?”
“Can I set default workspace roles for SSO users?”
Tell an agent
Create SSO settings for my organization with default roles {default_workspace_role_id} on workspaces {default_workspace_ids}.
Set up SSO for my org using metadata XML {metadata_xml}.
PATCH /api/v1/orgs/current/sso-settings/{id} Update SSO settings for my organization · Update Sso Settings #
Ask an LLM
“Can I change the default workspace roles for SSO users?”
“How do I update an existing SSO provider configuration?”
Tell an agent
Update SSO settings {id} to default roles {default_workspace_role_id} on workspaces {default_workspace_ids}.
Change the SSO provider configuration {id} to use metadata URL {metadata_url}.
DELETE /api/v1/orgs/current/sso-settings/{id} Remove SSO settings from my organization · Delete Sso Settings #
Ask an LLM
“How do I turn off single sign-on for my organization?”
“Can I delete an SSO provider configuration?”
Tell an agent destructive · confirm first
Delete SSO settings {id} from my organization.
Remove the SSO provider configuration {id}.
PATCH /api/v1/orgs/current/login-methods Restrict login methods to SSO only · Update Allowed Login Methods #
Ask an LLM
“Can I force everyone in my organization to log in with SSO?”
“What happens when I set sso_only to true?”
Tell an agent
Set allowed login methods to SSO only: {sso_only}.
Restrict my organization to SSO logins.
GET /api/v1/orgs/current/billing/usage Get my organization's usage for a date range · Get Org Usage #
Ask an LLM
“How much has my organization used in billing terms over a period?”
“Can I see org usage for a specific start and end date?”
Tell an agent
Show usage for my organization from {starting_on} to {ending_before}.
Get billing usage for my current org over the last month.
GET /api/v1/orgs/current/billing/granular-usage Get granular usage grouped by workspace · Get Granular Usage #
Ask an LLM
“Can I see usage broken down by workspace and grouped by day or month?”
“What does granular usage look like for a single workspace?”
Tell an agent
Show granular usage for workspaces {workspace_ids} from {start_time} to {end_time}.
Group usage for workspace {workspace_ids} by {group_by}.
GET /api/v1/orgs/current/billing/granular-usage/export Export granular usage as a CSV · Export Granular Usage Csv #
Ask an LLM
“Can I download granular usage data as a CSV file?”
“Is there a CSV export of usage grouped by workspace?”
Tell an agent
Export granular usage for workspaces {workspace_ids} from {start_time} to {end_time} as CSV.
Download the granular usage CSV for workspace {workspace_ids}.
GET /api/v1/orgs/current/user/login-methods List my login methods · Get Current User Login Methods #
Ask an LLM
“Which login methods are set up for my account?”
“Can I see how I log in to my organization?”
Tell an agent
Show my login methods.
List the sign-in methods configured for my user.
POST /api/v1/orgs/current/stripe_checkout_session Start a Stripe checkout session · Create Stripe Checkout Sessions Endpoint #
Ask an LLM
“How do I start a Stripe checkout session to pay for a plan?”
“Can I set the success path when starting a Stripe checkout session?”
Tell an agent
Start a Stripe checkout session for {amount_cents} cents that returns to {success_path}.
Kick off a Stripe checkout flow for {amount_cents} cents.
POST /api/v1/orgs/current/stripe_account_links Start a Stripe account link flow · Create Stripe Account Links Endpoint #
Ask an LLM
“How do I connect a Stripe account from my organization?”
“Can I start a Stripe account link flow that returns to a success path?”
Tell an agent
Start a Stripe account link flow that returns to {success_path}.
Connect my organization's Stripe account.
GET /api/v1/orgs/current/service-keys List my organization's service keys · List Org Service Keys #
Ask an LLM
“What service keys exist for my organization?”
“Can I see the API keys scoped to my organization?”
Tell an agent
List my organization's service keys.
Show every service key scoped to my organization.
POST /api/v1/orgs/current/service-keys Create an organization service key · Create Org Service Key #
Ask an LLM
“How do I create a service key scoped to my organization?”
“Can a new organization service key be read-only or expire?”
Tell an agent
Create an organization service key described as {description}.
Create a service key scoped to my organization that expires at {expires_at}.
DELETE /api/v1/orgs/current/service-keys/{api_key_id} Delete an organization service key · Delete Org Service Key #
Ask an LLM
“How do I revoke a service key my organization owns?”
“Can I delete an organization service key by its ID?”
Tell an agent destructive · confirm first
Delete organization service key {api_key_id}.
Revoke the service key {api_key_id} from my organization.
GET /api/v1/orgs/current/personal-access-tokens List my organization's personal access tokens · List Org Personal Access Tokens #
Ask an LLM
“Which personal access tokens does my organization have?”
“Can I see the PATs scoped to my organization?”
Tell an agent
List my organization's personal access tokens.
Show every personal access token scoped to my organization.
POST /api/v1/orgs/current/personal-access-tokens Create an organization personal access token · Create Org Personal Access Token #
Ask an LLM
“How do I create a personal access token scoped to my organization?”
“Can a new organization personal access token be read-only or expire?”
Tell an agent
Create an organization personal access token described as {description}.
Create a personal access token scoped to my organization that expires at {expires_at}.
DELETE /api/v1/orgs/current/personal-access-tokens/{pat_id} Delete an organization personal access token · Delete Org Personal Access Token #
Ask an LLM
“How do I revoke a personal access token my organization owns?”
“Can I delete an organization personal access token by its ID?”
Tell an agent destructive · confirm first
Delete organization personal access token {pat_id}.
Revoke the personal access token {pat_id} from my organization.
POST /api/v1/orgs/current/set-default-sso-provision Set this org as the default SSO provision · Set Default Sso Provision #
Ask an LLM
“How do I make my organization the default for SSO provisioning?”
“Can I set the current organization as the default SSO provision?”
Tell an agent
Set this organization as the default SSO provision.
Mark my organization as the default for SSO provisioning.
GET /v1/platform/orgs/current/members List my organization's members · List org members with workspace roles #
Ask an LLM
“Who are the members of my organization?”
“Can I find organization members by email or workspace role?”
Tell an agent
List members of my organization.
Find organization members whose email matches {email_like}.

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/langsmith:langsmith-orgs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

langsmith-orgs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: LangSmith 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.'
  version: 0.1.0
servers:
- url: /
tags:


# --- truncated at 32 KB (113 KB total) ---
# Full source: https://artifacts.apis.io/langsmith/openapi/langsmith-orgs-api-openapi.yml