Skip to content

Kill Switch API

GET /killswitch/status

Get current kill switch status.

bash
curl https://sovrapp.com/api/sovr/killswitch/status \
  -H "x-api-key: sk_..." \
  -H "x-tenant-id: tenant_123"

Response

json
{
  "success": true,
  "data": {
    "active": false,
    "level": null,
    "scope": null
  }
}

Or when active:

json
{
  "success": true,
  "data": {
    "active": true,
    "level": "L2",
    "scope": "finance",
    "triggeredAt": "2026-02-05T05:00:00Z",
    "triggeredBy": "risk_monitor@company.com",
    "reason": "Suspicious pattern detected"
  }
}

POST /killswitch/trigger

Trigger the kill switch.

bash
curl -X POST https://sovrapp.com/api/sovr/killswitch/trigger \
  -H "Content-Type: application/json" \
  -H "x-api-key: sk_..." \
  -H "x-tenant-id: tenant_123" \
  -d '{
    "level": "L2",
    "reason": "Suspicious activity",
    "triggeredBy": "security@company.com"
  }'

Levels

LevelScope
L1Single action type
L2Domain (finance, communication)
L3Entire tenant
L4Global (admin only)

POST /killswitch/recover

Recover from kill switch.

bash
curl -X POST https://sovrapp.com/api/sovr/killswitch/recover \
  -H "Content-Type: application/json" \
  -H "x-api-key: sk_..." \
  -H "x-tenant-id: tenant_123" \
  -d '{
    "recoveredBy": "cto@company.com",
    "comment": "Issue resolved"
  }'

The AI Responsibility Layer