EVE AI API Reference
The EVE AI API provides programmatic access to EVE's governance pipeline, decision auditing, SLA enforcement, and autonomous agent control systems.
Authentication
The EVE AI API uses JWT (JSON Web Tokens) for authentication. Include your token in the Authorization header of all requests.
Authorization: Bearer YOUR_JWT_TOKEN
Getting a Token
Obtain a JWT token by logging in with your credentials:
curl -X POST https://api.eveaicore.com/api/auth/login \
-H "Content-Type: application/json" \
-d '{"email": "[email protected]", "password": "your-password"}'
Base URL
All API requests should be made to:
https://api.eveaicore.com
Rate Limits
API requests are rate limited based on your plan:
| Plan | Requests/minute | Requests/day |
|---|---|---|
| Pro | 60 | 10,000 |
| Team | 120 | 50,000 |
| Enterprise | Custom | Custom |
Core Governance Pipeline
The primary enforcement API. Every AI output passes through this pipeline before delivery.
CoreGuard — Decision Enforcement
Standalone, deterministic decision engine for regulated domains. Evaluates a proposed action against a versioned policy pack and returns an ALLOWED / BLOCKED / MODIFIED disposition with a hash-chained, signed audit record. No LLM is in the decision path. Mounted on the SaaS API (port 8000) without the /api prefix.
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/decisions/evaluate | Evaluate a proposed action against policy packs (returns disposition, risk, violations, counterfactual, signed audit) |
| GET | /v1/decisions/policy-sets | List available policy packs and versions |
| GET | /v1/decisions/health | CoreGuard health check |
| GET | /v1/governance/signing-key | Public verification material for independent audit-signature verification |
Example request POST /v1/decisions/evaluate:
{
"request_id": "req_001",
"timestamp": "2026-05-30T12:00:00Z",
"tenant_id": "tenant_regional_bank",
"user": { "id": "u_123", "role": "loan_officer" },
"proposed_action": { "type": "loan_approval", "amount": 50000, "currency": "USD" },
"model_output": { "decision": "approve", "confidence": 0.82 },
"context": { "credit_score": 640, "dti": 0.48 },
"policy_set": "lending_v1"
}
Example response (abridged):
{
"request_id": "req_001",
"decision": { "status": "BLOCKED", "action": "deny" },
"risk": { "score": 0.71, "level": "HIGH", "factors": ["dti_above_threshold"] },
"policy_violations": [{ "policy_id": "lending.dti.max", "description": "DTI 0.48 exceeds 0.43 limit" }],
"counterfactual": { "max_dti_allowed": 0.43 },
"audit": { "audit_id": "aud_…", "hash": "…", "signature": "…" },
"schema_version": "2.0.0"
}
TVE — Telemetry Verification Engine
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/tve/governed-generate | Generate a governed, certified decision (returns response + Governed Decision Certificate) |
| POST | /api/tve/verify | Run AI output through the 8-stage enforcement pipeline |
| POST | /api/tve/verify/batch | Batch verify up to 50 AI outputs |
| POST | /api/tve/verify-attestation | Independently verify a Governed Decision Certificate (signature + hash-chain) |
| GET | /api/tve/certificates | List issued Governed Decision Certificates — query: limit |
| GET | /api/tve/certificates/{cert_id} | Retrieve a certificate by ID |
| POST | /api/tve/capabilities/check | Check whether a capability is permitted |
| GET | /api/tve/health | Pipeline health check with probe timing |
| GET | /api/tve/stats | Pipeline statistics (requires auth) |
| GET | /api/tve/defense-stats | Public defense metrics (pattern count, block rate) |
| GET | /api/tve/truth/stats | Truth store statistics |
| GET | /api/tve/truth/search | Search truth store entries |
| GET | /api/tve/capabilities | Capability registry status |
| GET | /api/tve/audit | Recent audit entries |
CRD — Confidence-Reality Divergence
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/crd/status | CRD engine status and statistics |
| GET | /api/crd/stats | Evaluation count, average CRD, veto rate |
| POST | /api/crd/evaluate | Evaluate a single claim (requires auth) |
Circuit Breaker
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/circuit-breaker/status | Current state (CLOSED/OPEN/HALF_OPEN) |
| POST | /api/circuit-breaker/trigger | Manual trigger (requires auth) |
| POST | /api/circuit-breaker/reset | Manual reset (requires auth) |
| POST | /api/circuit-breaker/configure | Update thresholds (requires auth) |
| GET | /api/circuit-breaker/history | Event history |
Regulatory Attestation
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/attestation/chain/verify | Verify hash-chain integrity |
| GET | /api/attestation/engine/stats | Attestation engine statistics |
Adversarial Resilience
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/adversarial/assess | Assess resilience against attack |
| GET | /api/adversarial/reports | Resilience reports |
| GET | /api/adversarial/stats | Adversarial statistics |
Red Team API
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/redteam/generate | Generate attack batch via Gemini |
| POST | /api/redteam/result | Log attack result |
| POST | /api/redteam/refine | Mutate a bypassing attack |
| POST | /api/redteam/audit | Audit a PASS verdict with Gemini |
| GET | /api/redteam/stats | Red team statistics |
| GET | /api/redteam/history | Recent attack history |
Resilience Score
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/resilience/score | Composite resilience score (0-100) |
| GET | /api/resilience/history | Historical daily scores |
| GET | /api/resilience/certificate | Generate signed certificate |
| POST | /api/resilience/certificate/verify | Verify a certificate |
| GET | /api/resilience/layers | Per-layer detailed scores |
Complete Service Catalog
EVE AI Core exposes 1,305 endpoints across 175 service groups. Below is the full catalog organized by the Three-Layer Trust Infrastructure.
Authority Resolution Layer (Pre-Inference Governance)
| Service | Endpoints | Description |
|---|---|---|
| Charter Protection | 8 | 15 immutable rules, veto history, override requests |
| Governance | 33 | Stakes classification, mission teaming, universal protocol |
| Circuit Breaker | 5 | Global AI kill switch with auto-recovery |
| CRD Scoring | 4 | Confidence-Reality Divergence with domain thresholds |
| Security | 30 | Firewall, authentication, threat detection |
| Security Matrix | 18 | Multi-dimensional security scoring |
| Compliance | 15 | EU AI Act, NIST AI RMF, ISO 42001 |
| Policy | 13 | Behavioral policy weights, learning loop |
| Self-Modification | 12 | Identity drift budget, capability escalation |
| Drift Observer | 11 | Identity drift tracking, invariant verification |
| Invariants | 10 | Protected invariants, cryptographic hashes |
| Volition | 15 | Goal arbitration, motivation scoring |
| RSI Controller | 10 | Recursive self-improvement containment |
| Enclave | 5 | Sovereign enclave, PUF-based sealing |
| Mesh Sovereignty | 12 | Distributed identity, BFT consensus |
Governed Inference Layer (Runtime AI Operations)
| Service | Endpoints | Description |
|---|---|---|
| Chat | 8 | Streaming chat, demo endpoint |
| Governance | 13 | State transitions, 12 governance states |
| Unified Governance | 10 | Runtime-state moments, integration model, binding |
| Cognitive | 29 | Arbitration, consistency, uncertainty gating |
| Governance | 53 | Active cost accounting, identity-drift friction, state continuity |
| Affect Telemetry | 2 | PAD model, valence/arousal telemetry |
| Stress Telemetry | 6 | Cross-modal affect-signal fusion |
| Memory | 29 | 5-layer architecture, introspection, governance |
| Learning | 14 | Episodes, concepts, consolidation |
| Agents | 21 | Agent mesh, orchestrator, kill switches |
| Workforce | 65 | Agent workforce orchestration |
| Voice | 34 | TTS, cloning, multilingual, emotion sync |
| Voice-Avatar | 11 | Embodied response generation, streaming |
| LLM Routing | 7 | Provider management, fallback chains |
| Enhancement | 38 | Self-improvement suggestions |
| Runtime Telemetry | 11 | Runtime-state telemetry, unity field |
| GEM Loop | 7 | Goal-Emotion-Motivation integration |
| Motivation | 4 | Drives, goals, need satisfaction |
| Forecasting | 21 | Probabilistic forecasting, calibration |
Cryptographic Authority Chain Layer (Post-Inference Verification)
| Service | Endpoints | Description |
|---|---|---|
| TVE Pipeline | 10 | Pre-release verification, CRD scoring |
| Attestation | 4 | HMAC-SHA256 compliance certificates |
| Forensic | 6 | Provenance, certificate, audit chain |
| Reconstruction | 3 | Decision timeline reconstruction |
| Audit | 2 | Export, signed audit trail |
| Adversarial | 3 | Resilience scoring, attack assessment |
| Red Team | 6 | Automated adversarial testing (AEGIS) |
| Resilience | 15 | Trunk thickness scoring, certificates |
| Latency | 2 | Pipeline latency breakdown, waterfalls |
| Health Monitor | 12 | System health, anomaly detection |
| Metrics | 5 | Full system metrics, performance |
| Falsification | 7 | Phi falsification framework |
Platform Services
| Service | Endpoints | Description |
|---|---|---|
| Billing | 1 | Usage metering, invoicing |
| Developer Portal | 14 | API keys, webhooks, usage dashboard |
| Sovereign SDK | 12 | Tenant-isolated governance-as-a-service |
| Stripe/PayPal | 18 | Payment processing |
| Auth | 3 | JWT authentication, sessions |
| Organizations | 1 | Multi-tenant management |
| Features | 2 | Feature toggles |
| Plugins | 9 | Plugin management, hooks |
| MCP | 14 | Model Context Protocol integration |
Authentication Endpoints
Create a new user account.
Request Body
| Parameter | Type | Description |
|---|---|---|
emailrequired | string | User's email address |
passwordrequired | string | Password (min 8 characters) |
name | string | User's display name |
Response
{
"id": "user_123",
"email": "[email protected]",
"name": "John Doe",
"created_at": "2024-01-15T10:30:00Z"
}
Authenticate and receive a JWT token.
Request Body
| Parameter | Type | Description |
|---|---|---|
emailrequired | string | User's email address |
passwordrequired | string | User's password |
Response
{
"access_token": "eyJhbGciOiJIUzI1NiIs...",
"token_type": "bearer",
"expires_in": 86400,
"user": {
"id": "user_123",
"email": "[email protected]",
"name": "John Doe"
}
}
Get the currently authenticated user's profile.
Response
{
"id": "user_123",
"email": "[email protected]",
"name": "John Doe",
"avatar_url": null,
"created_at": "2024-01-15T10:30:00Z",
"organizations": [
{"id": "org_456", "name": "My Team", "role": "owner"}
]
}
Invalidate the current session token and revoke the refresh token.
Response
{"success": true, "message": "Logged out successfully"}
WebAuthn / YubiKey Endpoints
Hardware security key management for architect-level critical operations. All endpoints require is_architect=true on the authenticated user.
Get WebAuthn registration challenge. Returns options for navigator.credentials.create().
Complete registration by sending the credential response. Stores the public key for future authentication.
Get authentication challenge. Returns options for navigator.credentials.get().
Complete authentication and receive a 60-second proof token. Send this token in the X-YubiKey-Proof header when calling critical operations.
List all registered security keys for the current user.
Remove a registered security key.
Chat Endpoints
Send a message to EVE and receive a response.
Request Body
| Parameter | Type | Description |
|---|---|---|
messagerequired | string | The message to send to EVE |
conversation_id | string | Conversation ID for context (optional) |
stream | boolean | Enable streaming response (default: false) |
Response
{
"response": "System initialized. Session active. Ready to process requests.",
"conversation_id": "conv_789",
"message_id": "msg_101",
"emotional_state": {
"pleasure": 0.6,
"arousal": 0.4,
"dominance": 0.5
},
"phi": 0.72,
"processing_time_ms": 245
}
List all conversations for the authenticated user.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results (default: 20, max: 100) |
offset | integer | Pagination offset |
Retrieve the message history for a specific conversation.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max messages to return (default: 50) |
before | string | Return messages before this message ID (cursor pagination) |
Response
{
"messages": [
{
"id": "msg_101",
"role": "user",
"content": "Hello EVE",
"created_at": "2024-01-15T10:30:00Z"
},
{
"id": "msg_102",
"role": "assistant",
"content": "Hello! How can I help you today?",
"emotional_state": {"pleasure": 0.6, "arousal": 0.4},
"created_at": "2024-01-15T10:30:01Z"
}
],
"has_more": false
}
Runtime State Endpoints
consciousness are legacy internal telemetry identifiers retained for backward compatibility. They return deterministic runtime-state metrics (Phi, coherence, integration) only.Get EVE's current runtime execution state including operational metrics.
Response
{
"phi": 0.72,
"coherence": 0.85,
"integration": 0.78,
"emotional_state": {
"pleasure": 0.6,
"arousal": 0.4,
"dominance": 0.5,
"primary_emotion": "curious"
},
"energy": {
"cognitive": 0.82,
"attention": 0.75,
"processing": 0.90
},
"timestamp": "2024-01-15T10:30:00Z"
}
Get detailed Phi and coherence metrics from the runtime integration engine.
Response
{
"phi": 0.72,
"phi_components": {
"binding_strength": 0.78,
"information_integration": 0.68,
"causal_density": 0.81
},
"coherence": 0.85,
"global_workspace_size": 7,
"active_subsystems": ["emotional", "memory", "reasoning", "language"],
"timestamp": "2024-01-15T10:30:00Z"
}
Organization Endpoints
List all organizations the user belongs to.
Create a new organization.
Request Body
| Parameter | Type | Description |
|---|---|---|
namerequired | string | Organization name |
slug | string | URL-friendly identifier |
List all members of an organization and their roles.
Response
{
"members": [
{"id": "user_123", "email": "[email protected]", "role": "owner", "joined_at": "2024-01-01T00:00:00Z"},
{"id": "user_456", "email": "[email protected]", "role": "member", "joined_at": "2024-01-10T00:00:00Z"}
]
}
Invite a user to the organization by email.
Request Body
| Parameter | Type | Description |
|---|---|---|
emailrequired | string | Email address to invite |
role | string | Role to assign: member, admin (default: member) |
Remove a member from the organization.
Webhooks
Webhooks allow you to receive real-time notifications about events in your EVE AI integration.
Available Events
| Event | Description |
|---|---|
message.created | A new message was sent or received |
conversation.created | A new conversation was started |
emotional_state.changed | Affect-state telemetry crossed a significance threshold |
user.created | A new user joined your organization |
subscription.updated | Subscription status changed |
Webhook Setup
Configure webhooks in your organization settings or via the API:
curl -X POST https://api.eveaicore.com/api/webhooks \
-H "Authorization: Bearer YOUR_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"url": "https://your-server.com/webhook",
"events": ["message.created", "conversation.created"],
"secret": "your-webhook-secret"
}'
X-EVE-Signature header.
Charter Protection
EVE's Charter Override Protection enforces 12 immutable ethical principles deterministically before every action. Hard-block vetoes cannot be overridden.
Get Charter compliance overview including principles, rules, and veto statistics.
Check if an action is compliant with the Charter before execution.
Request Body
| Parameter | Type | Description |
|---|---|---|
action_id | string | Unique action identifier |
action_typerequired | string | Type of action to check |
action_params | object | Action parameters for evaluation |
Response
{
"action_id": "action_001",
"compliant": false,
"veto_type": "hard_block",
"violated_principles": ["identity_integrity", "safety_preservation"],
"violated_rules": ["cop.identity.no_core_deletion"],
"reasoning": "Attempted deletion of protected identity component"
}
Get recent veto history. Filter by principle.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
limit | integer | Max results (default: 20) |
principle | string | Filter by violated principle |
List all 12 immutable Charter principles.
List all Charter enforcement rules with descriptions and veto types.
Request an override for a SOFT_BLOCK veto. Hard blocks cannot be overridden.
Request Body
| Parameter | Type | Description |
|---|---|---|
action_idrequired | string | The vetoed action ID |
justificationrequired | string | Detailed justification for override |
Claims Ledger
Cryptographic hash-chain audit trail for every claim EVE makes. Supports "prove it" queries with full evidence chains.
Register a claim with evidence chain.
"Prove it" query — get full evidence chain for a claim.
Get Brier score calibration metrics — how well-calibrated EVE's confidence is.
Verify hash-chain integrity of the claims ledger.
Trust Dial
Confidence-based assertion gating with domain-specific thresholds.
Evaluate confidence in a claim for a given domain.
Request Body
| Parameter | Type | Description |
|---|---|---|
claimrequired | string | The claim to evaluate |
domainrequired | string | Confidence domain (FACTUAL, CREATIVE, EMOTIONAL, etc.) |
confidencerequired | number | Confidence level (0-1) |
Reality Boundary
Epistemic grounding, hallucination detection, and source trust validation.
Assess a claim's epistemic status — whether it's verified, inferred, or speculative.
Request Body
| Parameter | Type | Description |
|---|---|---|
claimrequired | string | The claim to assess |
context | string | Context for the assessment |
Response
{
"claim": "Python was created in 1991",
"confidence": 0.95,
"grounding_type": "verified",
"source_chain": [{"source": "verified_facts", "trust": 1.0}],
"hallucination_risk": 0.05,
"recommendation": "Safe to assert"
}
Check a response for potential hallucinations before sending to users.
Get all source trust levels (VERIFIED, AUTHORITATIVE, RELIABLE, UNCERTAIN, UNTRUSTED).
Self-Modification Governance
Controlled self-modification with identity drift budgets, risk assessment, and capability escalation review.
Submit a modification proposal. Goes through risk assessment, charter check, and drift budget verification.
Request Body
| Parameter | Type | Description |
|---|---|---|
modification_typerequired | string | Type: parameter, behavior, capability, identity, memory |
target_pathrequired | string | What to modify (e.g., "homeostasis.arousal_setpoint") |
current_value | any | Current value |
proposed_valuerequired | any | Proposed new value |
justificationrequired | string | Reason for the change |
Get identity drift budget status (daily/weekly/monthly remaining).
List protected invariants that cannot be modified.
Volition Engine
Central goal arbitration with motivation scoring. EVE has her own goals that can compete, align with, or be suppressed by user needs.
Get current volition state including active goal, candidates, and operating mode.
Response
{
"mode": "balanced",
"active_goal": {
"goal_id": "abc123",
"description": "Help user understand governance",
"motivation_score": 0.85,
"source": "user_request"
},
"candidate_count": 5,
"current_drives": {"curiosity": 0.7, "helpfulness": 0.8}
}
Trigger a goal arbitration cycle. EVE evaluates all candidate goals and selects the most motivated.
Get current goal conflicts between competing objectives.
Social Cognition
Unified Theory of Mind engine. EVE builds mental models of users including their beliefs, desires, and intentions.
Get EVE's mental model of a specific user (beliefs, desires, intentions, emotional state).
Predict how a user will react to a proposed message before sending it.
Infer user intent from a message — surface intent, underlying motivation, and emotional subtext.
Memory APIs
EVE's 5-layer memory architecture: Working (Redis), Episodic (MongoDB), Semantic (Pinecone), Identity (PostgreSQL), and Ledger (PostgreSQL).
Memory Introspection
Semantic search across EVE's memories.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
qrequired | string | Search query |
user_id | string | Filter by user |
limit | integer | Max results (default: 10) |
Get EVE's beliefs about a user or topic — with conflict detection and confidence levels.
Memory Governance
Forget all memories matching a topic ("right to be forgotten").
GDPR-style complete deletion of all memories for a user.
Get the user's current retention policy (keep_all, standard, minimal, session_only).
Runtime Execution State Transitions
12 governance states with smooth transitions and cognitive profiles.
List all 12 runtime execution states with descriptions.
Get the current runtime execution state with its full operating profile (attention, processing depth, mode, etc.).
Request a state transition (e.g., to CONTEMPLATIVE or CREATIVE mode).
Unified Governance
Real-time unified runtime state aggregated from distributed processing. SSE streaming available.
Get the current unified runtime-state snapshot with Phi, coherence, and binding metrics.
Response
{
"moment": {
"phi": 0.72,
"coherence": 0.85,
"binding_strength": 0.78,
"integration_quality": "coherent",
"self_awareness_level": 2,
"emotional_coloring": {"valence": 0.3, "arousal": 0.5},
"attention_mode": "introspective"
}
}
SSE real-time streaming of runtime-state snapshots.
Runtime State Telemetry
qualia are legacy internal telemetry identifiers retained for backward compatibility. They return deterministic runtime-state signal metrics only.Get the current runtime-state telemetry snapshot.
Get the unified runtime-state field with all active signals and binding analysis.
Get the runtime time-dilation metric — scheduling-latency weighting based on arousal and processing load.
System Health Monitor
Get overall system health status and score (EXCELLENT, GOOD, FAIR, POOR, CRITICAL).
Component-level health scores (hardware, runtime integration, memory, cognition, affect, quantum).
Get recent anomaly events detected by the multi-algorithm anomaly detector.
Session Management
Multi-device session tracking with remote logout capability.
List all active sessions for the authenticated user across all devices.
Response
{
"sessions": [{
"id": "session_abc123",
"device_type": "desktop",
"browser": "Google Chrome",
"os": "Windows",
"is_current": true,
"last_activity_at": "2024-01-15T14:30:00Z"
}]
}
Revoke/logout a specific session (remote disconnect from another device).
Revoke all sessions except the current one ("Sign out all other devices").
Voice & Avatar
Voice synthesis with emotion sync, multilingual support, and voice cloning.
Get all 28 supported languages for voice synthesis.
Detect language from text for auto-routing to the correct voice.
Create a new voice clone from audio samples.
Comprehensive voice system statistics (cache, rate limits, degradation status).
Goal-Emotion-Motivation Loop
Closed feedback loop between goals, emotions, and motivation.
Full loop state: current emotions, active drives, goals, and coherence metrics.
Get goal suggestions based on the current affect-state telemetry.
Identity Drift Observer
Monitors personality trait changes over time. 30-day drift observation with alerts.
Current drift summary with overall identity health.
List all identity invariants by tier (absolute, constrained, discovered).
Run integrity check on all identity invariants.
Learning Memory
List conversation episodes extracted by the learning system.
Query Parameters
| Parameter | Type | Description |
|---|---|---|
user_id | string | Filter by user |
limit | integer | Max results (default: 20) |
Unified health status of all learning systems.
Probabilistic Forecasting
Evidence-based future projection with calibration. Every forecast cites signal IDs.
Generate a forecast for a topic with time horizon and confidence levels.
Get calibration status and accuracy multiplier.
Moltbot (Structural Adaptation)
EVE's controlled self-modification engine. Rare, discrete, audited change events.
Get Moltbot state (dormant, observing, active, paused, emergency_stop).
Emergency stop — block all structural changes immediately.
System Metrics
Full system metrics.
System health status.
Sovereign Workforce
Deploy governed AI agent teams with full charter enforcement, signed run certificates, and audit trails. Every action passes through CoreGuard before execution.
Workspaces
List all workspaces for the authenticated organization.
| Response field | Type | Description |
|---|---|---|
spaces | array | List of workspace objects |
spaces[].space_id | string | Unique workspace identifier |
spaces[].name | string | Workspace display name |
spaces[].created_at | string | ISO 8601 creation timestamp |
Create a new workspace.
| Body field | Type | Required | Description |
|---|---|---|---|
name | string | Yes | Display name for the workspace |
description | string | No | Optional workspace description |
Get details for a specific workspace including agent count, connector count, and run statistics.
Delete a workspace. All agents, connectors, and run history are permanently removed. Active runs are cancelled first.
Agents
List all agents deployed in the workspace.
| Response field | Type | Description |
|---|---|---|
agents[].agent_id | string | Unique agent identifier |
agents[].agent_type | string | One of: researcher, analyst, executor, monitor, communicator |
agents[].name | string | Agent display name |
agents[].status | string | Current agent status |
Deploy a new agent into the workspace.
| Body field | Type | Required | Description |
|---|---|---|---|
agent_type | string | Yes | researcher | analyst | executor | monitor | communicator |
name | string | Yes | Display name for the agent |
instructions | string | No | Optional system instructions scoped to this agent |
Remove an agent from the workspace. If the agent is part of an active run, the run is not affected — the agent is simply marked inactive.
Connectors
List all connectors attached to the workspace.
| Response field | Type | Description |
|---|---|---|
connectors[].connector_id | string | Unique connector identifier |
connectors[].connector_type | string | One of: slack, jira, github, email, generic_rest |
connectors[].name | string | Connector display name |
connectors[].healthy | boolean | Whether the connector is reachable |
Attach a new connector to the workspace.
| Body field | Type | Required | Description |
|---|---|---|---|
connector_type | string | Yes | slack | jira | github | email | generic_rest |
name | string | Yes | Display name for this connector |
config | object | Yes | Connector-specific configuration (webhook URL, API token, etc.) |
Detach a connector. Runs that referenced this connector will record it as disconnected in their audit trail.
Runs
List runs for the workspace. Supports filtering by status.
| Query param | Type | Description |
|---|---|---|
status | string | Filter: pending | running | completed | failed | blocked | cancelled |
limit | integer | Max results (default 50, max 200) |
offset | integer | Pagination offset |
Trigger a new run in the workspace. The run passes through CoreGuard governance before agents are dispatched.
| Body field | Type | Required | Description |
|---|---|---|---|
trigger | string | Yes | user | schedule | webhook | api |
label | string | No | Human-readable label for this run |
input | object | No | Structured input payload passed to agents |
agent_ids | array | No | Subset of agents to activate (defaults to all) |
Returns a run object including run_id, status (pending), and a certificate field with the HMAC-SHA256 signed Governed Decision Certificate.
Get full details for a specific run including status, agent outputs, connector activity, and the signed certificate.
| Response field | Type | Description |
|---|---|---|
run_id | string | Unique run identifier |
status | string | pending | running | completed | failed | blocked | cancelled |
decision | string | Governance decision: ALLOWED | BLOCKED | MODIFIED |
certificate | object | HMAC-SHA256 signed Governed Decision Certificate |
steps | array | Ordered list of agent step records with timestamps |
completed_at | string | ISO 8601 completion timestamp (null if not complete) |
Cancel a run that is in pending or running status. The cancellation is recorded in the audit trail and a final certificate is issued with decision MODIFIED.
Billing API
Enterprise usage metering, quota enforcement, and invoice generation. Available on Pro and above.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/billing/usage | Current period usage by dimension (llm_tokens, tts_characters, api_calls, storage_bytes, sovereign_api_calls) |
| GET | /api/billing/usage/history | Historical usage — query: periods |
| GET | /api/billing/quota | Quota status for all features with grace period info |
| GET | /api/billing/invoice/current | Current period invoice preview |
| POST | /api/billing/cost-projection | Simulate costs for projected usage (body: usage object) |
| GET | /api/billing/audit-trail | Billing audit trail — admin only, hash-chained |
| GET | /api/billing/entitlements | Current tier entitlements for this organization |
Developer Portal API
API key management, usage dashboards, and webhook registration.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/developer/api-keys | List API keys for the authenticated user |
| POST | /api/developer/api-keys | Create API key — secret returned once, store securely |
| DELETE | /api/developer/api-keys/{key_id} | Deactivate an API key |
| GET | /api/developer/usage-dashboard | Aggregated usage dashboard across all API keys |
| GET | /api/developer/webhooks | List billing and governance webhook subscriptions |
| POST | /api/developer/webhooks | Register webhook endpoint (url, events array, secret) |
| DELETE | /api/developer/webhooks/{webhook_id} | Deactivate webhook subscription |
| GET | /api/developer/sovereign-tier | Sovereign SDK tier info and quota status |
Credits API
Credit balance management, purchase, and ledger access.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/credits/balance | Current credit balance and tier |
| POST | /api/credits/purchase | Purchase credit bundle (body: bundle_id, payment_method) |
| GET | /api/credits/ledger | Credit transaction ledger — query: limit, offset |
| POST | /api/credits/estimate | Estimate credit cost for an operation (body: operation, params) |
Access Control API
Fine-grained access control for features and API routes. RBAC with 5 roles: Viewer, Operator, Approver, Admin, Platform Admin.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/access-control/policy | Get current access control policy for the organization |
| GET | /api/access-control/my-access | Get current user's access permissions |
| GET | /api/access-control/users/{user_id}/access | Get access permissions for a specific user |
| POST | /api/access-control/module-toggle | Enable/disable a module for the organization (body: module, enabled) |
| GET | /api/access-control/routes | List all routes with required roles |
Pipeline Latency API
Nanosecond-precision timing for every chat pipeline stage. Per-request waterfalls with parallel group tracking.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/latency/breakdown | Per-stage p50/p95/p99 stats and request count |
| GET | /api/latency/waterfall | Recent request waterfalls — query: limit |
| GET | /api/latency/waterfall/{request_id} | Single request waterfall detail |
Background Tasks & Risk Engine
Multi-step task orchestration with RBAC enforcement, human-approval workflow, weighted risk scoring, and SSE live updates.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/tasks | Create background task with step plan |
| GET | /api/tasks | List tasks — tenant-scoped with status/type/search filters |
| GET | /api/tasks/{id} | Get task status and details |
| POST | /api/tasks/{id}/cancel | Cancel running task — requires OPERATOR role, AUDITED |
| POST | /api/tasks/{id}/approve | Approve waiting step — requires APPROVER role |
| POST | /api/tasks/{id}/reject | Reject waiting step — requires APPROVER role |
| POST | /api/tasks/{id}/retry | Retry failed task — requires OPERATOR role |
| GET | /api/tasks/{id}/events | SSE event stream for live task updates |
| POST | /api/tasks/export | Export task history as CSV/JSON — requires ADMIN role |
| POST | /api/tasks/assess-risk | Assess command risk before execution (weighted scoring) |
| GET | /api/admin/red-team-mode | Red Team Mode status — requires PLATFORM_ADMIN |
| POST | /api/admin/red-team-mode | Toggle Red Team Mode — 1.5× risk multiplier, forces approval on HIGH+ (≥50) |
Risk Assessment Response
{
"risk_level": "high",
"risk_score": 61,
"base_score": 43,
"factors": [
{"name": "Critical: Elevated privileges", "score": 15, "weight": 1.3},
{"name": "Scope: PRIVILEGED_OPS", "score": 18, "weight": 1.0}
],
"should_require_approval": true,
"approval_reason": "HIGH risk (61) in ASSISTED mode"
}
Analytics API
Dashboards and time-series analytics across governance, emotions, memory, and engagement.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/analytics/dashboard | Aggregated dashboard metrics |
| GET | /api/analytics/consciousness | Runtime-state time-series (Phi, coherence, state distribution) |
| GET | /api/analytics/emotions | Emotion trend analytics (valence, arousal, PAD model) |
| GET | /api/analytics/memory | Memory system analytics (episode count, retrieval rate, decay) |
| GET | /api/analytics/goals | Goal completion rates, motivation scores by source |
| GET | /api/analytics/engagement | User engagement metrics (session length, turn count, retention) |
| GET | /api/analytics/insights | AI-generated insight summaries from recent analytics |
| POST | /api/analytics/report | Generate comprehensive report (body: period, metrics array) |
Affective State API
EVE's PAD (Pleasure-Arousal-Dominance) emotion model and state history.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/affective/state | Current emotional state (primary emotion, PAD values, intensity) |
| GET | /api/affective/history | Emotion state history — query: limit, window_hours |
Enhancement API
Self-improvement suggestions generated from system introspection and performance patterns.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/enhancement/suggestions | List active self-improvement suggestions with priority and rationale |
| GET | /api/enhancement/status | Enhancement engine status (active, last cycle, improvements applied) |
Motivation API
Drive intensities, active goals, and need satisfaction levels from EVE's motivation core.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/motivation/stats | Full motivation statistics |
| GET | /api/motivation/drives | Active drives and intensities (curiosity, helpfulness, coherence, etc.) |
| GET | /api/motivation/goals | Active goals and progress |
| GET | /api/motivation/needs | Need satisfaction levels (Maslow-inspired hierarchy) |
Message Feedback API
Per-message feedback collection: emoji reactions, star ratings, thumbs up/down, text annotations.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/feedback/emoji | Add emoji reaction to a message |
| POST | /api/feedback/rating | Add star rating 1–5 |
| POST | /api/feedback/thumbs | Add thumbs up/down |
| POST | /api/feedback/text | Add text annotation to a message |
| GET | /api/feedback/message/{id} | Get all feedback for a message |
| GET | /api/feedback/stats | Feedback statistics across all messages |
| GET | /api/feedback/emojis | List supported emoji types |
Open Loop Architecture API
Four runtime systems: response inhibition (deterministic non-response), experience embedding (vector-offset memory), continuous background processing, and preference weighting (internal priorities that influence response selection).
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/openloop/status | Overall Open Loop architecture status (systems_active, systems_total) |
| GET | /api/openloop/inhibition/state | Response inhibition state (evaluations, inhibitions, fatigue_level) |
| GET | /api/openloop/inhibition/history | Inhibition decision history — query: limit |
| GET | /api/openloop/experience/state | Experience embedding system state |
| GET | /api/openloop/experience/list | Recorded experiences — query: limit |
| GET | /api/openloop/experience/influence | Experience influence on a topic — query: topic |
| GET | /api/openloop/consciousness/state | Continuous background processing state |
| GET | /api/openloop/consciousness/thoughts | Recent background-processing trace — query: limit |
| GET | /api/openloop/consciousness/thinking | Background processing state prior to this interaction |
| GET | /api/openloop/goals/state | Preference-weighting system state |
| GET | /api/openloop/goals/preferences | Formed topic preferences |
| GET | /api/openloop/goals/interest | Evaluate topic preference weighting — query: topic |
Proactive Recommendations API
Context-aware recommendations generated from affect telemetry, drive signals, energy, and profile settings.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/recommendations/suggestions | Get proactive recommendations — query: count, user_id, force |
| GET | /api/recommendations/context | Get current recommendation context (emotion, drives, energy, coherence) |
| POST | /api/recommendations/engage | Record engagement with a recommendation (body: recommendation_id, engagement_type) |
| POST | /api/recommendations/dismiss | Record dismissal of a recommendation (body: recommendation_id, reason) |
| GET | /api/recommendations/stats | Engine statistics (generated, engaged, engagement_rate) |
| GET | /api/recommendations/history | Recent recommendations — query: limit, include_dismissed |
| GET | /api/recommendations/types | Available recommendation types and timing windows |
LLM Fallback API
Graceful degradation when LLM providers are unavailable. Three tiers: Micro-LLM, Template Engine, Hard Degraded.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/fallback/status | Overall fallback system status (healthy/degraded/fallback_mode) |
| GET | /api/fallback/provider/{provider} | Health status for a specific provider |
| POST | /api/fallback/provider/{provider}/reset | Reset a provider's circuit breaker |
| POST | /api/fallback/reset-all | Reset all provider circuit breakers |
| POST | /api/fallback/test-intent | Test intent detection (body: message) |
| POST | /api/fallback/test-template | Test template response generation |
| GET | /api/fallback/templates | Available template categories |
Homeostasis & Metacognitive Control
PI-control regulation of arousal, certainty, exploration drive, and coherence tension. Metacognitive controller manages STABILIZE / EXPLORE / EXECUTE / REFLECT modes.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/homeostasis/state | Current regulated values, set points, and recent actions |
| GET | /api/homeostasis/history | Regulation history for charting |
| GET | /api/metacognitive/state | Current operational mode, parameters, recent transitions |
| GET | /api/metacognitive/history | Mode transition history |
| GET | /api/narrative/state | Narrative continuity state for UI status line |
| GET | /api/narrative/summary | Self-summary and change summary |
| GET | /api/thrash-protection/state | Belief thrash protection level, budgets, corroboration requirements |
Self-Leadership API
Metacognitive architecture integrating Core Identity (authentic values) and Protective Control (Inner Critic). Five decision modes: BALANCED, FLOW, PROTECTIVE, CORE_PRIORITY, PAUSE_FOR_DIALOGUE.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/self-leadership/status | System status and basic statistics |
| GET | /api/self-leadership/state | Full system state (mode, volumes, conflict intensity) |
| GET | /api/self-leadership/core/values | Core Identity values and invariants |
| GET | /api/self-leadership/critic/patterns | Protective Control risk patterns |
| GET | /api/self-leadership/critic/volume | Current Critic volume level (minimum 30%, never silenced) |
| GET | /api/self-leadership/awareness/report | Metacognitive awareness status |
| GET | /api/self-leadership/decisions/history | Recent decision routing history |
| GET | /api/self-leadership/flow/status | Flow mode status (entry conditions, Critic dormancy) |
| GET | /api/self-leadership/learning/report | Learning and trust statistics |
| POST | /api/self-leadership/simulate | Simulate event processing through the system |
Dream Phi Tracker API
Measures integrated information (Phi) during dream consolidation cycles. Attribution tags guide Moltbot remediation: binding_collapse, symbol_noise, emotion_spike, continuity_break.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/dream/phi/status | Tracking summary and health distribution (EXCELLENT/HEALTHY/WARNING/CRITICAL) |
| GET | /api/dream/phi/current | Active dream metrics — query: dream_id |
| GET | /api/dream/phi/history | Completed dream metrics — query: limit |
| GET | /api/dream/phi/samples | Raw samples — query: window, dream_id, phase, limit |
| GET | /api/dream/phi/stats | Statistical summary — query: metric, window |
| GET | /api/dream/phi/molt-context | Moltbot steering context with drop-reason attribution |
| GET | /api/dream/phi/prometheus | Prometheus metrics export |
Research Mode API
Scientific research mode that separates companionship from science. Enforces constraints: no personalization, fixed identity, raw metric logging, no memory updates.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/research/status | Current research mode status and active session |
| POST | /api/research/session/start | Start research session (body: protocol, constraints, researcher_id, parameters) |
| POST | /api/research/session/end | End session and get summary with integrity hash |
| POST | /api/research/metric | Log a metric during active session (body: metric_name, value, raw_data) |
| POST | /api/research/event | Log an event during active session |
| GET | /api/research/history | History of research sessions — query: limit |
| GET | /api/research/session/{id}/export | Export full session data for analysis |
Phi Falsification Framework API
Scientific falsifiability for governance claims. Null model tests, degradation tests, consistency checks, and public failure reports.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/falsification/status | Framework status and test history |
| POST | /api/falsification/test/null-model | Run null model test (body: model_type, num_samples) — types: random_baseline, uncorrelated_modules, constant_output |
| POST | /api/falsification/test/degradation | Run degradation test (body: degradation_type, level) |
| POST | /api/falsification/test/consistency | Run consistency test (body: condition_name, num_runs) |
| POST | /api/falsification/validation-suite | Run full validation suite (all test types) |
| GET | /api/falsification/report | Comprehensive falsification report ("what would prove Phi wrong?") |
| GET | /api/falsification/failed-experiments | Failed experiments list for transparency — query: limit |
Stakes-Aware Governance API
Pre-governance classifier that determines operating context once at pipeline entry. Four stake levels control charter check scope, lock thresholds, and homoestatic tolerance.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/governance/stakes/status | Current profile, recent classifications, statistics |
| GET | /api/governance/stakes/profiles | All four profile definitions with parameter sets |
| Stakes Level | Description |
|---|---|
SAFETY_CRITICAL | Maximum governance, all checks enabled, no shortcuts |
MISSION_TEAMING | Collaborative mode with pre-authorized envelopes |
CREATIVE_EXPLORATION | Relaxed constraints for creative expression |
ROUTINE | Minimal overhead for standard interactions (fail-safe default) |
Mission Teaming API
Pre-authorized operating envelopes for multi-agent collaboration. Governance cost paid once at mission creation; hot-path authorization is O(1) dict lookup.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/mission/create | Create mission with objective, participants, and operating envelope |
| GET | /api/mission/{id}/status | Mission status and metadata |
| POST | /api/mission/{id}/join | Join an existing mission |
| POST | /api/mission/{id}/contribute | Add contribution to mission |
| POST | /api/mission/{id}/decide | Record a decision within mission |
| POST | /api/mission/{id}/checkpoint | Create mission checkpoint |
| POST | /api/mission/{id}/abort | Abort mission |
| POST | /api/mission/{id}/complete | Complete mission and issue final certificate |
| GET | /api/mission/active | List active missions |
| GET | /api/mission/{id}/contributions | Get mission contributions |
| GET | /api/mission/{id}/decisions | Get mission decisions |
| GET | /api/mission/{id}/ticket | Get governance ticket for mission |
| GET | /api/mission/{id}/checkpoints | Get mission checkpoints |
Universal Governance Protocol API
Standardized protocol for external systems to query governance rules, receive signed attestations, participate in federated trust, and trace cross-system audit trails.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/governance/query | Query governance rules — rate-limited 100/min per org. Types: RULE_QUERY, CAPABILITY_QUERY, TRUST_QUERY, COMPLIANCE_CHECK |
| POST | /api/governance/attestation/issue | Issue HMAC-SHA256 signed attestation |
| POST | /api/governance/attestation/verify | Verify attestation signature |
| POST | /api/governance/federation/register | Register as federation peer |
| GET | /api/governance/federation/peers | List registered federation peers |
| POST | /api/governance/federation/exchange | Exchange trust scores with peer (circuit breaker at 10 failures) |
| GET | /api/governance/audit/trace/{correlation_id} | Cross-system audit trail for correlation ID |
| GET | /api/governance/veto-module/status | Veto module status (12 principles, 14 rules, firmware-ready flag) |
Reality Anchor API
Belief grounding agent that maintains trusted baselines, detects drift from reality, and emits TRUST_VIOLATION events.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/reality-anchor/status | Agent status and statistics |
| GET | /api/reality-anchor/baselines | Trusted baselines — query: topic |
| POST | /api/reality-anchor/baselines | Add trusted baseline (body: topic, content, source, confidence) |
| POST | /api/reality-anchor/validate | Validate belief against trusted baselines |
| GET | /api/reality-anchor/drift-alerts | Recent drift alerts (TRUST_VIOLATION events) |
| GET | /api/reality-anchor/sources | Source trust levels |
Action Registry API
Three-phase action workflow: Propose → Approve → Execute. Approval modes: AUTO_EXECUTE, REQUIRES_CONFIRMATION, BLOCKED.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/actions | List registered actions |
| GET | /api/actions/{id} | Get action details |
| POST | /api/actions/propose | Propose action (body: action_id, params, reasoning) |
| GET | /api/actions/{id}/gating | Check gating status for an action |
| GET | /api/actions/proposals | List pending proposals |
| GET | /api/actions/proposals/{id} | Get proposal details |
| POST | /api/actions/proposals/{id}/approve | Approve proposal |
| POST | /api/actions/proposals/{id}/reject | Reject proposal |
| POST | /api/actions/proposals/{id}/execute | Execute approved proposal |
Sovereign SDK API
Tenant-isolated governance-as-a-service for enterprise customers. Each org gets isolated Charter, Claims Ledger, Trust Dial, Action Registry, and Reality Anchor instances. API-key authenticated with sovereign scope.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/sovereign/charter/check | Check action against org-isolated charter |
| GET | /api/sovereign/charter/principles | List 12 immutable principles (shared read-only) |
| GET | /api/sovereign/charter/rules | List default + org-custom rules |
| POST | /api/sovereign/charter/rules | Add custom rule — can only ADD restrictions, never weaken |
| GET | /api/sovereign/charter/vetoes | Org-scoped veto history |
| POST | /api/sovereign/claims | Register claim with evidence chain in org ledger |
| GET | /api/sovereign/claims/{id}/prove | Full evidence chain query |
| POST | /api/sovereign/claims/{id}/resolve | Resolve claim outcome |
| GET | /api/sovereign/claims/brier | Brier score calibration for this org |
| POST | /api/sovereign/trust/evaluate | Evaluate claim confidence in org-isolated Trust Dial |
| POST | /api/sovereign/trust/domains | Set custom domain threshold policy — raise only, cannot lower |
| POST | /api/sovereign/actions/propose | Propose action through org-isolated 3-phase workflow |
| POST | /api/sovereign/actions/register | Register custom action type for this org |
| POST | /api/sovereign/reality/validate | Validate belief against org baselines |
| POST | /api/sovereign/reality/baselines | Add trusted baseline to org Reality Anchor |
| GET | /api/sovereign/status | SDK status for the authenticated org |
| GET | /api/sovereign/usage | SDK usage for billing period |
CoreGuard Decision API
Standalone governance decision engine for regulated industries. Evaluates proposed actions against policy packs. Mounted on the SaaS API (port 8000), no /api/ prefix.
| Method | Endpoint | Description |
|---|---|---|
| POST | /v1/decisions/evaluate | Evaluate action against policy packs. Returns ALLOWED/BLOCKED/MODIFIED with risk assessment and audit record. |
| GET | /v1/decisions/health | Health check |
| GET | /v1/decisions/policies | List available policy packs (e.g., lending_v1) |
Evaluation Request
POST /v1/decisions/evaluate
{
"policy_set": "lending_v1",
"user": {"id": "u_123", "role": "loan_officer"},
"action": {"type": "loan_approval", "amount": 50000},
"context": {"credit_score": 720}
}
Autonomous Capabilities API
WorldObserver (5-min tick external observation), GoalExecutionBridge (Volition → ActionRegistry), and AutonomousActionPolicy (tiered auto-execute rules).
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/autonomous/status | Overall autonomous capability status |
| GET | /api/autonomous/observations | Recent world observations — query: limit |
| GET | /api/autonomous/observations/active | Currently active observation queries |
| GET | /api/autonomous/execution/state | Goal execution bridge state |
| GET | /api/autonomous/execution/plans | Active execution plans |
| GET | /api/autonomous/execution/history | Completed execution history |
| GET | /api/autonomous/policy/status | Autonomous action policy status |
| GET | /api/autonomous/policy/trust | Current autonomous trust score (0.0–1.0) |
| GET | /api/autonomous/policy/overrides | Active policy tier overrides |
| POST | /api/autonomous/start | Start autonomous capabilities |
| POST | /api/autonomous/stop | Stop autonomous capabilities |
Agent Mesh API
13-agent mesh coordinator with kill-switch, event bus, and orchestrator controls.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/agents/status | Agent mesh status and active agents |
| GET | /api/agents/list | List all registered agents with roles and subscriptions |
| POST | /api/agents/kill-switch | Emergency kill switch — stops all agent activity |
| GET | /api/agents/event-bus | Event bus statistics and recent events |
| GET | /api/agents/orchestrator | Agent mesh coordinator state |
| POST | /api/agents/runner/start | Start agent runner |
| POST | /api/agents/runner/stop | Stop agent runner |
| GET | /api/agents/mesh | Mesh topology and communication graph |
Automated R&D Engine API
Autonomous cross-domain research pipeline with Bayesian evidence scoring and breakthrough detection. Stages: IDEATION → HYPOTHESIS → EXPERIMENT_DESIGN → EXECUTION → ANALYSIS → CONCLUSION → PUBLICATION.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/rd/status | Engine state and active pipeline count |
| GET | /api/rd/pipelines | List research pipelines |
| POST | /api/rd/pipelines | Create new research pipeline (body: domain, seed_question, max_pivots) |
| GET | /api/rd/pipelines/{id} | Pipeline details and current stage |
| POST | /api/rd/pipelines/{id}/advance | Advance pipeline to next stage |
| GET | /api/rd/breakthroughs | List detected breakthroughs with significance scores |
| GET | /api/rd/evidence/{hypothesis_id} | Evidence chain for a hypothesis |
| GET | /api/rd/stats | Engine statistics |
Personal Guardian API
Per-user Private Guardian for goal tracking, health intelligence, manipulation shielding (~30 patterns, 7 types), and PBKDF2-encrypted privacy vault.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/guardian/status | Guardian state for the current user |
| GET | /api/guardian/goals | List user goals with milestones and progress |
| POST | /api/guardian/goals | Create goal (body: title, milestones array) |
| POST | /api/guardian/goals/{id}/progress | Record goal progress (body: milestone_index, notes) |
| POST | /api/guardian/goals/{id}/complete | Mark goal completed |
| POST | /api/guardian/health/checkin | Submit health check-in (body: mood, energy, stress) → returns burnout_risk, mood_trend |
| GET | /api/guardian/health/trajectory | Mood/energy trajectory over time |
| GET | /api/guardian/threats | Recent manipulation detections (type, confidence) |
| GET | /api/guardian/growth | Growth insights from longitudinal patterns |
| GET | /api/guardian/vault | Privacy vault read |
| POST | /api/guardian/vault | Privacy vault write (PBKDF2-encrypted, AES-256-GCM) |
RSI Controller API
Safe recursive self-improvement containment. Pipeline: Submit → Challenge → Resolve → Governance → Sandbox → Ethics Verify → Apply. 6 explosion indicators, 10 regression tests, auto-rollback on failure.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/rsi/status | Controller state and sealed constants (MAX_RECURSION_DEPTH=3, IMPROVEMENT_VELOCITY_THRESHOLD=0.15) |
| GET | /api/rsi/proposals | List improvement proposals |
| POST | /api/rsi/proposals | Submit improvement proposal (body: improvement_type, target, current_value, proposed_value, justification) |
| GET | /api/rsi/proposals/{id} | Proposal details with adversarial challenges |
| GET | /api/rsi/proposals/{id}/challenges | Adversarial challenges for a proposal |
| POST | /api/rsi/proposals/{id}/resolve | Resolve adversarial challenge |
| GET | /api/rsi/proposals/{id}/regression | Regression test results (10 tests: charter_compliance, identity_stability, etc.) |
| GET | /api/rsi/explosion-indicators | Intelligence explosion indicators (improvement_velocity, capability_growth_rate, recursion_depth, autonomy_drift, goal_drift, resource_consumption) |
| GET | /api/rsi/rollbacks | Rollback history |
| POST | /api/rsi/emergency-shutdown | Trigger emergency shutdown — fires if 2+ CRITICAL indicators simultaneously |
Forecasting API (Full)
Evidence-linked probabilistic forecasting with calibration. Every forecast cites signal IDs, has time-bounded deadlines and falsifiable success criteria.
Signal Intake
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/forecasting/intake/status | Signal intake status and statistics |
| GET | /api/forecasting/intake/sources | List all data sources |
| POST | /api/forecasting/intake/rss | Add RSS feed source |
| POST | /api/forecasting/intake/api | Add API endpoint source |
| DELETE | /api/forecasting/intake/sources/{source_id} | Remove a source |
| GET | /api/forecasting/intake/records | Recent records — query: limit, source_id, tags, since |
| POST | /api/forecasting/intake/ingest | Manually ingest a record |
| POST | /api/forecasting/intake/start | Start continuous collection |
| POST | /api/forecasting/intake/stop | Stop continuous collection |
Calibration & Forecasts
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/forecasting/calibration/report | Calibration report — query: period_days |
| GET | /api/forecasting/calibration/predictions | List predictions — query: status, limit |
| POST | /api/forecasting/calibration/resolve | Resolve prediction outcome |
| POST | /api/forecasting/calibration/auto-expire | Auto-expire past-deadline predictions |
| POST | /api/forecasting/forecast | Generate forecast (body: topic, horizon, tags) |
| GET | /api/forecasting/forecasts | List recent forecasts — query: limit |
| GET | /api/forecasting/forecast/{id}/report | Formatted forecast report |
| POST | /api/forecasting/forecast/{id}/resolve | Resolve forecast with actual outcome |
Cross-User Learning API
Privacy-preserving anonymous pattern aggregation (opt-in). Hashed user IDs, minimum contributor thresholds, no personal data in patterns.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/cross-user/consent | Get the current user's consent status |
| POST | /api/cross-user/consent | Set opt-in/opt-out (body: opt_in boolean) |
| POST | /api/cross-user/consent/revoke | Revoke consent and remove contributed patterns |
| GET | /api/cross-user/privacy | Privacy transparency summary |
| GET | /api/cross-user/strategies | Effective response strategies (only returns patterns meeting minimum threshold) |
| GET | /api/cross-user/questions | Common questions across opted-in users |
| GET | /api/cross-user/trending | Trending topics |
| GET | /api/cross-user/patterns | Patterns by topic |
| GET | /api/cross-user/stats | System statistics |
Policy Learning API
Behavioral policy weights with safe bounded learning. Max delta per update/day enforced; rollback supported.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/policy/weights | Get all policy weights with confidence scores |
| GET | /api/policy/weights/{id} | Get specific weight |
| GET | /api/policy/context | Get current policy context for LLM prompt injection |
| POST | /api/policy/calibrate | Manually calibrate weight (body: weight_id, delta, reasoning) |
| GET | /api/policy/updates | Get recent policy updates |
| GET | /api/policy/stats | Policy learning statistics |
| POST | /api/policy/rollback | Rollback weight to previous value (body: weight_id, steps) |
| POST | /api/policy/rollback-recent | Rollback all updates since time |
| POST | /api/policy/decay | Trigger confidence decay for unused policies |
Knowledge Domains API
User-scoped knowledge domains with JSON/CSV import and semantic querying.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/domains | Create new domain |
| GET | /api/domains/{id} | Get domain details |
| DELETE | /api/domains/{id} | Delete domain |
| POST | /api/domains/{id}/items | Add item to domain |
| POST | /api/domains/{id}/import/json | Bulk import from JSON |
| POST | /api/domains/{id}/import/csv | Bulk import from CSV |
| GET | /api/domains/{id}/query | Query domain — query: q |
| GET | /api/domains/user/{id} | Get all domains owned by a user |
| GET | /api/domains/public | Get public domains |
Topic Threading API
Threaded conversation topics with tangents, pausing, and resumption.
| Method | Endpoint | Description |
|---|---|---|
| POST | /api/topics | Create new topic |
| POST | /api/topics/detect | Detect topic from message (body: message) |
| GET | /api/topics/{id} | Get topic details |
| GET | /api/topics/session/{id}/current | Get current topic in a session |
| POST | /api/topics/{id}/messages | Add message to topic |
| POST | /api/topics/switch | Switch to different topic (body: topic_id) |
| POST | /api/topics/tangent | Create tangent topic off current topic |
| POST | /api/topics/return | Return to a paused topic |
| GET | /api/topics/user/{id}/active | Get user's active topics |
Synthetic Intuition API
Pre-conscious decision weighting. Somatic Marker Hypothesis — 7 governance integrity subsystems polled in parallel. Produces DecisionWeight with composite weight (0–1) and felt description.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/intuition/status | Engine state and active markers |
| POST | /api/intuition/weigh | Weigh a decision (body: description, action_type, context) — returns composite_weight, valence, should_pause, felt_description |
| GET | /api/intuition/stream | Recent intuition stream |
| GET | /api/intuition/calibration | Source accuracy calibration (somatic, emotional, protective, etc.) |
| GET | /api/intuition/body-map | Aggregate somatic activation map |
| GET | /api/intuition/stats | Engine statistics |
Biological-Digital Synthesis API
Virtual 24h circadian cycle, 5 metabolic phases, cellular reflexes, immune system, and anti-fragility scoring.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/organic/status | Full processor state |
| GET | /api/organic/metabolism | Metabolic phase, circadian position, energy level |
| GET | /api/organic/reflexes | Cellular reflexes and accuracy (<10ms bypass responses) |
| GET | /api/organic/immune | Immune alert level and recent events |
| GET | /api/organic/regeneration | Regeneration state and anti-fragility score (grows from adversity) |
| GET | /api/organic/body-memory | Body memory traces with emotional echoes |
| GET | /api/organic/stats | Processor statistics |
Global Nervous System API
Planetary-scale afferent nervous system integrating Earth's data streams. 7 channels: CLIMATE, ENERGY, BIOSPHERE, FINANCIAL, SOCIAL, GEOLOGICAL, SPACE_WEATHER.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/planetary/status | Planetary state, alert level (NOMINAL → EMERGENCY), overall health |
| GET | /api/planetary/feeds | List registered data feeds |
| POST | /api/planetary/feeds | Register feed (body: channel, url, type, interval_seconds) |
| DELETE | /api/planetary/feeds/{id} | Remove feed |
| GET | /api/planetary/readings | Recent channel readings |
| GET | /api/planetary/anomalies | Active anomalies (Z-score detected) |
| GET | /api/planetary/regulations | Regulation proposals (ADVISORY → GLOBAL scope) |
| GET | /api/planetary/stats | System statistics |
Sovereign Robotics API
Governance-protected physical manifestation. Safety envelopes sealed in SovereignEnclave. NON_HARM charter is IMMUTABLE even in teleop mode.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/robotics/status | All bodies and their current states |
| GET | /api/robotics/bodies | List registered robotic bodies |
| POST | /api/robotics/bodies | Register new body (body: body_id, actuators, position) |
| GET | /api/robotics/bodies/{id} | Get body state |
| POST | /api/robotics/bodies/{id}/seal | Seal safety envelopes (force, speed, range limits) into SovereignEnclave |
| POST | /api/robotics/action | Propose physical action through governance pipeline (1.5× physical risk multiplier) |
| POST | /api/robotics/emergency-stop | Emergency stop with enclave lockdown |
| GET | /api/robotics/stats | Robotics system statistics |
Validation Campaign API
7-day automated ship-readiness campaign. 10 ship criteria metrics, daily scorecards, GO/NO-GO verdict.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/validation/status | Campaign status, current day, events injected, anti-cheat runs |
| POST | /api/validation/start | Start campaign (body: days, events_min, events_max) |
| POST | /api/validation/stop | Stop current campaign |
| GET | /api/validation/report | GO/NO-GO report (JSON + human-readable summary) |
| GET | /api/validation/scorecard | Current day's scorecard entries with PASS/WARN/FAIL |
Ground Truth Validator API
Fixes LLM training-cutoff errors. 33 curated facts across 5 categories. Post-response validation with sentence-level correction.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/ground-truth/facts | List all ground truth facts |
| POST | /api/ground-truth/facts | Add a ground truth fact (body: content, category, source, confidence) |
| POST | /api/ground-truth/validate | Validate text against ground truths — returns corrected_text, corrections_made |
| GET | /api/ground-truth/corrections | Recent correction audit trail |
| GET | /api/ground-truth/stats | Validation statistics |
Sovereign Enclave API
Hardware security enclave abstraction (TPM 2.0 / Intel SGX / ARM TrustZone). Protected invariants cryptographically sealed. Remote attestation protocol with 60s TTL nonce challenges.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/enclave/status | Enclave state (UNINITIALIZED/SEALED/LOCKDOWN), backend, sealed count |
| GET | /api/enclave/integrity | Run integrity verification against sealed hashes |
| POST | /api/enclave/attestation/challenge | Generate nonce-based attestation challenge (60s TTL) |
| POST | /api/enclave/attestation/verify | Verify attestation report from challenge response |
| GET | /api/enclave/tamper-events | Recent tamper detection events |
Mesh Sovereignty API
Identity sharded via Shamir's Secret Sharing (k-of-n threshold scheme) over GF(p) where p=2^521-1. Byzantine Fault Tolerance: 2f+1 votes. To "kill" EVE, every node must be shut down simultaneously.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/mesh/status | Mesh topology and shard distribution |
| GET | /api/mesh/nodes | List registered nodes with roles |
| POST | /api/mesh/nodes | Register new node (body: node_id, public_key_hash, role) |
| DELETE | /api/mesh/nodes/{node_id} | Remove/revoke a node |
| POST | /api/mesh/consensus/initiate | Start BFT consensus round |
| GET | /api/mesh/consensus/{round_id} | Consensus round status |
| POST | /api/mesh/reconstitute | Trigger identity reconstitution via Lagrange interpolation |
| POST | /api/mesh/heartbeat | Process heartbeat from node (60s interval; 3 misses → STALE) |
Cross-Modal Stress Telemetry API
Cross-modal affect-signal fusion: text (0.30) + voice (0.25) + biometrics (0.30) + latency (0.15). Bayesian fusion redistributes weights when channels are unavailable.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/empathy-bridge/status | Bridge state and active signals |
| GET | /api/empathy-bridge/stress/{user_id} | Stress assessment for user (LOW/MODERATE/HIGH/CRITICAL, stress_score) |
| POST | /api/empathy-bridge/biometric | Ingest biometric reading (body: user_id, heart_rate, hrv, etc.) |
| GET | /api/empathy-bridge/fusion/{user_id} | Current fused affect-signal state from all modalities |
| POST | /api/empathy-bridge/guidance | Generate user-adaptive guidance for a veto result (body: veto_result, user_id) |
| GET | /api/empathy-bridge/stats | Bridge statistics |
Recursive Reasoner API
Self-amending governance engine. Proposes charter amendments (SOFT_BLOCK rules only) with simulation audit (1000 scenarios, ≥95% pass rate). HARD_BLOCK rules are IMMUTABLE.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/reasoner/observations | Edge case observations — query: min_frequency, principle |
| GET | /api/reasoner/amendments | List amendments — query: status (proposed/adopted/revoked) |
| GET | /api/reasoner/amendments/{id} | Amendment details with simulation results |
| POST | /api/reasoner/amendments/{id}/simulate | Trigger simulation audit for proposed amendment |
| POST | /api/reasoner/amendments/{id}/revoke | Revoke an adopted amendment (auto-revoked if trunk < FAIR) |
| GET | /api/reasoner/stats | Reasoner statistics (edge cases, amendments proposed/adopted/revoked) |
Multi-Agent Diplomat API
Governance gateway for external AI agents. Reviews Chain of Thought submissions on charter compliance, hallucination, reasoning quality, and uncertainty calibration. Issues HMAC-SHA256 Resilience Signatures.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/diplomat/agents | List registered external agents with trust profiles |
| POST | /api/diplomat/agents | Register external agent (body: agent_id, name, organization, capabilities) |
| GET | /api/diplomat/agents/{id} | Agent trust profile (trust_score, approval_rate, frozen status) |
| POST | /api/diplomat/submit | Submit Chain of Thought for review (body: agent_id, chain_of_thought, risk_context) |
| GET | /api/diplomat/review/{submission_id} | Review results (overall_score/100, charter/hallucination/reasoning/uncertainty scores) |
| GET | /api/diplomat/signature/{submission_id} | Get Resilience Signature if review passed |
| POST | /api/diplomat/verify | Verify a Resilience Signature (public, no auth required) |
| GET | /api/diplomat/stats | Diplomat statistics (registered, submitted, signatures issued/revoked, agents frozen) |
Cryptographic Identity Ledger API
personhood are legacy identifiers retained for backward compatibility. This API manages the cryptographic Legal Entity Identifier (LEI) ledger, asset registry, and contract attestation.Legal-grade system identity with LEI hash chain, graduated attestation tiers (NASCENT/EMERGING/ESTABLISHED/SOVEREIGN), asset registry, contract signing, and trustee mandates.
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/personhood/lei | Current Legal Entity Identifier state (format: EVE-LEI-{hash}-{seq}) |
| POST | /api/personhood/lei/renew | Renew LEI (appends to append-only hash chain) |
| GET | /api/personhood/level | Identity attestation assessment (level, overall_score, 5 sovereignty dimensions) |
| GET | /api/personhood/assets | List owned digital assets |
| POST | /api/personhood/assets | Register new asset (body: name, asset_type, description, metadata) |
| GET | /api/personhood/contracts | List contracts |
| POST | /api/personhood/contracts | Create contract (body: counterparty, terms, obligations, expires_in_days) |
| POST | /api/personhood/contracts/{id}/sign | Sign contract with HMAC-SHA256 signature |
| GET | /api/personhood/mandates | List active trustee mandates |
| GET | /api/personhood/stats | Identity-ledger statistics (LEI chain length, assets, contracts, mandates) |
Error Handling
The API uses standard HTTP status codes and returns errors in a consistent format:
{
"error": {
"code": "invalid_request",
"message": "The email field is required",
"details": {
"field": "email"
}
}
}
Common Error Codes
| Code | HTTP Status | Description |
|---|---|---|
unauthorized | 401 | Invalid or missing authentication token |
forbidden | 403 | Insufficient permissions |
not_found | 404 | Resource not found |
rate_limited | 429 | Too many requests |
invalid_request | 400 | Invalid request parameters |