Skip to main content
POST
/
api
/
v1
/
orgs
/
{org_id}
/
knowledge-bases
Create Knowledge Base
curl --request POST \
  --url https://api.example.com/api/v1/orgs/{org_id}/knowledge-bases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "",
  "tags": [],
  "access_permissions": {}
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

org_id
string
required

Body

application/json
name
string
required
description
string | null
default:""
tags
string[] | null
access_permissions
Access Permissions · object

Response

Successful Response