Skip to main content
POST
/
model-monitor
/
v2
/
api
/
setting
/
user
Update the existing user setting for the user.
curl --request POST \
  --url https://api.example.com/model-monitor/v2/api/setting/user \
  --header 'Content-Type: application/json' \
  --header 'X-Domino-Api-Key: <api-key>' \
  --data '
{
  "numOfLastChecks": 123,
  "numOfPredictionTrafficDays": 123
}
'
{
  "id": "<string>",
  "createdAt": 123,
  "updatedAt": 123,
  "userId": "<string>",
  "numOfLastChecks": 123,
  "numOfPredictionTrafficDays": 123
}

Authorizations

X-Domino-Api-Key
string
header
required

Body

application/json

User related config used to configure DMM.

numOfLastChecks
integer

Number of last checks to fetch for a model while listing models.

numOfPredictionTrafficDays
integer

Number of days worth prediction traffic to fetch while listing models.

Response

User Settings updated successfully.

User related config used to configure DMM.

id
string
required

User Setting Identifier.

createdAt
integer
required

Creation timestamp of the User Setting.

updatedAt
integer
required

Last update timestamp for the User Setting.

userId
string
required

User Identifier.

numOfLastChecks
integer

Number of last checks to fetch for a model while listing models.

numOfPredictionTrafficDays
integer

Number of days worth prediction traffic to fetch while listing models.