API Reference
One JSON-in / JSON-out service. Call it directly or through the MCP, Tavily, and OpenAI-compatible shims.
Authentication
Every request takes a bearer token. The base URL for all endpoints is:
Authorization: Bearer $INCORD_KEY
Base URL: https://api.incord.aiQuickstart
Send an objective, get ranked real-time context back:
curl https://api.incord.ai/v1/context \
-H "Authorization: Bearer $INCORD_KEY" \
-H "Content-Type: application/json" \
-d '{
"objective": "What is bitcoin analysis?",
"top_k": 5,
"rerank": true,
"filters": { "asset_class": "crypto", "max_age_hours": 24 }
}'Retrieval
/v1/contextEmbed a query and retrieve the top-K most relevant nodes, cross-encoder reranked. Returns a confidence object with did-you-mean hints. Supports six filter dimensions: symbol, asset_class, categories, node_types, tiers, max_age_hours.
/v1/temporal/analyzeTrend and spike detection over numeric signals. Returns { trend, current, baseline, spike_ratio, is_spike, count } from an in-memory ring buffer, no disk I/O on the read path.
/v1/ingestPush content into the knowledge graph. Normalizes category and asset_class to canonical forms; snapshot uploads also feed the temporal bridge.
Discovery
/v1/filters/valuesSingle-shot enumeration of every value the /v1/context filters accept, asset classes, categories, node types, tiers, and the live symbol universe.
/v1/toolsOpenAI-format function-calling descriptors for the brain's tools.
Asset Registry
/v1/registry/assetList all registered assets.
/v1/registry/asset/{canonical}Fetch a single asset entry.
/v1/registry/assetCreate a new asset entry. Auto-resyncs the heartbeat schedule on the next tick.
/v1/registry/asset/{canonical}Replace an existing asset entry.
/v1/registry/asset/{canonical}Remove an entry and drop its per-asset heartbeat sources.
/v1/registry/asset/lookupAuto-populate a full AssetEntry preview from a single input (ticker, name, or partial), cross-referencing multiple venues in parallel with imposter filtering.
/v1/registry/news/sourceList configured news sources.
Admin & Operations
/v1/admin/statsProcess state: node count, hot/cold ratio, per-tier and per-type breakdowns, embed-index size. Liveness probe.
/v1/admin/universeCurrent screener picks per asset class.
/v1/admin/refresh-universeFire one screener cycle on demand and persist new universe picks.
/v1/admin/refresh-metadataRe-fetch registry metadata only (skip the screener scan).
/v1/admin/normalize-propertiesOne-shot backfill: rewrite every node's asset_class and category to canonical forms. Idempotent.
/v1/admin/restore-from-rawRestore properties from preserved *_raw siblings and re-apply the current normalizer.
Compatibility
/mcpModel Context Protocol JSON-RPC, surfaces brain_search / brain_ingest / brain_universe to any MCP-aware client. SSE keepalive at GET /mcp/sse.
/tavily/searchTavily Search API drop-in, point existing LangChain / LlamaIndex agents at Incord by changing BASE_URL.
/openai/v1/embeddingsOpenAI Embeddings API, served by Incord' own model. 256-dim Matryoshka-truncated vectors.
/v1/healthHealth check.