v1
Cursor Agent

Stream Cursor Run

Changed on

Start or resume a Cursor cloud agent run. Streams SSE events (text-delta, tool-call, tool-result, done, error).

post/v1/ai/cursor/runs/stream

Request

  • Base URL
    https://memory.papr.ai
  • URL
    https://memory.papr.ai/v1/ai/cursor/runs/stream
  • Auth
    • API key in header X-API-Key
    • or HTTP bearer

Request body

chatIdstring required

Paprwork chat/conversation ID

promptstring required

User message to send to the agent

modelstring

Cursor model ID

agentIdstring nullable

Resume existing agent

Response

SSE stream of Cursor agent events

object required

Generic JSON response object

Changes