Cortex Bi-Temporal Memory Gateway API
Get Cortex Bi-Temporal Memory Gateway data via REST or OpenAny MCP—with pay-per-use pricing and no subscription. Powered by Codesphereug, pass parameters such as id, jsonrpc, method, and retrieve structured data including identifier, name, description, returned input schema field, and returned jsonrpc field for application integration and result review, and integration reference.
- Selected price
- $0.001 / callPublished pricing
- Sellers / APIs
- 1 / 1
- Requests · 30d
- 4Selected implementation · last 30 days
- Success rate · 30d
- 100.00%Selected implementation · last 30 days
Cortex Bi-Temporal Memory Gateway API
Prepare your request, then continue with your agent.
Selected price
$0.001 / call
- Provider
- Pricing
On this page
Overview
Cortex Bi-Temporal Memory Gateway API
Cortex Bi-Temporal Memory Gateway API uses the documented POST route for this operation. Review the optional inputs supported by the selected implementation. Read the response using the field paths below, preserving identifiers and the declared value types when mapping results.
Quick Facts
| Fact | Value |
|---|---|
| Access | OpenAny REST |
| Authentication | OpenAny API key in the Authorization header |
| Core inputs | No business input parameters. |
| Selected implementation | codesphereug · Cortex Bi-Temporal Memory Gateway |
| Billing | Follow the selected implementation pricing, billing unit, quantity and charge rules |
What You Can Build
- Application integration and result review: Keep the request context attached to available returned results.
- Integration reference: Use the selected request format and keep source identifiers with the returned result.
Documented Response Fields
| Field | Meaning |
|---|---|
id |
Identifier |
result.tools[].name |
Name |
result.tools[].description |
Description |
result.tools[].inputSchema |
Returned input schema field |
jsonrpc |
Returned jsonrpc field |
Quick Start
- Set OPENANY_API_KEY to your OpenAny API key.
- Review the JSON body and supported fields shown in the request template.
- Check the HTTP response and business result before reading optional fields.
curl \
'https://api.openany.si/v1/agent-apis/codesphereug/cortex/mcp' \
-X POST \
-H "Authorization: Bearer $OPENANY_API_KEY" \
-H 'Content-Type: application/json' \
--data-raw '{
"id": 2,
"jsonrpc": "2.0",
"method": "tools/list"
}'
Request and Response Examples
The response is a published documentation reference; its values may be historical. The request is an independent calling template. Use current returned identifiers and optional fields for your target resource.
Published Cortex Bi-Temporal Memory Gateway API implementation contract.
Pricing and Billing
The pricing area reflects the selected API implementation. Review its billing unit and any request-dependent rules before calling; a source service's public availability does not determine OpenAny billing.
Frequently Asked Questions
Related APIs
Playground
Run sends a real API request. Charges follow the published API contract.
Sellers
| Seller | Pricing | Requests · 30d | Performance | Access |
|---|---|---|---|---|
codesphereugCurrent Cortex Bi-Temporal Memory Gateway API · POST · View API reference | $0.001 / call | 4 | 100.00%successP50602.5ms |
- Unit price
- $0.001
Statistics use persisted gateway logs from the last 30 days up to now, including today.
Success rate = successful requests / all requests;
P50 = median latency of successful requests.
Prices reflect the published API contract. Contract revision: 6. Price update time: not supplied.
Total $0.1
API
- Method
- POST
- Endpoint
https://api.openany.si/v1/agent-apis/codesphereug/cortex/mcp- Content type
- application/json
- Authentication
Authorization: Bearer $OPENANY_API_KEY
Input parameters
Fields in this listing; additional options and input encoding can vary by provider.
No input fields are required by this API contract.
Required markers inside a nested object or variant apply when that object or variant is used.
Response structure
idintegerjsonrpcstringresultobjecttoolsobject[]descriptionstringinputSchemaobjectpropertiesobjectcategoryobjectdescriptionstringenumstring[]typestring
contentobjectdescriptionstringtypestring
entities_mentionedobjectdescriptionstringitemsobjecttypestring
typestring
files_touchedobjectdescriptionstringitemsobjecttypestring
typestring
timestampobjectdescriptionstringtypestring
titleobjectdescriptionstringtypestring
confidenceobjectdefaultnumberdescriptionstringtypestring
object_idobjectdescriptionstringtypestring
object_valueobjectdescriptionstringtypestring
predicateobjectdescriptionstringtypestring
singularobjectdefaultbooleandescriptionstringtypestring
source_episode_idobjectdescriptionstringtypestring
subject_idobjectdescriptionstringtypestring
valid_fromobjectdescriptionstringtypestring
as_ofobjectdescriptionstringtypestring
include_supersededobjectdefaultbooleandescriptionstringtypestring
max_tokensobjectdefaultintegerdescriptionstringtypestring
queryobjectdescriptionstringtypestring
entity_idobjectdescriptionstringtypestring
max_hopsobjectdefaultintegerdescriptionstringtypestring
auto_resolveobjectdefaultbooleandescriptionstringtypestring
requiredstring[]typestring
namestring
Agent integration
Copy the resource contract without sharing an API key.
Error handling
| Status | Next step |
|---|---|
400 | Check the offering and request fields. |
401 / 403 | Verify your credentials and access permissions. |
402 | Inspect the selected access mode and returned payment requirements. |
429 | Respect the returned rate limit and retry guidance. |
5xx | Inspect the error and usage record before retrying a paid operation. |
Examples
Recorded upstream MCP tools/list (HTTP 200)
Published documentation example. Verify the actual response after an approved call.
Prepare your environment
Use a terminal with cURL installed.
Use an OpenAny API key with shared-balance access. Confirm availability and price before running; a call may charge your balance.
Set the key in your terminal using the hidden prompt below. Keep its value out of source files and logs.
Terminal · macOS / Linuxprintf 'OpenAny API key: ' read -r -s OPENANY_API_KEY export OPENANY_API_KEY printf '\n'Run the request
Paste the complete command below into your terminal.
Terminal · cURLcurl \ 'https://api.openany.si/v1/agent-apis/codesphereug/cortex/mcp' \ -X POST \ -H "Authorization: Bearer $OPENANY_API_KEY" \ -H 'Content-Type: application/json' \ --data-raw '{ "id": 2, "jsonrpc": "2.0", "method": "tools/list" }'Check the response
Sample response · Documented HTTP 200
Sample response{ "id": 2, "jsonrpc": "2.0", "result": { "tools": [ { "description": "Record an immutable engineering episode (ADR, bug_root_cause, invariant, session_note, migration, incident) with associated files and mentioned entities.", "inputSchema": { "properties": { "category": { "description": "Episode classification category.", "enum": [ "adr", "bug_root_cause", "incident", "invariant", "migration", "session_note" ], "type": "string" }, "content": { "description": "Detailed architectural or technical note.", "type": "string" }, "entities_mentioned": { "description": "Canonical entity IDs referenced in this episode.", "items": { "type": "string" }, "type": "array" }, "files_touched": { "description": "Relative repository file paths involved.", "items": { "type": "string" }, "type": "array" }, "timestamp": { "description": "Optional ISO-8601 UTC timestamp.", "type": "string" }, "title": { "description": "Short descriptive title of the episode.", "type": "string" } }, "required": [ "title", "category", "content" ], "type": "object" }, "name": "memory_record_episode" }, { "description": "Record a structured entity-relationship fact (subject_id, predicate, object) with automatic bi-temporal conflict detection and supersession of stale facts.", "inputSchema": { "properties": { "confidence": { "default": 1.0, "description": "Confidence score in [0.0, 1.0].", "type": "number" }, "object_id": { "description": "Target entity identifier (if relational).", "type": "string" }, "object_value": { "description": "Target literal value (if attribute).", "type": "string" }, "predicate": { "description": "Relationship or attribute predicate.", "type": "string" }, "singular": { "default": true, "description": "If true, supersedes any prior active fact with the same (subject_id, predicate).", "type": "boolean" }, "source_episode_id": { "description": "Optional episode ID that established this fact.", "type": "string" }, "subject_id": { "description": "Source entity identifier.", "type": "string" }, "valid_from": { "description": "Optional ISO-8601 UTC timestamp when fact became true.", "type": "string" } }, "required": [ "subject_id", "predicate" ], "type": "object" }, "name": "memory_upsert_fact" }, { "description": "Compile a token-budgeted, provenance-cited context bundle for a coding query, automatically suppressing superseded/stale facts.", "inputSchema": { "properties": { "as_of": { "description": "Optional ISO-8601 timestamp for point-in-time compilation.", "type": "string" }, "include_superseded": { "default": false, "description": "Whether to include historically superseded facts.", "type": "boolean" }, "max_tokens": { "default": 1200, "description": "Strict maximum token budget for the compiled context.", "type": "integer" }, "query": { "description": "Task description, symbol, or file query.", "type": "string" } }, "required": [ "query" ], "type": "object" }, "name": "memory_compile_context" }, { "description": "Inspect an entity's active facts, superseded historical facts, related episodes, and K-hop ego-graph neighborhood.", "inputSchema": { "properties": { "entity_id": { "description": "Entity ID to inspect.", "type": "string" }, "include_superseded": { "default": true, "description": "Include historical facts superseded by newer decisions.", "type": "boolean" }, "max_hops": { "default": 2, "description": "Maximum hop distance for ego-graph traversal.", "type": "integer" } }, "required": [ "entity_id" ], "type": "object" }, "name": "memory_query_entity" }, { "description": "Query the knowledge graph as of a specific ISO-8601 timestamp to inspect historical architecture state.", "inputSchema": { "properties": { "as_of": { "description": "ISO-8601 UTC timestamp to inspect.", "type": "string" } }, "required": [ "as_of" ], "type": "object" }, "name": "memory_time_travel" }, { "description": "Verify cryptographic SHA-256 hashes of all episodes and facts and compute the graph Merkle digest.", "inputSchema": { "properties": {}, "type": "object" }, "name": "memory_verify_integrity" }, { "description": "Scan active facts in the bi-temporal graph to detect unresolved logical contradictions (negation polarity inversions, antonym objects, predicate alias collisions, or unsuperseded multi-value drift) and recommend or apply supersession resolutions.", "inputSchema": { "properties": { "as_of": { "description": "Optional ISO-8601 timestamp to audit active facts at a historical point.", "type": "string" }, "auto_resolve": { "default": false, "description": "If true, automatically supersedes the older/lower-confidence conflicting fact.", "type": "boolean" } }, "type": "object" }, "name": "cortex_audit_contradictions" } ] } }