Kill switch
Toggle the kill switch
Turn the workspace kill switch on or off.
When on, the widget stops appearing for every visitor, /api/act returns an empty completed plan, and the MCP and artifact endpoints stop serving. Flipping the switch clears the server’s key cache, so the change takes effect on the next request rather than after the 20-second cache TTL.
A request with no body — or an unparseable one — activates the switch.
POST
Authorizations
Your secret key (sk_…) as Authorization: Bearer sk_…. The header X-Peeve-Key: sk_… is accepted as an alternative.
Body
application/json
true activates the kill switch, false clears it. Defaults to true when omitted.