Skip to content

docs(architecture): correct health endpoint paths to /health (#565)#577

Merged
vybe merged 1 commit into
devfrom
feature/565-fix-health-endpoint-doc
Apr 29, 2026
Merged

docs(architecture): correct health endpoint paths to /health (#565)#577
vybe merged 1 commit into
devfrom
feature/565-fix-health-endpoint-doc

Conversation

@dolho

@dolho dolho commented Apr 29, 2026

Copy link
Copy Markdown
Contributor

Summary

docs/memory/architecture.md listed the health endpoint as /api/health in two places. Actual served path is /health for both the backend (main.py:893) and agent-server (docker/base-image/agent_server/routers/info.py:67).

```
$ curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8000/health # 200
$ curl -s -o /dev/null -w "%{http_code}\n" http://localhost:8000/api/health # 404
```

  • Line 363 (agent-server endpoint list): /api/health/health
  • Line 623 (Auth/Users/MCP endpoint table): /api/health/health + note that it's unauthenticated and outside the /api/ prefix.

Closes #565.

Test plan

  • grep '/api/health' docs/memory/architecture.md returns no results
  • curl confirms /health → 200, /api/health → 404

🤖 Generated with Claude Code

Both backend (`main.py:893`) and agent-server
(`docker/base-image/agent_server/routers/info.py:67`) serve health at
the top-level `/health`, not `/api/health`. Curl confirms:
`/health` → 200, `/api/health` → 404.

Closes #565.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@dolho
dolho requested a review from vybe April 29, 2026 09:22

@vybe vybe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM — trivial docs correction, verified against actual code paths.

@vybe
vybe merged commit e23ade9 into dev Apr 29, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants