Skip to main content
POST
Create an organization

Authorizations

Authorization
string
header
required

Instance administrator key, set as LANGWATCH_INSTANCE_ADMIN_API_KEY on a self-hosted deployment. It exists to create the first organization, before any organization key does; every other management API takes an organization key instead.

Body

application/json
name
string
required
Required string length: 1 - 255
slug
string
Required string length: 1 - 255
Pattern: ^[a-z0-9]+(?:-[a-z0-9]+)*$
adminApiKeyName
string
Required string length: 1 - 100

Response

Organization created. adminApiKey.token is the bootstrap credential and is only shown once.

organization
object
team
object
adminApiKey
object