This endpoint requires admin privileges.
string
required
Bearer token obtained from the authenticate endpoint. The authenticated user must be an admin.
string
required
The rule content. Write rules as clear directives — for example: “Always respond in the user’s language” or “Do not reference competitor products.”
Response
Returns the created rule object.string
Unique rule ID (UUID).
string
Organization this rule belongs to.
string
The rule content.
integer
Zero-based position in the organization’s ordered rule list. New rules are appended.
string
Member ID of the admin who created this rule.
string
Member ID of the admin who last updated this rule.
string
Display name of the admin who last updated this rule.
string
ISO 8601 timestamp when the rule was created.
string
ISO 8601 timestamp when the rule was last updated.