Authorization: Bearer ********************
{
"ruleName": "启用对话存储",
"description": "为所有 Chat API 请求启用存储",
"priority": 80,
"conditions": [
{
"scope": "api",
"apiType": "chat.completions"
}
],
"actions": [
{
"type": "override",
"field": "store",
"value": false
}
]
}
curl --location --request POST 'https://cn2us02.opapi.win/api/v1/user/parameter-override/create-rule' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ruleName": "启用对话存储",
"description": "为所有 Chat API 请求启用存储",
"priority": 80,
"conditions": [
{
"scope": "api",
"apiType": "chat.completions"
}
],
"actions": [
{
"type": "override",
"field": "store",
"value": false
}
]
}'
{
"ruleId": "string"
}