API & Integrations

CI

Requests Β· 24h

…

Delivered Β· 24h

…

Blocked Β· 24h

…

Error Rate

…

Your Service API Keys

Connect your own Gemini and QEmail Smart Connect accounts. Lobster Trap DPI is shared infrastructure β€” no key needed.

Gemini API

Not set

Google AI Studio β†’ Create API key (free tier available)

QEmail Smart Connect

Not set

QEmail Smart Connect dashboard β†’ API Keys

πŸ›‘οΈ

Lobster Trap DPI

Shared infrastructure β€” no API key required. All organisations use the same Hugging Face Space.

βœ“ Shared

API Keys

Use these to authenticate requests from your application to the SovereignGuard gateway.

Quick Integration

Drop this into your service β€” it calls the real gateway endpoint.

curl -X POST https://sovereign-guard-ai.gastonsoftwaresolutions234.workers.dev/v1/send-secure-notification \
  -H "Authorization: Bearer sgai_live_β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’β€’" \
  -H "Content-Type: application/json" \
  -d '{
    "recipient_email": "patient@example.com",
    "policy_type": "hipaa",
    "notification_subtype": "lab_results",
    "raw_prompt_input": "Your lab results are ready for review.",
    "template_context": {
      "subject": "Lab Results Ready",
      "client_name": "Jane Doe"
    }
  }'
POST/v1/send-secure-notificationβ€” Send a notification
GET/v1/audit-logsβ€” Fetch audit trail
GET/v1/policiesβ€” List DPI rules
GET/v1/healthβ€” Liveness probe

Webhook Endpoints

Receive real-time delivery verdicts pushed to your own infrastructure.

Payload shape

{
  "event":          "dispatch.sent",
  "transaction_id": "SGT-L8X9K2-A7B3C1",
  "timestamp":      "2026-05-12T09:00:00.000Z",
  "recipient":      "user@example.com",
  "policy_type":    "hipaa",
  "subtype":        "lab_results",
  "threat_score":   0.12,
  "status":         "delivered"
}

Hybrid Architecture

SovereignGuard supports two integration modes β€” use either or both simultaneously.

Dashboard Mode

Use the Interactive Sandbox to compose and send notifications directly from this UI. No code required β€” ideal for ops teams and one-off dispatches.

SandboxPolicy ManagerAudit LogsReports

API Mode

Wire your backend directly to POST /v1/send-secure-notification. Every request passes through the same DPI β†’ Gemini β†’ QSSN pipeline.

REST APIAPI KeysWebhooksAudit Trail