Last updated · May 2026
- Production-ready APIs
- SOC 2 Type I - In Progress
API reference
Live API—https://api.datavibe.cc
The DataVibe Core API is served by FastAPI. Authenticated routes require a Bearer API key issued from your dashboard. Interactive Swagger UI is available at /docs on the API host.
Authentication
All requests require Authorization: Bearer <api_key>. Generate API keys from Settings → API Keys in your dashboard. Keys are prefixed dv_live_.
Submit an AI message for review
POST /v1/gate/outbound
Submits an AI-generated message to the governance gate. The policy engine scans instantly — BLOCKED submissions never reach a human; QUEUED submissions land in your approval queue.
export DV_API_URL="https://api.datavibe.cc"
export DV_KEY="dv_live_your_api_key_here"
curl -sS -X POST "$DV_API_URL/v1/gate/outbound" \
-H "Authorization: Bearer $DV_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipient": "[email protected]",
"subject": "Following up on your trial",
"body_html": "<p>Hi Alex, wanted to check in on your Q2 targets.</p>",
"source_model": "gpt-4o",
"campaign_id": "q2-outreach"
}'Example response (policy passed, awaiting review):
{
"action_id": "gate_01hw3k...",
"status": "QUEUED",
"policy_passed": true,
"policy_violations": [],
"review_url": "https://app.datavibe.cc/queue/gate_01hw3k...",
"message": "Submission queued for human review."
}Example response (policy blocked — no review created):
{
"action_id": "gate_01hw9z...",
"status": "BLOCKED",
"policy_passed": false,
"policy_violations": [
{
"rule": "pricing_hallucination",
"severity": "BLOCK",
"detail": "Message contains unverified pricing claim: '50% cheaper than competitors'"
}
],
"review_url": null,
"message": "Submission blocked by policy engine. No human review required."
}Poll submission status
GET /v1/gate/outbound/:action_id
Returns current status. Poll until status is one of APPROVED, REJECTED, BLOCKED, or SENT.
curl -sS "$DV_API_URL/v1/gate/outbound/gate_01hw3k..." \
-H "Authorization: Bearer $DV_KEY"{
"action_id": "gate_01hw3k...",
"status": "APPROVED",
"policy_passed": true,
"policy_violations": [],
"reviewed_by": "[email protected]",
"reviewed_at": "2026-05-19T14:23:11Z"
}Status lifecycle
QUEUED— passed policy scan, awaiting human approvalBLOCKED— hard-blocked by policy engine, never queuedAPPROVED— human approved, dispatch scheduledREJECTED— human rejected, message discardedSENT— dispatched to recipientFAILED— dispatch attempted but delivery failed
Health
GET /v1/health— livenessGET /v1/health/db— database readiness
Other route groups
/v1/gate/…— submission CRUD, status polling, execution/v1/governance/config— workspace policy configuration/v1/governance/export— streaming NDJSON audit export/v1/governance/webhook— SIEM webhook registration (NDJSON / CEF)
See the OpenAPI document for full request and response models.