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"
}