curl --request POST \
--url https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": "<string>",
"layer": "<string>",
"tags": [
"<string>"
],
"language": "de",
"metadata": {},
"source": "manual",
"source_reference": "<string>"
}
'import requests
url = "https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal"
payload = {
"title": "<string>",
"content": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": "<string>",
"layer": "<string>",
"tags": ["<string>"],
"language": "de",
"metadata": {},
"source": "manual",
"source_reference": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
content: '<string>',
category_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
summary: '<string>',
layer: '<string>',
tags: ['<string>'],
language: 'de',
metadata: {},
source: 'manual',
source_reference: '<string>'
})
};
fetch('https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'content' => '<string>',
'category_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'summary' => '<string>',
'layer' => '<string>',
'tags' => [
'<string>'
],
'language' => 'de',
'metadata' => [
],
'source' => 'manual',
'source_reference' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"category_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"summary\": \"<string>\",\n \"layer\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"language\": \"de\",\n \"metadata\": {},\n \"source\": \"manual\",\n \"source_reference\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"category_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"summary\": \"<string>\",\n \"layer\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"language\": \"de\",\n \"metadata\": {},\n \"source\": \"manual\",\n \"source_reference\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"category_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"summary\": \"<string>\",\n \"layer\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"language\": \"de\",\n \"metadata\": {},\n \"source\": \"manual\",\n \"source_reference\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"title": "<string>",
"content": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visibility": "public",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "<string>",
"type": "knowledge",
"version": 123,
"language": "<string>",
"translation_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "manual",
"source_reference": "<string>",
"embedding_model": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"summary": "<string>",
"layer": "<string>",
"tags": [
"<string>"
],
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"search_keywords": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Create a personal knowledge entry (private note)
Creates an entry with visibility=‘personal’, owned by the authenticated user. Body fields visibility (if present) are ignored — the endpoint enforces personal semantics. Requires an authenticated user; anonymous API keys are rejected.
curl --request POST \
--url https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"title": "<string>",
"content": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": "<string>",
"layer": "<string>",
"tags": [
"<string>"
],
"language": "de",
"metadata": {},
"source": "manual",
"source_reference": "<string>"
}
'import requests
url = "https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal"
payload = {
"title": "<string>",
"content": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"summary": "<string>",
"layer": "<string>",
"tags": ["<string>"],
"language": "de",
"metadata": {},
"source": "manual",
"source_reference": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({
title: '<string>',
content: '<string>',
category_id: '3c90c3cc-0d44-4b50-8888-8dd25736052a',
summary: '<string>',
layer: '<string>',
tags: ['<string>'],
language: 'de',
metadata: {},
source: 'manual',
source_reference: '<string>'
})
};
fetch('https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'title' => '<string>',
'content' => '<string>',
'category_id' => '3c90c3cc-0d44-4b50-8888-8dd25736052a',
'summary' => '<string>',
'layer' => '<string>',
'tags' => [
'<string>'
],
'language' => 'de',
'metadata' => [
],
'source' => 'manual',
'source_reference' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>",
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal"
payload := strings.NewReader("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"category_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"summary\": \"<string>\",\n \"layer\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"language\": \"de\",\n \"metadata\": {},\n \"source\": \"manual\",\n \"source_reference\": \"<string>\"\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Authorization", "Bearer <token>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal")
.header("Authorization", "Bearer <token>")
.header("Content-Type", "application/json")
.body("{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"category_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"summary\": \"<string>\",\n \"layer\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"language\": \"de\",\n \"metadata\": {},\n \"source\": \"manual\",\n \"source_reference\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://{tenant}.app.big-panda.ai/api/knowledge/knowledge-entries/personal")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Authorization"] = 'Bearer <token>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"title\": \"<string>\",\n \"content\": \"<string>\",\n \"category_id\": \"3c90c3cc-0d44-4b50-8888-8dd25736052a\",\n \"summary\": \"<string>\",\n \"layer\": \"<string>\",\n \"tags\": [\n \"<string>\"\n ],\n \"language\": \"de\",\n \"metadata\": {},\n \"source\": \"manual\",\n \"source_reference\": \"<string>\"\n}"
response = http.request(request)
puts response.read_body{
"title": "<string>",
"content": "<string>",
"category_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"visibility": "public",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"tenant_id": "<string>",
"type": "knowledge",
"version": 123,
"language": "<string>",
"translation_group_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"source": "manual",
"source_reference": "<string>",
"embedding_model": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"summary": "<string>",
"layer": "<string>",
"tags": [
"<string>"
],
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"created_by_user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"metadata": {},
"search_keywords": [
"<string>"
]
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
API-Token aus dem Big-Panda-Admin-UI unter Einstellungen → API-Keys. Header: Authorization: Bearer <token>.
Headers
Space-separated scope set from the token (ADR-015)
Audit-channel from the gateway (M.5)
OAuth client_id; only set for MCP-channel calls
Body
Payload for creating a personal knowledge entry (private note).
Personal notes are not their own type — they are 'knowledge'-type
entries with visibility='personal' (Konzept-Doc §7). The endpoint
nails type to 'knowledge', so metadata validates against
KnowledgeMetadata (free-form).
1 - 5001502 - 5Where a knowledge entry originated from.
manual, import, conversational, learning_loop, system Response
Successful Response
Knowledge entry data returned in HTTP responses.
1 - 5001Allowed values for the visibility field of a knowledge entry.
'personal' is ownership-gated (ADR-015 §3a): it exists in the enum so responses carrying it validate correctly, but write-side routes block it on the main path — personal entries are created via POST /knowledge-entries/personal only.
'workspace' (ROADMAP M.8) is the workspace-scoped visibility hook.
Code accepts the value passively until tenants.workspaces_enabled
is flipped on; today no read path filters by it.
public, internal, personal, restricted, community, workspace Allowed values for the type discriminator (ADR-020).
Mirrors ALLOWED_TYPES in app/models/knowledge_entry.py and the
DB CHECK constraint added in migration 0026. Each value selects a
metadata-schema in app/schemas/entry_metadata.py.
knowledge, skill, process, glossary, memory, bootstrap, skill_index Where a knowledge entry originated from.
manual, import, conversational, learning_loop, system 50