SNA
エンドポイントリファレンス

セッション再開

DB 履歴を注入してセッションを再開します。

POST
/agent/resume

認証

bearerAuth
認証Bearer <token>

In: header

クエリパラメータ

session?string

リクエスト本文

application/json

TypeScript 定義

TypeScript で request body 型を使用します。

レスポンス本文

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/agent/resume" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "resumed",
  "provider": "string",
  "sessionId": "string",
  "historyCount": 0
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}