Brainby arc-labs/docs
Changelog

API changelog

Release notes for the Brain HTTP edge (/v1/*) and the BRN0 wire protocol. Pre-release, no dated versioning yet.

0.1.0 — initial public pre-release

The first public API surface. There is no dated API-version header and no version-pin — Brain has one current protocol (see API & wire versioning). Requests carry only the credential (Authorization: Bearer <key> or X-API-Key: <key>).

What the surface covers:

  • Memory data planePOST /v1/memories (encode), GET /v1/memories (list), DELETE /v1/memories (forget), GET /v1/memories/{id}/inspect, and the single read verb POST /v1/recall returning a single / many / none membership verdict.
  • Memory graphPOST / DELETE /v1/links (directed edges between memories).
  • Typed graphPOST / GET /v1/entities, POST /v1/entities/resolve, GET /v1/entities/{id}, POST /v1/entities/{id}/traverse, GET /v1/entities/{id}/relations, GET /v1/statements(/{id}), GET /v1/relations/{id}, and the whole-graph export GET /v1/graph.
  • ReasoningPOST /v1/plan, POST /v1/reason (edge builds only).
  • IntrospectionGET /v1/whoami, GET /v1/capabilities (edge builds only).
  • Error envelope — a { error: { code, message } } body over nine categories (Protocol, Authentication, Authorization, Validation, NotFound, Conflict, ResourceExhausted, Internal, Unavailable); retryable failures carry a Retry-After hint.
  • Wire protocolBRN0 frames (32-byte header + CBOR payload + optional trailing f32 vectors), version negotiated in the handshake, exercised by the cross-language conformance corpus.

Pre-release. The /v1/* shapes, the redb layout, and the wire protocol can change in place until 1.0 — no deprecated versions, no compatibility window. Track the SDK version you build against.

Was this page helpful?

On this page