Skip to content

Guard

A Guard is a check every outbound Message and publish passes, from code rules to model review to a Human for high stakes.

Properties

PropertyTypeRequiredDescription
tierstringrequiredOne of code, model, reviewer, or human.
checksstringWhat it refuses; a claim Guard checks a stated term or promise against the record that backs it. Never randomized.

Object

JSON
{
  "$id": "https://api.sb/shiftnote.app/guards/guard_1",
  "$type": "Guard",
  "tier": "code",
  "checks": "tone"
}

Relationships

Verbs

  1. createCreates a Guard.
    POST /{namespace}/guardsdoGuard.created
  2. getReturns one Guard by id.
    GET /{namespace}/guards/{id}readNo Event
  3. listReturns Guards, newest first, one page at a time.
    GET /{namespace}/guardsreadNo Event
  4. updateChanges the given properties of a Guard.
    PATCH /{namespace}/guards/{id}doGuard.updated
  5. deleteDeletes a Guard; its history is kept.
    DELETE /{namespace}/guards/{id}doGuard.deleted

Permissions

Which Access level may call each Verb. One-way Verbs wait their delay window.

Operationowneradminmemberviewer
Guard.createYesYesNoNo
Guard.getYesYesYesYes
Guard.listYesYesYesYes
Guard.updateYesYesNoNo
Guard.deleteYesYesNoNo

Call it

Text
Add a guard to RouteWise.

Example

A Guard blocks a sales email that promises "guaranteed 100% accuracy," because the Offer warrants 99.5%. The Agent rewrites it before it sends.