1. Knowledge Management
AboAI-Doc
English
  • 中文
  • English
  • Home Page
  • AboAi-API
    • Model
      • Native OpenAI Format
      • Native Gemini Format
    • Chat
      • Native OpenAI Format
      • Native Gemini Format
      • Native Claude Format
      • Responses Request (openai)
    • Audio
      • Native OpenAI Format TTS
      • Native Gemini Format TTS
    • Images
      • Native OpenAI Format Image Generation
      • Native Gemini Format Image Generation
      • Native OpenAI Format Image Editing (JSON)
      • Native OpenAI Format Image Editing (Multipart)
    • Video
      • Seedance2.0 format
        • Create Video Generation Task
        • Query Video Generation Task Status
    • Vector
      • Embeddings
        • Create Embedding
    • Translation
      • Speech Translation
    • Knowledge
      • Knowledge Management
        • List Knowledge Bases
          GET
        • Create Knowledge Base
          POST
        • Update Knowledge Base
          PUT
        • Get Knowledge Base Details
          GET
        • Delete Knowledge Base
          DELETE
      • Attachments
        • List Attachments
        • Upload Attachment
        • Get Attachment Status
        • Get Attachment Details
        • Delete Attachment
      • Search & Chat
        • Knowledge Search
        • RAG Chat
  • AI application
    • AboAI API Integration with Claude Code
    • AboAI API Integration with Cursor
    • AboAI API Integration with Codex-cli
    • AboAI API Integration with Codex Desktop
    • AboAI API Integration with Hermes Agent
  1. Knowledge Management

Update Knowledge Base

PUT
/v1/knowledge
Update display fields of a knowledge base by ID. Partial update: a null (omitted) field is left unchanged. The embedding model, dimension, etc. cannot be changed.

Request

Header Params

Body Params application/jsonRequired

Examples

Responses

🟢200Success
application/json
Success
Bodyapplication/json

🟠400Bad Request
🟠401Forbidden
🔴500Server Error
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://vipapi.aboai.ai/v1/knowledge' \
--header 'Authorization: Bearer {{apiKey}}' \
--header 'Content-Type: application/json' \
--data '{
    "kid": "2uye7yr3",
    "kname": "Product manual KB - updated",
    "domain": "Updated domain",
    "systemPrompt": "You are a product assistant"
}'
Response Response Example
200 - Example 1
{
    "code": 0,
    "msg": "string",
    "data": null
}
Modified at 2026-11-04 09:19:19
Previous
Create Knowledge Base
Next
Get Knowledge Base Details
Built with