Skip to main content
GET
/
v2
/
hc-rules
/
public
List rules
curl --request GET \
  --url https://api-prod.usefini.com/v2/hc-rules/public \
  --header 'Authorization: <authorization>'
Returns rules in the workspace as summary objects.
Current controller behavior: if you omit type, this route defaults to intent. Send type=business explicitly when you want Business Rules instead.

Headers

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

Query parameters

isDraft
boolean
Optional draft filter. Omit it to list published rules.
type
string
Optional rule type. Current values are intent and business. Defaults to intent.
source
string
Optional source filter. Current public enum value is widget.

Response

Returns a top-level array of Rule summary objects.
This route omits flowConfig and does not currently expand botIds. Fetch one rule by ID when you need the full tree or assignments.

Errors

The query params are malformed or use unsupported enum values.
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 rules from storage.