SNA

Set model

Change the model for a live session.

POST
/agent/set-model

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Query Parameters

session?string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

model*string

Response Body

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