Authorization: Bearer ********************
{
"ruleId": "68b9aadde16b819252562fa8"
}
curl --location --request POST 'https://cn2us02.opapi.win/api/v1/user/parameter-override/get-rule' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
"ruleId": "68b9aadde16b819252562fa8"
}'
{
"_id": "string",
"ruleId": "string",
"ruleName": "string",
"description": "string",
"priority": 0,
"enabled": true,
"conditions": [
{
"scope": "api",
"apiType": "chat.completions",
"secretKey": "string",
"model": "string"
}
],
"actions": [
{
"type": "override",
"field": "string",
"value": null
}
],
"createdAt": "2019-08-24T14:15:22Z",
"updatedAt": "2019-08-24T14:15:22Z",
"lastAppliedAt": "2019-08-24T14:15:22Z",
"applyCount": 0
}