curl --request POST \
--url https://v2-nova-api.prod.czmx.in/org/{org_id}/quality-rules \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"penalty": 50,
"prompt": "<string>",
"is_active": true
}
'{
"created_at": "<string>",
"id": "<string>",
"is_active": true,
"is_global": true,
"key": "<string>",
"organization_id": "<string>",
"penalty": 123,
"prompt": "<string>",
"updated_at": "<string>"
}Create a new quality rule for the organization
curl --request POST \
--url https://v2-nova-api.prod.czmx.in/org/{org_id}/quality-rules \
--header 'Content-Type: application/json' \
--data '
{
"key": "<string>",
"penalty": 50,
"prompt": "<string>",
"is_active": true
}
'{
"created_at": "<string>",
"id": "<string>",
"is_active": true,
"is_global": true,
"key": "<string>",
"organization_id": "<string>",
"penalty": 123,
"prompt": "<string>",
"updated_at": "<string>"
}Organization ID
Quality rule data