Skip to main content
POST
/
api
/
v1
/
orgs
Error
A valid request URL is required to generate request examples
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "display_name": "<string>",
  "is_personal": true,
  "disabled": true,
  "created_at": "2023-11-07T05:31:56Z",
  "created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_by_ls_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "modified_at": "2023-11-07T05:31:56Z",
  "sso_login_slug": "<string>",
  "sso_only": false,
  "jit_provisioning_enabled": true,
  "invites_enabled": true,
  "public_sharing_disabled": false,
  "pat_creation_disabled": false,
  "workspace_admin_can_invite_to_org": false,
  "default_sso_provision": false,
  "max_api_key_expiry_days": 123,
  "security_contact": "<string>",
  "max_pat_expiry_days": 123,
  "max_service_key_expiry_days": 123,
  "scim_group_name_separator": ":",
  "llm_auth_proxy_enabled": true,
  "llm_auth_proxy_jwt_audience": "<string>",
  "ip_allowlist": [
    "<string>"
  ],
  "restrict_browser_secrets": true,
  "llm_auth_proxy_allowed_urls": [
    "<string>"
  ],
  "engine_enabled": true
}

Documentation Index

Fetch the complete documentation index at: https://docs.langchain.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer tokens are used to authenticate from the UI. Must also specify x-tenant-id or x-organization-id (for org scoped apis).

Body

application/json

Create organization schema.

display_name
string
required
Minimum string length: 1
Pattern: ^[a-zA-Z0-9\-_ ]+$
is_personal
boolean
required
security_contact
string<email> | null

Response

Successful Response

Schema for an organization in postgres for list views.

id
string<uuid>
required
display_name
string
required
is_personal
boolean
required
disabled
boolean
required
tier
enum<string> | null
Available options:
no_plan,
developer,
developer_01_2026,
plus,
plus_01_2026,
enterprise,
developer_legacy,
plus_legacy,
free,
enterprise_legacy,
startup,
startup_v0,
partner,
premier
created_at
string<date-time> | null
created_by_user_id
string<uuid> | null
created_by_ls_user_id
string<uuid> | null
modified_at
string<date-time> | null
sso_login_slug
string | null
sso_only
boolean
default:false
jit_provisioning_enabled
boolean
default:true
invites_enabled
boolean
default:true
public_sharing_disabled
boolean
default:false
pat_creation_disabled
boolean
default:false
workspace_admin_can_invite_to_org
boolean
default:false
default_sso_provision
boolean
default:false
max_api_key_expiry_days
integer | null
security_contact
string | null
max_pat_expiry_days
integer | null
max_service_key_expiry_days
integer | null
scim_group_name_separator
string
default::
llm_auth_proxy_enabled
boolean | null
llm_auth_proxy_jwt_audience
string | null
ip_allowlist
string[] | null
restrict_browser_secrets
boolean | null
llm_auth_proxy_allowed_urls
string[] | null
engine_enabled
boolean | null