curl --request POST \
--url https://api.example.com/admin/ai/model/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"aiModelTypeID": 123,
"aiModelTitle": "<string>",
"aiModelOfficialTitle": "<string>",
"aiModelPlatformID": 123,
"tokenInputCost": 123,
"tokenOutputCost": 123,
"isFeatured": true
}
'{
"success": true,
"data": "<unknown>"
}Saves or updates the AIModelType and its value
curl --request POST \
--url https://api.example.com/admin/ai/model/save \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"aiModelTypeID": 123,
"aiModelTitle": "<string>",
"aiModelOfficialTitle": "<string>",
"aiModelPlatformID": 123,
"tokenInputCost": 123,
"tokenOutputCost": 123,
"isFeatured": true
}
'{
"success": true,
"data": "<unknown>"
}The access token received from the authorization server in the OAuth 2.0 flow.