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

セッション更新

セッションの label、meta、cwd を更新します。

PATCH
/agent/sessions/{id}

認証

bearerAuth
認証Bearer <token>

In: header

パスパラメータ

id*string

リクエスト本文

application/json

TypeScript 定義

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

レスポンス本文

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/agent/sessions/string" \  -H "Content-Type: application/json" \  -d '{}'
{
  "status": "updated",
  "session": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}
{
  "status": "error",
  "message": "string",
  "stack": "string"
}