Adventists - API Doc
  1. NPC
Adventists - API Doc
  • Overall
  • v2.5 Updates
  • Quick Start
  • TCP - Chat With Voice
    • Connect with TCP
    • Connect with VAD
    • Connect with MCP
    • Get Token
      POST
  • Settings Management
    • Args Description
    • 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
        POST
      • Create Npc Without Template
        POST
      • Query Npc By Id
        POST
      • Modify Npc
        POST
      • Delete Npc
        POST
      • Send Memories To Npc
        POST
      • Query Memories From Npc
        POST
    • 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
  • Other Chat Functions
    • Upload Pictures
      POST
  1. NPC

Send Memories To Npc

POST
/npc

请求参数

Header 参数

Body 参数application/json

示例
{
    "action": "send_npc_memory",
    "npcid": "string",
    "new_user_entry": "string",
    "new_assistant_entry": "string"
}

请求示例代码

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://v1.adventists.ai/npc' \
--header 'api-key: AN26Q7MVO04RS6VWIWTE8OQ4BD6DZR98' \
--header 'api-key: AN26Q7MVO04RS6VWIWTE8OQ4BD6DZR98' \
--header 'org-id: WOQSOC' \
--header 'org-id: WOQSOC' \
--header 'Content-Type: application/json' \
--data-raw '{
    "action": "send_npc_memory",
    "npcid": "string",
    "new_user_entry": "string",
    "new_assistant_entry": "string"
}'

返回响应

🟢200成功
application/json
Body

示例
{
    "message": "done",
    "status": "success",
    "code": 200
}
修改于 2025-09-12 13:05:23
上一页
Delete Npc
下一页
Query Memories From Npc
Built with