Skip to content
Last updated
POSThttps://api.aitronos.com/v1/organizations/{org_id}/rules/{rule_id}/duplicate

Duplicate an existing rule to create a new rule with the same content and configuration.

org_id string required

The organization ID

rule_id string required

The ID of the rule to duplicate

Returns

Returns the newly created rule object with a new ID and incremented name (e.g., "Rule Name (Copy)").

curl -X POST https://api.aitronos.com/v1/organizations/org_123abc/rules/rule_a1b2c3d4/duplicate \
  -H "X-API-Key: $FREDDY_API_KEY"