Skip to main content
POST
/
knowledge-bases
Create Knowledge Base
curl --request POST \
  --url https://api.truedy.ai/api/public/v1/knowledge-bases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "Product Knowledge Base",
  "description": "Information about our products and services"
}
'
{
  "data": {
    "id": "kb_637f35c4-8",
    "name": "Product Knowledge Base",
    "description": "Information about our products",
    "status": "active",
    "created_at": "2026-03-03T20:30:21.310278Z"
  },
  "meta": {
    "request_id": "req_32e7531c-8",
    "timestamp": "2026-03-03T20:30:21.310278Z"
  }
}

Authorizations

Authorization
string
header
required

Your API key. Get it from the Truedy Dashboard. Send as: Authorization: Bearer <your_key>

Body

application/json
name
string
required
Minimum string length: 1
description
string | null
content
string | null

Response

Resource created successfully

Response body