You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Session status service has get() method but no single-session HTTP endpoint #29166
The SessionStatus.Service has a get(sessionID) method that returns a single
session's runtime status (idle/busy/retry), but no HTTP endpoint exposes it.
Currently only GET /session/status exists, which returns all non-idle statuses
as a Record<SessionID, Info>. Clients that need just one session's status have
to pull the full list and filter client-side.
Add GET /session/:sessionID/status that delegates to the existing get() method,
following the same pattern as other single-session endpoints.
Plugins
No response
OpenCode version
1.2.17
Steps to reproduce
Start opencode serve
Call GET /session/:sessionID/status
Get 404 Not Found (endpoint doesn't exist)
Only GET /session/status exists, returns all statuses with no way to query a single session
This reads as a feature request (adding a missing HTTP endpoint), but it doesn't use the [FEATURE]: title prefix and hasn't used the Feature Request template (no verification checkbox, no explanation of the problem/need from a user perspective).
If this is intended as a bug report, the required fields (Steps to Reproduce, Operating System, Terminal) are all left as _No response_, which makes it impossible to evaluate.
Please edit this issue to either:
Convert it to a proper feature request by adding [FEATURE]: to the title and filling in the Feature Request template, or
Fill in the bug report fields with relevant context.
Please edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be related to existing issues about /session/status. Please check:
Thanks for updating the issue! It now meets our contributing guidelines — the description is clear, steps to reproduce are provided, and the OS info is included. We appreciate the improvements!
Activity
github-actions commentedon May 25, 2026
This issue doesn't fully meet our contributing guidelines.
What needs to be fixed:
[FEATURE]:title prefix and hasn't used the Feature Request template (no verification checkbox, no explanation of the problem/need from a user perspective)._No response_, which makes it impossible to evaluate.Please edit this issue to either:
[FEATURE]:to the title and filling in the Feature Request template, orPlease edit this issue to address the above within 2 hours, or it will be automatically closed.
This issue might be related to existing issues about
/session/status. Please check:If you believe this was flagged incorrectly, please let a maintainer know.
github-actions commentedon May 25, 2026
Thanks for updating the issue! It now meets our contributing guidelines — the description is clear, steps to reproduce are provided, and the OS info is included. We appreciate the improvements!
github-actions commentedon Jul 25, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.