API reference

Commit, recall, and status against hosted Bilinc Cloud.

Use the Python SDK first, or call the same hosted endpoints directly from a server runtime.

Install pathPyPI package
RuntimeHosted Cloud
InterfacePython + CLI + MCP
Releasev2.1.4
Python SDK

CloudClient wraps the hosted API.

import os
from bilinc import CloudClient

client = CloudClient(api_key=os.environ["BILINC_API_KEY"])

client.commit("user.preference", {"theme": "dark"})
results = client.recall("user preference", limit=5)
status = client.status()

Expected output: a successful commit response, recall results, and a Cloud status object.

HTTP commit

Write one durable memory.

curl https://bilinc.space/api/cloud/memory/commit \
  -H "Authorization: Bearer $BILINC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "key": "agent.memory.bootstrap",
    "value": {
      "goal": "keep durable state between runs",
      "owner": "agent-runtime"
    },
    "memoryType": "semantic",
    "importance": 0.8,
    "metadata": { "source": "cloud-quickstart" }
  }'
HTTP recall

Read prior state with a recall profile.

curl https://bilinc.space/api/cloud/memory/recall \
  -H "Authorization: Bearer $BILINC_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "query": "durable state between runs",
    "profile": "balanced",
    "limit": 5
  }'
Failure modes

401

Invalid or missing API key. Recreate or rotate the key from the dashboard.

402/403

No active hosted entitlement for this operation. Open billing or support.

429

Rate limited. Reduce burst traffic or ask for Scale review.

5xx

Cloud runtime unavailable. Check status before retrying.