API Reference

Ship faster.
Stay deterministic.

Complete reference for PHANTOM, HoloDB, NeuroCore, and Catalyst-Q endpoints.

API Reference

Base URL: https://api.strategic-innovations.ai
All requests and responses use JSON. Include Content-Type: application/json header on all requests.

Authentication

All API requests require an API key passed as a Bearer token in the Authorization header.

Authorization: Bearer sk_holocpu_xxxxxxxxxxxx

API keys are created from your dashboard. Each key is scoped to one or more products. Keys are shown once on creation — store them securely.

Key scopes

ScopeAccess
phantomPHANTOM AI detection only
holodbHoloDB vector operations only
neurocoreNeuroCore inference only
catalystqCatalyst-Q only
allAll products

PHANTOM

Detect AI-generated text with 99.3% zero-shot accuracy. No training, no fine-tuning, no GPU.

POST /v1/phantom/detect

Classify a text snippet as AI-generated or human-written.

Request body

{
  "text": "string",       // required, 1–100,000 characters
  "model": "phantom-v3" // optional, defaults to latest
}

Response

{
  "is_ai": true,         // boolean — true = AI generated
  "confidence": 0.987,    // float 0.0–1.0
  "model": "phantom-v3",  // model version used
  "latency_ms": 47        // server processing time in ms
}

Example

curl
Python
JavaScript
curl -X POST https://api.strategic-innovations.ai/v1/phantom/detect \
  -H "Authorization: Bearer $API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"text": "Your text here..."}'
from strategic_innovations import Phantom

client = Phantom(api_key="sk_holocpu_xxxx")
result = client.detect(text="Your text here...")
print(result.is_ai, result.confidence)
import { Phantom } from '@strategic-innovations/sdk';

const client = new Phantom({ apiKey: 'sk_holocpu_xxxx' });
const result = await client.detect({ text: 'Your text here...' });
console.log(result.isAI, result.confidence);

HoloDB

O(1) vector database. 22 microsecond retrieval regardless of collection size. Encrypted hypervectors.

POST /v1/holodb/insert

Insert a vector into a collection.

{
  "collection": "my_collection",   // string
  "id": "doc_123",                  // string, your document ID
  "vector": [0.1, -0.3, 0.87, ...], // float array, your embedding
  "metadata": { "title": "Doc title" } // optional metadata
}

POST /v1/holodb/search

Search nearest neighbors.

{
  "collection": "my_collection",   // string
  "query_vector": [0.1, -0.3, ...], // float array
  "top_k": 5,                        // number of results, 1–100
  "include_metadata": true           // optional, include metadata
}
{
  "results": [
    { "id": "doc_456", "score": 0.94, "metadata": { "title": "..." } },
    ...
  ],
  "latency_ms": 22
}

DELETE /v1/holodb/delete

Remove a vector by ID.

{
  "collection": "my_collection",
  "id": "doc_123"
}

NeuroCore

HDC-based AI inference. Single-pass, no backpropagation. Works with MCP-compatible models.

POST /v1/neurocore/run

{
  "task": "string",       // your task description
  "model": "claude",       // model to use (claude, gpt-4, etc.)
  "context": [],           // optional context documents
  "max_tokens": 1024       // optional, defaults to model max
}
{
  "result": "...",         // model response
  "model": "claude",
  "latency_ms": 180
}

Catalyst-Q

Quantum circuit simulation and portfolio optimization. O(1) gate simulation.

POST /v1/catalystq/optimize

{
  "assets": ["AAPL", "MSFT", "GOOG"],
  "risk_free_rate": 0.05,  // annual risk-free rate
  "target_return": 0.12    // optional target return
}
{
  "weights": { "AAPL": 0.4, "MSFT": 0.35, "GOOG": 0.25 },
  "expected_return": 0.118,
  "sharpe_ratio": 1.42,
  "tsirelson_constant": 2.828
}

Error codes

HTTPCodeMeaning
400invalid_requestMissing or malformed parameters
401unauthorizedInvalid or missing API key
403forbiddenKey does not have access to this product
404not_foundCollection or resource not found
422validation_errorRequest body failed validation
429rate_limitedRate limit exceeded
500internal_errorInternal server error
503unavailableService temporarily unavailable

Webhooks

Receive real-time notifications when detection results are ready or collections are updated.

{
  "event": "detection.complete",
  "data": {
    "id": "det_abc123",
    "is_ai": true,
    "confidence": 0.987,
    "timestamp": "2026-04-09T12:00:00Z"
  }
}