Skip to content

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

Rust

docs(api): authenticate the smoke test with the configured bearer

zydo5200684bf1d3
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 6609cfa4..5d651332 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -11,6 +11,10 @@ version in [`docs/changelog/`](docs/changelog/):
## [Unreleased]
+### Fixed
+
+- Corrected the API smoke test to use the running server’s configured bearer instead of a newly generated token.
+
## [3.2.0] - 2026-10-21
### Added
diff --git a/docs/frontend-api.md b/docs/frontend-api.md
index 338cda61..138ba63e 100644
--- a/docs/frontend-api.md
+++ b/docs/frontend-api.md
@@ -920,7 +920,8 @@ const search = await fetch(`${API}/search`, {
`curl` smoke test:
```bash
-TOKEN=$(ai-memory generate-auth-token)
+# Use the bearer already configured on the running server.
+TOKEN='<server-configured bearer token>'
curl -fsS "http://127.0.0.1:49374/api/v1/workspaces" -H "Authorization: Bearer $TOKEN" | jq
```