# prov.authorize.policies.ruleSuggestions

prov.authorize.policies.ruleSuggestions in the Node SDK: 5 methods. `authorize.policies.ruleSuggestions` (checkout) or `identify.policies.ruleSuggestions` (traffic).

## Methods

### [list](https://provenanceauth.com/docs/sdks/node/authorize-policies-rule-suggestions/list.md)

```ts
prov.authorize.policies.ruleSuggestions.list(params?: ListRuleSuggestionsParams): Promise<ListResponse<RuleSuggestion>>
```

Open, shadowed and recent (90 days) suggestions, newest first; `status` filters.

### [get](https://provenanceauth.com/docs/sdks/node/authorize-policies-rule-suggestions/get.md)

```ts
prov.authorize.policies.ruleSuggestions.get(id: string): Promise<RuleSuggestion>
```

### [refresh](https://provenanceauth.com/docs/sdks/node/authorize-policies-rule-suggestions/refresh.md)

```ts
prov.authorize.policies.ruleSuggestions.refresh(): Promise<RuleSuggestionRefresh>
```

Run the drafts now (once a day per product; 429 after).

### [shadow](https://provenanceauth.com/docs/sdks/node/authorize-policies-rule-suggestions/shadow.md)

```ts
prov.authorize.policies.ruleSuggestions.shadow(id: string): Promise<RuleSuggestion>
```

A draft version (the live rules plus this rule), shadowed on live traffic; the suggestion's `shadowVersion` names it.

### [dismiss](https://provenanceauth.com/docs/sdks/node/authorize-policies-rule-suggestions/dismiss.md)

```ts
prov.authorize.policies.ruleSuggestions.dismiss(id: string): Promise<RuleSuggestion>
```

Hide it for 90 days; a draft with the same conditions isn't suggested again meanwhile.
