Where does the bug appear (feature/product)?
Background Agent (GitHub, Slack, Web, Linear)
Describe the Bug
When I call GET /v0/agents/{id}/conversation multiple times for the same agent, the returned messages are textually identical (same type and text) but messages[ ].id changes on each fetch. This makes message IDs unstable for deduplication and incremental sync.
Steps to Reproduce
- Create or use an existing agent with at least one user/assistant message.
- Run:
curl -sS
-u “${CURSOR_API_KEY}:”
-H “Content-Type: application/json”
“https://api.cursor.com/v0/agents/<agent-id>/conversation” | jq
- Run the exact same command again immediately.
- Compare the two responses:
messages[ ].typeandmessages[ ].textare identicalmessages[ ].idis different between the two calls
Expected Behavior
For the same persisted conversation, each message should keep a stable ID across repeated GET requests. If IDs are intentionally ephemeral, the API docs should explicitly state that and provide a stable field for message identity/deduplication.
Operating System
Linux
Version Information
CLI Version 2026.03.20-44cb435
Does this stop you from using Cursor
No - Cursor works, but with this issue