OpenAny
Get API keyAPI Key
APIDeveloperTools

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
USE THIS API

Cortex Bi-Temporal Memory Gateway API

Prepare your request, then continue with your agent.

Selected price

$0.001 / call

Provider
Pricing
Connect your agent
On this page

Overview

Overview
Cortex Bi-Temporal Memory Gateway API

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

  1. Set OPENANY_API_KEY to your OpenAny API key.
  2. Review the JSON body and supported fields shown in the request template.
  3. Check the HTTP response and business result before reading optional fields.
bash
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

View FAQ

Related APIs

Playground

Run sends a real API request. Charges follow the published API contract.

Request parameters

No input fields are required by this API contract.

Sample response

Run a request to see the actual response. Published samples are in Examples.

Response result

Sellers

SellerPricingRequests · 30dPerformanceAccess
Cortex Bi-Temporal Memory Gateway API · POST · View API reference$0.001 / call4
100.00%successP50602.5ms
Selected implementation traffic · 11/3/2026 – 12/3/2026 (UTC)
Selected pricing · codesphereugUSD / call
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.

calls

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
View request and response examples

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

Inferred from examples
  • idinteger
  • jsonrpcstring
  • resultobject
    • toolsobject[]
      • descriptionstring
      • inputSchemaobject
        • propertiesobject
          • categoryobject
            • descriptionstring
            • enumstring[]
            • typestring
          • contentobject
            • descriptionstring
            • typestring
          • entities_mentionedobject
            • descriptionstring
            • itemsobject
              • typestring
            • typestring
          • files_touchedobject
            • descriptionstring
            • itemsobject
              • typestring
            • typestring
          • timestampobject
            • descriptionstring
            • typestring
          • titleobject
            • descriptionstring
            • typestring
          • confidenceobject
            • defaultnumber
            • descriptionstring
            • typestring
          • object_idobject
            • descriptionstring
            • typestring
          • object_valueobject
            • descriptionstring
            • typestring
          • predicateobject
            • descriptionstring
            • typestring
          • singularobject
            • defaultboolean
            • descriptionstring
            • typestring
          • source_episode_idobject
            • descriptionstring
            • typestring
          • subject_idobject
            • descriptionstring
            • typestring
          • valid_fromobject
            • descriptionstring
            • typestring
          • as_ofobject
            • descriptionstring
            • typestring
          • include_supersededobject
            • defaultboolean
            • descriptionstring
            • typestring
          • max_tokensobject
            • defaultinteger
            • descriptionstring
            • typestring
          • queryobject
            • descriptionstring
            • typestring
          • entity_idobject
            • descriptionstring
            • typestring
          • max_hopsobject
            • defaultinteger
            • descriptionstring
            • typestring
          • auto_resolveobject
            • defaultboolean
            • descriptionstring
            • typestring
        • requiredstring[]
        • typestring
      • namestring

Agent integration

Copy the resource contract without sharing an API key.

Download MDView API Markdown

Error handling

StatusNext step
400Check the offering and request fields.
401 / 403Verify your credentials and access permissions.
402Inspect the selected access mode and returned payment requirements.
429Respect the returned rate limit and retry guidance.
5xxInspect 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.

  1. 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 / Linux
    printf 'OpenAny API key: '
    read -r -s OPENANY_API_KEY
    export OPENANY_API_KEY
    printf '\n'
  2. Run the request

    Paste the complete command below into your terminal.

    Terminal · cURL
    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"
    }'
  3. 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"
          }
        ]
      }
    }

Common questions

Does this implementation require business input parameters?

No business input is marked as required by the selected schema. Review any optional filters and the documented request format before calling.

Which request format should I follow?

Use POST on the documented OpenAny route with the selected implementation request content type. Do not change the method or move inputs to a different location.

How should I map the returned fields?

Use the documented response paths with their returned types. Keep null, empty collections, false and zero distinct, and retain the identifiers needed to match results to the request.

Can I reuse request parameters from another endpoint?

Use the selected implementation schema. Similar operation names, providers or versions do not establish identical input locations, types or response fields.

Which API key should I use?

Use your OpenAny API key as Bearer authentication on the documented OpenAny route.

Where can I check the current request price?

Check the pricing area for the selected API implementation. Follow its billing unit, quantity and any request-dependent rules before sending the request.

Use Cortex Bi-Temporal Memory Gateway API with your agent

Inspect endpoint contracts and confirm availability and pricing before a paid call.