Skip to content

Review suggestions Since v0.1 ​

When an endpoint is ready, the engine proposes one rule for it: its content types and a profile for every parameter. The Suggestions tab is the queue. Rejecting or restoring a suggestion changes no policy rule; approving does (Approve and preview).

Before you begin ​

  • Role: operator to reject, restore and reset; viewer reads the queue.
  • At least one endpoint must be ready. An endpoint without a suggestion needs more evidence; read its limiting factor in the URL tree.

Read the queue ​

The queue lists ready endpoints with content types, sample and client counts, confidence, evidence and a parameter table. Filter by status (new, rejected, approved, manual) and by method, path or parameter text. Content type (no body) is none in the API; any means no content type constraint.

StatusMeaning
newProposed for review.
rejectedA remembered rejection still holds.
approvedA learned rule in the policy still fits what is learned.
manualA manual rule covers the endpoint; learning never changes it.

The queue refreshes every minute. Refresh suggestions requests the current list. Counts also show endpoints still learning and suggestion overflow (ready endpoints beyond the 5,000 suggestion limit).

Reject or restore a suggestion ​

text
1. Open Request checks > Learned model > Suggestions.
2. Select Reject... beside an endpoint or a profiled parameter, and confirm.
3. To bring it back, filter by status rejected and select Restore....
sh
waap learning suggestions -app shop
waap learning reject -app shop -id SUGGESTION_ID
waap learning restore -app shop -id SUGGESTION_ID

A rejection holds while the current profile fits the rejected rule. An endpoint rejection holds until the endpoint gains a content type or a profiled or required parameter the rejection did not cover; then the suggestion returns as new. A rejected parameter stays known by name. A name-only parameter has no profile, so its Reject... button is disabled.

Stale rejections

A rejection that no longer holds (the profile changed, or the endpoint is gone) still occupies storage, up to 5,000 per application. Restore its ID with the CLI to remove it. IDs come from the suggestion list, detail or -json output. Save them before a reset if needed.

Rejections are audited, replicated and backed up, and survive a learning reset.

Reset learning ​

text
1. Open Learned model > Settings and reset.
2. Select Reset... and confirm the dialog (Reset learning).
sh
waap learning reset -yes -app shop

Reset deletes the observations for this application on every node. Settings, rules and remembered rejections stay, and enabled learning starts again. To pause without deleting, turn learning.enabled off.

WARNING

Reset cannot be undone. Without -yes, the CLI asks first.