Skip to main content

HTTP API

Source-reviewed API reference

This reference was reconciled against current development source on 2026-11-15. Historical public-source links below remain pinned to their stated revision; they are not proof that a public mirror or your installation has caught up. Start with the current operator guide for installation. This is static source review, not a live API compatibility test.

The API serves BURROW's UI and external clients. It is an operator-level control surface: it can create agents, change credentials and grants, execute model/tool work, import data and delete retained content. Read authentication and trust boundaries before exposing it.

Browse by family​

ReferenceCovers
Chat and streamingTurn submission, NDJSON events, cancellation and reconnection
Agents and setupRegistry, profile documents, initial setup
Sessions and ArchiveCurrent/original history, reset/fork/archive, context, handoffs
Tasks, schedules and groupsTask board, recurring and one-time jobs, group chat, legacy workbench
Settings and integrationsAuth, models/OAuth, MCP grants, skills, timezone, retention, API tokens
Memory and DreamsBrains, explicit conversation recall, Tiddle, Dream controls
Files, Forge and exportsWorkspace editing, attachments, generated artifacts, selective export/import
ModsDistribution, lifecycle, extension routes and UI assets
Health and diagnosticsHealth, metrics, traces, diagnostic projections and provider usage

Contract source and provenance​

Read the public-release OpenAPI JSON

PropertyValue
SpecificationOpenAPI 3.1.0
Contract info.version2026.08.25 (retained schema label, not the release date)
Public source inventory176 paths, 232 operations, 121 component schemas
Reviewed public release2026.10.19
Reviewed public commitaa5a30da683a3a8ea919025f107ff53f182ef8d6
SHA-25667d27fbc347c78ab56671f466733a87bb7d916366adec5ba8bb83f1cc6d8f726

The public assembly includes backend/docs/openapi.json. Its contract includes Brains, Dream controls, Git-skill management, Minion model selection, task history/attachments and OpenTelemetry settings. Retired /api/albdruck/* routes are absent. The source-backed endpoint pages still need to be read alongside the schema: its inventory is not proof of request/response parity or live compatibility.

The current development contract reviewed on 2026-11-15 has 205 paths, 276 operations and 242 component schemas, including task/one-time schedules, independent model-selection controls, Forge Gallery and reference-image contracts. Its SHA-256 is 4784f43b92f1d942b255cd742c1b2749dbe139777c89084a21eee9821361d56c; info.version remains 2026.08.25. The table above describes the historical public artifact, not the current development inventory. Use the schema served by your installation and check the source-reviewed family pages for implementation details.

The schema is incomplete

The current schema declares the GitHub webhook signature scheme, but not the ordinary interactive UI authentication modes. It omits non-API OIDC/logout routes and contains broad open-object schemas. Its Forge request/catalog and mod-catalog shapes lag implementation. Do not infer anonymous access, unsupported features or complete client compatibility from generated types alone.

Specific drift:

  • The UI-preference schema/generated types omit hc.settingsUtilityPanelOpen and hc.accountStatusOrder, which the runtime accepts; use the source-reviewed key list

  • Mod catalog responses also carry lifecycle status, failure information, version and Archive UI contributions

  • Forge creation now has schema coverage for mode, canonical-photo selectors, typed image/GIF options and existing artifact/chat references; that coverage is not a runtime compatibility guarantee

  • Music and video availability are catalog-dependent; the current catalog schema still incorrectly fixes both to false

  • Forge jobs can include bounded errorDetails, reference details and native-chat delivery status; the closed job schema does not cover the full runtime projection

  • Archive calendar now documents local-day retained-occurrence behavior; the earlier UTC-only summary is obsolete

  • Native OAuth pool settings and metrics now have schema coverage, but the model-connection description still says union while current runtime catalogs use the intersection of non-manual member models

  • The operator mod-access route is source-implemented but absent from this schema

The source drift checker scans literal route comparisons. Passing it does not establish dynamic-route, HTTP-method, request or response parity. See known limitations.

Runtime explorer​

MethodPathPurpose
GET/api/docsLocally vendored Scalar explorer shell
GET/api/docs/{asset}Explorer assets
GET/api/openapi.jsonSource-tree OpenAPI document

These routes are behind the usual authentication gate. The schema endpoint reads backend/docs/openapi.json within the installed Backend source tree.

That file is present in the reviewed public assembly. Its presence and static route wiring were verified; the explorer and API-contract export have not been exercised against a live deployment.

Request conventions​

  • Base URL is the actual service origin, commonly http://127.0.0.1:42817 for a native loopback installation
  • JSON requests use Content-Type: application/json; empty bodies are parsed as {}
  • Supply real agentId and sessionId values rather than relying on default-agent resolution in automation; default is a common session default
  • Identity in a route/query/body selects an application object. It is not a separate authentication principal or tenant boundary
  • Most JSON routes return an ok field, but this is not universal; some memory and byte-download endpoints differ
  • Check both HTTP status and the endpoint's application outcome. HTTP 200, a run ID or a queued response alone does not prove successful execution
  • Pagination conventions differ: opaque cursor, transcript before/from/to, or simple limit. Follow each endpoint and do not manufacture cursors
  • There is no general HTTP API version prefix, universal idempotency header or WebSocket protocol in this surface. Forge has a body-level idempotency contract

Invalid JSON returns 400 invalid_json. Selected route boundaries reject non-object bodies and required fields; the server does not apply a universal OpenAPI request validator. JSON ingestion is bounded before parsing; route families can impose stricter limits. Browser-origin and JSON content-type checks apply to mutations. These checks do not replace authentication or deployment-level request limits. See trust boundaries.

Authentication for clients​

Use the configured Basic, trusted-proxy or OIDC session flow for the full API. Scoped Bearer tokens currently support only diagnostics:read and an exact GET allowlist; they cannot administer settings or run chat. A rejected Bearer token returns 403 rather than falling back to interactive authentication.

GET /health and GET /api/health are both public minimal build-identity routes; /api/status is gated. GET /api/auth/session reports OIDC-session presence, not a general Basic/proxy introspection result. See the complete authentication reference.

Minimal read example​

For a loopback development service with authentication explicitly disabled:

curl --fail-with-body http://127.0.0.1:42817/api/agents

For Basic authentication, add --user "$BURROW_USERNAME" and let curl prompt for the password. Do not embed passwords or tokens in command history, URLs, source files or documentation examples. Use your deployment's configured authentication for all other examples.

Targeted source review​

The full page was reconciled on 2026-11-08 against Backend commit 6b682eae6cd0dc6efa79e173b7d819fb219443b3. No live API or provider calls were performed. The links below are retained historical public references, not links to the current development source.

26 October delta review​

Updated against Backend 4df4b424e2b2856cb2c25c8464da7f806eb661e0 on 2026-10-26. This is a focused source comparison since the full review above, not a new application or provider test pass.

27 October delta review​

Changed contracts checked statically against Backend 32ff99dfc0317635f5c7aa53b4c9ec18266d4c09 on 2026-10-27. This does not recertify unchanged historical sections or report live API/provider tests.

29 October development delta​

Changed contracts above were checked statically against Backend 4057b50a5d5a9b14d36bb3b70f35781c4b29a9b9 on 2026-10-29. This is not a runtime, provider or collector test, nor a revalidation of unchanged historical sections. See source coverage.

15 November full static review​

Rechecked the documented route family and its current implementation boundaries against Backend 29ca7b6cec378700503a587703adc1d82e9d6f6d. Historical source links and earlier receipts above remain historical. This pass inspected source and contracts; it did not execute API calls, application tests or model/provider work.