Skip to content

API Reference

The SOVR API is organized around REST. All requests and responses use JSON.

Base URL

https://sovrapp.com/api/sovr

Authentication

All API requests require authentication via API key:

bash
curl -X POST https://sovrapp.com/api/sovr/gate/check \
  -H "Content-Type: application/json" \
  -H "x-api-key: sk_..." \
  -H "x-tenant-id: your-tenant-id" \
  -d '{"action": "send_email", "context": {}}'

Response Format

Success:

json
{
  "success": true,
  "data": { ... }
}

Error:

json
{
  "success": false,
  "error": "error_code",
  "message": "Human readable message"
}

Rate Limits

PlanRequests/minute
Free60
Pro600
EnterpriseUnlimited

Endpoints

EndpointDescription
POST /gate/checkExecute gate check
POST /gate/riskRisk assessment
GET /approvalsList pending approvals
POST /approvals/:id/approveApprove request
POST /approvals/:id/rejectReject request
GET /audit/chainGet audit trail
POST /audit/verifyVerify chain integrity
GET /killswitch/statusGet kill switch status
POST /killswitch/triggerTrigger emergency stop
POST /killswitch/recoverRecover from halt
GET /evidence/bundle/:idExport trust bundle
POST /evidence/verifyVerify trust bundle

The AI Responsibility Layer