Skip to main content
POST
/
api
/
v2
/
tenants
/
{tenant}
/
databases
Creates a new database for a given tenant.
curl --request POST \
  --url https://api.trychroma.com/api/v2/tenants/{tenant}/databases \
  --header 'Content-Type: application/json' \
  --header 'x-chroma-token: <api-key>' \
  --data '
{
  "name": "<string>"
}
'
{}

Authorizations

x-chroma-token
string
header
required

Path Parameters

tenant
string
required

Tenant ID to associate with the new database

Body

application/json
name
string
required

Response

Database created successfully

The response is of type object.