The generation still running for a conversation, if there is one.
GET
/api/runs
const url = 'http://localhost:5173/api/runs?sessionId=example';const options = { method: 'GET', headers: {cookie: 'authjs.session-token=<authjs.session-token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”sessionId
required
string
Responses
Section titled “Responses”A run summary

