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

モデル変更

実行中セッションのモデルを変更します。

POST
/agent/set-model

認証

bearerAuth
認証Bearer <token>

In: header

クエリパラメータ

session?string

リクエスト本文

application/json

TypeScript 定義

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

model*string

レスポンス本文

application/json

application/json

application/json

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