trust-rules

Create a trust rule

Changed on
post/v1/trust-rules

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /v1/trust-rules
  • Auth
    none declared

Request body

toolstring required
patternstring required
risk'low' | 'medium' | 'high' required
descriptionstring required
scope'everywhere'

Compatibility field. Trust rules apply workspace-wide: the engine matches on (tool, pattern) only, so a narrower scope cannot be honored and any value other than "everywhere" is rejected rather than stored broader than the consent it records.

Response

Successful response

Changes