Skip to main content
PUT
/
api
/
knowledge
/
categories
/
{category_id}
Update an existing category
curl --request PUT \
  --url https://{tenant}.app.big-panda.ai/api/knowledge/categories/{category_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "description": "<string>",
  "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sort_order": 1
}
'
{
  "name": "<string>",
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "tenant_id": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "description": "<string>",
  "parent_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "sort_order": 0
}

Documentation Index

Fetch the complete documentation index at: https://docs.big-panda.ai/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API-Token aus dem Big-Panda-Admin-UI unter Einstellungen → API-Keys. Header: Authorization: Bearer <token>.

Path Parameters

category_id
string<uuid>
required

Body

application/json

Payload for updating an existing category.

All fields are optional. Only fields that are explicitly provided will be modified — other fields keep their current value.

Note: parent_id can be set to null explicitly to move a category to the top level. Pydantic distinguishes "not in payload" from "explicitly null" via model_fields_set.

name
string | null
Required string length: 1 - 200
description
string | null
parent_id
string<uuid> | null
sort_order
integer | null
Required range: x >= 0

Response

Successful Response

Category data returned in HTTP responses.

name
string
required
Required string length: 1 - 200
id
string<uuid>
required
tenant_id
string
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
description
string | null
parent_id
string<uuid> | null

UUID of the parent category, or null for a top-level category

sort_order
integer
default:0
Required range: x >= 0