Developer docs

Build on semantic persistence.

Use 1DB to observe communication events, preserve durable cognition, and compile scoped context for agents at the moment of action.

Request access OpenAPI JSON

Authenticated tenant access

Use a signed-in 1db session or a tenant application credential with cognition:read or cognition:write scope. A tenant identifier selects context; it never grants access. Credentials and sessions cannot select another tenant.

Context retrieval can include up to eight explicit scopeRefs. Its durable packet records each selected checkpoint identifier, version and integrity hash. Private scopes require an owner or explicit reader policy. Portable collaboration packets preserve identity, outstanding responsibilities, decision references and evidence; recorded authority references must be verified before execution.

CLI

Install the 1db command line.

The CLI wraps the 1db REST API for creating resources from scripts, terminals, CI, and agent workflows.

brew tap drlockett/1db
brew install drlockett/1db/1db

export ONE_DB_API_KEY=1db_live_...
1db links create --code demo --url https://example.com
1db links list
1db intakes create --slug waitlist --name Waitlist

CLI environment

ONE_DB_API_KEYTenant API key used as a Bearer token.
ONE_DB_API_URLOptional API base URL. Defaults to https://1db.io.

Current live cognition routes

  • POST /api/v1/cognition/events
  • POST /api/v1/cognition/context/retrieve
  • GET /api/v1/cognition/context/packets/{packetUid}
  • GET /api/v1/cognition/backends
  • GET /api/v1/cognition/backends/plan

Cognitive API direction

db.observe(event)
db.memory.remember(observation)
db.identity.reinforce(actor, signal)
db.relationship.link(a, b, meaning)
db.context.compile(situation)
db.trust.evaluate(claim)
db.temporal.reconstruct(entity)
db.simulation.project(goal)

Some high-level primitives are roadmap vocabulary until the matching public endpoint is verified.

Operational cognition API

curl -X POST https://1db.io/api/v1/cognition/events \
 -H "Authorization: Bearer $ONE_DB_API_KEY" \
 -H "X-NRun-Tenant-Uid: $TENANT_UID" \
 -H "Content-Type: application/json" \
 -d '{"type":"conversation.message","payload":{"text":"Remember this."}}'

Route planner

curl https://1db.io/api/v1/cognition/backends/plan?operation=retrieve \
 -H "Authorization: Bearer $ONE_DB_API_KEY" \
 -H "X-NRun-Tenant-Uid: $TENANT_UID"

Project Cognition API

Persistent execution continuity for projects.

Project Cognition stores versioned operating context that agents can retrieve before they begin work in a repository, workspace, tenant, environment, or domain.

Create cognition

curl -X POST https://1db.io/api/project-cognition \
 -H "Authorization: Bearer $ONE_DB_API_KEY" \
 -H "X-NRun-Tenant-Uid: $TENANT_UID" \
 -H "Content-Type: application/json" \
 -d '{"projectKey":"project-alpha","projectName":"Project Alpha","operationalRules":["Preserve unrelated changes"],"deploymentRules":["Use the current platform runtime"],"isActive":true}'

Load active context

curl https://1db.io/api/project-cognition/project-alpha/active \
 -H "Authorization: Bearer $ONE_DB_API_KEY" \
 -H "X-NRun-Tenant-Uid: $TENANT_UID"

Lifecycle

GET  /api/project-cognition
GET  /api/project-cognition/{projectKey}
POST /api/project-cognition
PUT  /api/project-cognition/{id}
POST /api/project-cognition/{id}/activate
POST /api/project-cognition/{id}/deactivate
GET  /api/project-cognition/{projectKey}/active

Contact

Want early access or integration help?

Join the waitlist and include what you are building. 1DB is being shaped around teams building communication fabrics, agent workflows, and durable cognition.

Join the waitlist Email [email protected]

Node Vertex and 1DB

Node Vertex provides addressability, transport, routing, and live coordination. 1DB provides continuity: memory, identity, relationships, trust, context, time, governance, and simulation.

OpenAPI

The machine-readable API specification is available at /openapi.json.