API for managing personal memory items with authentication and user-specific data.
API for managing personal memory items with authentication and user-specific data.
This API supports three authentication methods:
X-API-Key headerX-API-Key: <your-api-key>X-Session-Token headerX-Session-Token: <your-session-token>Authorization headerAuthorization: Bearer <token>All endpoints require one of these authentication methods.
curl -i -X GET \
https://memoryserver-staging-223473570766.us-west1.run.app/v1/frequencies \
-H 'X-API-Key: string'Successful Response
Frequency band definitions
Frequency in Hz (brain-inspired band)
Field type: ENUM, FREE_TEXT, NUMERIC, DATE, MULTI_VALUE
Operational configuration
Path to DSPy-optimized extractor model (null = use direct LLM)
Path to DSPy-optimized extractor model (null = use direct LLM)
Path to DSPy-optimized extractor model (null = use direct LLM)
LLM model for metadata extraction
Frequency weight mode (legacy_sparse, code_search_v2, hybrid_optimized_v2)
Enable sparse frequency weights
Enable complex interference scoring (PDCI, SFI)
Enable query-adaptive frequency weights
Cross-encoder reranking model
Number of candidates for cross-encoder reranking
Over-fetch count from Qdrant for reranking
Enable entailment-gated reranking (EGR)
{ "success": true, "schemas": [ { … } ], "total": 0, "shortcuts": { "property1": "string", "property2": "string" } }
curl -i -X GET \
'https://memoryserver-staging-223473570766.us-west1.run.app/v1/frequencies/{frequency_schema_id}' \
-H 'X-API-Key: string'Successful Response
Frequency band definitions
Operational configuration
Path to DSPy-optimized extractor model (null = use direct LLM)
Path to DSPy-optimized extractor model (null = use direct LLM)
Path to DSPy-optimized extractor model (null = use direct LLM)
LLM model for metadata extraction
Frequency weight mode (legacy_sparse, code_search_v2, hybrid_optimized_v2)
Enable complex interference scoring (PDCI, SFI)
Enable query-adaptive frequency weights
Cross-encoder reranking model
Number of candidates for cross-encoder reranking
Enable entailment-gated reranking (EGR)
{ "schema_id": "string", "name": "string", "domain": "string", "version": "string", "description": "", "num_frequencies": 0, "frequencies": [ { … } ], "config": { "dspy_model_path": "string", "llm_metadata_model": "gpt-5-mini", "weight_mode": "legacy_sparse", "contrast_gamma": 2, "use_sparse_weights": true, "use_complex_interference": true, "use_adaptive_weights": true, "cross_encoder_model": "Qwen/Qwen3-Reranker-4B", "cross_encoder_topk": 25, "qdrant_topk": 50, "enable_entailment_rerank": true, "default_scoring_method": "egr_rerank" } }
Text content for LLM metadata extraction
Base embedding vector (any dimensionality)
Domain for frequency schema selection (e.g. 'biomedical', 'code', 'general')
Domain for frequency schema selection (e.g. 'biomedical', 'code', 'general')
Domain for frequency schema selection (e.g. 'biomedical', 'code', 'general')
Specific frequency schema ID override (e.g. 'biomedical:scifact:2.0.0'). Takes precedence over domain.
Specific frequency schema ID override (e.g. 'biomedical:scifact:2.0.0'). Takes precedence over domain.
Specific frequency schema ID override (e.g. 'biomedical:scifact:2.0.0'). Takes precedence over domain.
Which output fields to return. Default: ['rotation_v3', 'metadata']. Request only what you need to minimize response size.
Which output fields to return. Default: ['rotation_v3', 'metadata']. Request only what you need to minimize response size.
Optional context metadata (createdAt, sourceType, customMetadata, etc.) to improve LLM extraction accuracy, especially for dates and entities.
Optional context metadata (createdAt, sourceType, customMetadata, etc.) to improve LLM extraction accuracy, especially for dates and entities.
curl -i -X POST \
https://memoryserver-staging-223473570766.us-west1.run.app/v1/holographic/transform \
-H 'Content-Type: application/json' \
-H 'X-API-Key: YOUR_API_KEY_HERE' \
-d '{
"content": "The patient presents with elevated troponin levels indicating myocardial damage",
"context_metadata": {
"createdAt": "2026-03-15T14:30:00Z",
"sourceType": "pubmed"
},
"domain": "biomedical",
"embedding": [
0.1,
-0.2,
0.3
],
"output": [
"rotation_v3",
"phases",
"metadata"
]
}'Successful Response
Inner data for transform response — only requested fields are populated.
Original embedding echoed back
Original embedding echoed back
Rotation V1 transform (same dims as input)
Rotation V1 transform (same dims as input)
Rotation V2 transform (same dims as input)
Rotation V2 transform (same dims as input)
Rotation V3 transform (recommended for search, same dims as input)
Rotation V3 transform (recommended for search, same dims as input)
Concatenation transform (input_dims + 196)
Concatenation transform (input_dims + 196)
14 raw phase values for on-device reconstruction and fast-path rerank
14 raw phase values for on-device reconstruction and fast-path rerank
LLM-extracted metadata keyed by frequency field name
LLM-extracted metadata keyed by frequency field name
{ "status": "success", "data": { "base_dim": 2560, "domain": "biomedical", "frequency_schema_id": "biomedical:scifact:2.0.0", "metadata": { … }, "phases": [ … ], "rotation_v3": [ … ], "timing_ms": 142.3 } }