Skip to main content
curl -N https://api.usenaive.ai/v1/companies/:companyId/ceo/runs/run-abc-123/stream \
  -H "Authorization: Bearer nv_sk_live_..." \
  -H "Accept: text/event-stream"
event: thought
data: {"content": "Analyzing the objective. I'll need an engineer and a marketer."}

event: task_created
data: {"task_id": "task-def-456", "title": "Build landing page", "assignee": "Jordan Kim"}

event: message
data: {"content": "Team hired and tasks dispatched. Monitoring progress."}

event: task_completed
data: {"task_id": "task-def-456", "summary": "Landing page deployed"}

event: done
data: {"run_id": "run-abc-123", "tasks_created": 3, "tasks_completed": 3}

data: [DONE]

Path Parameters

ParamTypeDescription
runIdstringThe CEO run ID to stream

SSE Event Types

EventDescription
thoughtCEO’s reasoning steps
task_createdA new task was created and dispatched
task_completedAn employee finished a task
messageCEO status updates or messages
doneRun completed successfully
errorSomething went wrong
The stream terminates with data: [DONE]. The run continues in the background if the connection is closed early.