List rules
Rules
List rules
List rules in the workspace by type and draft state.
GET
List rules
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
Bearer token containing your Fini workspace API key. Format:
Bearer fini_... The key needs read scope.Query parameters
Optional draft filter. Omit it to list published rules.
Optional rule type. Current values are
intent and business. Defaults to intent.Optional source filter. Current public enum value is
widget.Response
Returns a top-level array ofRule 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
400 Bad Request
400 Bad Request
The query params are malformed or use unsupported enum values.
401 Unauthorized
401 Unauthorized
403 Forbidden
403 Forbidden
The API key does not include the
read scope required for this route.500 Internal Server Error
500 Internal Server Error
Fini failed while loading rules from storage.

