接口
认证
Authorization: Bearer <api_key> 或 Authorization: ApiKey <api_key>。
路径参数
string
required
会话标识符。
响应
string
已删除的会话标识符。
string
恒为
agent.session.deleted。boolean
成功时恒为
true。Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
按标识符删除咏唱引擎云会话,并一并删除其轮次、条目、记忆片段与子智能体。该操作不可逆。
DELETE /v1/agents/sessions/{session_id}
Authorization: Bearer <api_key> 或 Authorization: ApiKey <api_key>。
agent.session.deleted。true。curl -X DELETE https://agent.example.com/v1/agents/sessions/sess_0198c... \
-H "Authorization: Bearer $ARIA_AGENT_KEY"
{
"id": "sess_0198c...",
"object": "agent.session.deleted",
"deleted": true
}
Was this page helpful?