{
"type": 1,
"channel": "gpt3.5",
"rule": "Incorrect API key provided: sk-kmhBz****",
"prompt": "key不正确",
"status": 0
}
curl --location --request POST '/adminapi/setting.KeyRule/add' \
--header 'token: {{adminToken}}' \
--header 'token;' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": 1,
"channel": "gpt3.5",
"rule": "Incorrect API key provided: sk-kmhBz****",
"prompt": "key不正确",
"status": 0
}'
{
"code": 1,
"show": 0,
"msg": "添加成功",
"data": []
}