Skip to main content
GET
List default Business Rules
Returns Fini-provided Business Rule templates as summary objects. Use a template’s id as defaultRuleId when creating a template-based rule.
This endpoint supports Business Rules only. The repository filters default templates to type=business.

Headers

string
required
Bearer token containing your Fini workspace API key. Format: Bearer fini_... The key needs read scope.

Query parameters

string
Optional source filter. The current enum value is widget.

Response

Returns an array of Rule summary objects without flowConfig.
Default templates have companyId: null. A workspace rule created from a template references it through defaultRuleId and cannot provide its own flowConfig.

Errors

source is not a supported rule source.
The API key is missing, malformed, revoked, or invalid.
The API key does not include the read scope required for this route.
Fini failed while loading default rules.