Skip to content

The generation still running for a conversation, if there is one.

GET
/api/runs
curl --request GET \
--url 'http://localhost:5173/api/runs?sessionId=example' \
--cookie authjs.session-token=<authjs.session-token>

What a page asks on load so it can pick a turn back up. Returns null when the conversation has nothing in flight and nothing recent to collect. Only a run still running is worth joining: a finished one has already written what it produced into the conversation.

sessionId
required
string

A run summary