Authorization: Bearer ********************
curl --location --request POST 'https://cn2us02.opapi.win/api/v1/user/parameter-override/export-rules' \
--header 'Authorization: Bearer <token>'
{
"rules": [
{
"_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
}
],
"data": [
{
"_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
}
]
}