Skip to main content
POST
/
orgs
/
{org_id}
/
k2
cURL
curl --request POST \
  --url https://api.timbal.ai/orgs/{org_id}/k2 \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>"
}
'
{
  "id": "<string>",
  "name": "<string>",
  "path": "<string>",
  "uid": "<string>"
}

Authorizations

Authorization
string
header
required

Timbal API key. Obtain your API key from the Timbal platform settings. See Authentication for more information.

Path Parameters

org_id
string
required

Body

application/json
name
string | null

Name for the new knowledge base

Response

201 - application/json

Knowledge base created

id
string
required
name
string
required
path
string
required
uid
string
required