Read an app's rules
get_rulesNeeds an API key. Returns the Rules settings of one of your apps: shadow or enforce mode, the challenge and block score cutoffs, what a challenge does in the Supabase and Ory hooks, the message a refused person sees, the "Why was this refused?" link, the velocity thresholds and the setting of each check. The context part lists your plan, the checks that need a higher plan, the values each check takes and the defaults. A key made for one app reads that app, so leave out "app". An older all-apps key needs "app".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| app | No | The app id (app_...). Leave it out with a key made for one app. An older all-apps key needs it. |