跳转到内容

Notify

基础信息

  • Base URL: https://api.ticos.cn
  • POST /agent/notify
  • POST /knowledge/notify

1. 通知 Agent 变更

请求

  • Endpoint: POST /agent/notify
  • Content-Type: application/json
  • 请求体:
    • agent_id(必填):Agent ID

示例

curl --location 'https://api.ticos.cn/agent/notify' \
--header 'Content-Type: application/json' \
--data '{"agent_id": "26"}'

响应

{
"code": 0,
"message": "notify success"
}

2. 通知知识库变更

请求

  • Endpoint: POST /knowledge/notify
  • Content-Type: application/json
  • 请求体:空对象 {} (或按具体部署要求传参)

示例

curl --location 'https://api.ticos.cn/knowledge/notify' \
--header 'Content-Type: application/json' \
--data '{}'

响应

{
"code": 0,
"message": "notify success"
}