Duplicate rule
Rules
Duplicate rule
Create a copy of an existing rule.
POST
Duplicate rule
Creates a copy of one existing rule.
Headers
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs write scope.application/jsonPath parameters
Rule ID to duplicate.
Body parameters
Optional name override for the duplicated rule.
Optional description override for the duplicated rule.
Response
Returns the duplicatedRule.
Current controller behavior:
- Duplicating an
intentrule creates a draft copy. - Duplicating a
businessrule creates a non-draft copy. - The duplicate response is returned directly from storage, so
botIdsare not expanded. Call Get rule if you need the enriched read shape.
Errors
400 Bad Request
400 Bad Request
Current service behavior: template-based rules cannot be duplicated.
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key does not include the
write scope required for this route.404 Not Found
404 Not Found
The rule ID does not exist in your workspace.
500 Internal Server Error
500 Internal Server Error
Fini failed while creating the duplicate in storage.

