1. Hippo - API
Adventists - API Doc
  • Overall
  • v2.5 Updates
  • Quick Start
  • TCP - Chat With Voice
    • Emoji Mode Integration Guide
    • Connect with TCP
    • Connect with VAD
    • Connect with MCP
    • Get Token
      POST
  • Settings Management
    • Args Description
    • Hippo - Character Memory Management Microservice
    • Device / Character Block Management
    • Template
      • Query Public Template List
      • Query Current Org Template (including private and public template)
      • Create Template
      • Query Template By ID
      • Modify Template
      • Delete Template
      • Send Memories To Template
    • NPC
      • Create Npc With Template
      • Create Npc Without Template
      • Query Npc By Id
      • Modify Npc
      • Delete Npc
      • Send Memories To Npc
      • Query Memories From Npc
    • Skills Book
      • Query Skills Book List
      • Start Create Skills Book Task
      • Upload Skills Book Content
      • Finish Create Skills Book Task
      • Query Progress Of Create Skills Book Task
    • Voice Texture
      • Upload Voice Texture
        • Upload Voice
        • Query Status Of Uploading Voice
      • Query Voice List
    • Hippo - API
      • Get the Personal Knowledge Graph (PKG) of the specified character
        GET
      • Retrieve relationship data for the specified character.
        GET
      • Retrieve diary data for the specified character.
        GET
      • Update the character's PKG.
        PUT
      • Trigger Dream
        POST
      • Dialogue Memory API
        POST
      • Read Conversation Memory
        GET
    • Device / Character Block- API
      • Device/Character Ban
      • Device/Character Unban
      • Query Ban List
      • Query Single Ban Status
  • Other Chat Functions
    • Upload Pictures
      POST
  1. Hippo - API

Update the character's PKG.

开发中
PUT
/api/pkg/{npcid}

请求参数

Path 参数

Header 参数

Body 参数application/json必填

示例
{
    "updates":[
        {"key": "Hobbies", "value": "游泳,画画"},
        {"key": "Favorite Books", "value": ["三体", "百年孤独"]}
    ]
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request PUT 'https://v1.adventists.ai/api/pkg/' \
--header 'api-key: AN26Q7MVO04RS6VWIWTE8OQ4BD6DZR98' \
--header 'org-id: WOQSOC' \
--header 'Content-Type: application/json' \
--data '{
    "updates":[
        {"key": "Hobbies", "value": "游泳,画画"},
        {"key": "Favorite Books", "value": ["三体", "百年孤独"]}
    ]
}'

返回响应

🟢200成功
application/json
Bodyapplication/json

示例
{
    "status": "ok",
    "updated_fields": [
        "Hobbies",
        "Favorite Books"
    ]
}
修改于 2026-04-23 03:55:33
上一页
Retrieve diary data for the specified character.
下一页
Trigger Dream
Built with