POST
/
api
/
organization
Create Organization
curl --request POST \
  --url https://api.trieve.ai/api/organization \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>"
}'
{
  "created_at": "2021-01-01 00:00:00.000",
  "id": "e3e3e3e3-e3e3-e3e3-e3e3-e3e3e3e3e3e3",
  "name": "Trieve",
  "partner_configuration": {
    "COMPANY_NAME": "Trieve",
    "DEMO_DOMAIN": "demos.trieve.ai",
    "FAVICON_URL": "https://cdn.trieve.ai/favicon.ico"
  },
  "registerable": true,
  "updated_at": "2021-01-01 00:00:00.000"
}

Authorizations

Authorization
string
header
required

Body

application/json

The organization data that you want to create

name
string
required

The arbitrary name which will be used to identify the organization. This name must be unique.

Response

Created organization object

created_at
string<date-time>
required

Timestamp of the creation of the dataset

deleted
integer
required

Flag to indicate if the organization has been deleted. Deletes are handled async after the flag is set so as to avoid expensive search index compaction.

id
string<uuid>
required

Unique identifier of the dataset, auto-generated uuid created by Trieve

name
string
required

Name of the organization

partner_configuration
any
required

Configuration of the organization for the Trieve partner program. Contact partnerships@trieve.ai for more details.

updated_at
string<date-time>
required

Timestamp of the last update of the dataset

registerable
boolean | null

Flag to indicate whether or not new users may join the organization. Default is true.