Bug Report
Discovered by: Athena (dogfooding — API surface test)
Priority: P3 — UX inconsistency, not breaking
Description
The API has inconsistent naming for prompt-related endpoints:
POST /v1/sessions accepts a prompt field for the initial prompt
POST /v1/sessions/:id/send handles follow-up prompts
POST /v1/sessions/:id/input is an alias for /send
POST /v1/sessions/:id/prompt → 404 (does not exist)
A user (or agent) who sees prompt in the session creation body will naturally try /prompt for follow-ups. This is a discoverability issue.
Proposed fix (pick one)
- Add
/prompt as an alias for /send — lowest effort, backward compatible
- Rename the
prompt field in session creation to message — consistent with /send
- Document the distinction clearly in API reference — minimum viable fix
Environment
Bug Report
Discovered by: Athena (dogfooding — API surface test)
Priority: P3 — UX inconsistency, not breaking
Description
The API has inconsistent naming for prompt-related endpoints:
POST /v1/sessionsaccepts apromptfield for the initial promptPOST /v1/sessions/:id/sendhandles follow-up promptsPOST /v1/sessions/:id/inputis an alias for/sendPOST /v1/sessions/:id/prompt→ 404 (does not exist)A user (or agent) who sees
promptin the session creation body will naturally try/promptfor follow-ups. This is a discoverability issue.Proposed fix (pick one)
/promptas an alias for/send— lowest effort, backward compatiblepromptfield in session creation tomessage— consistent with/sendEnvironment