Stream migration progress
Server-Sent Events stream of live run state — the same feed the StagingPro UI uses for its progress bar.
The stream emits a state event immediately, another on every engine update, and a single end event when the run reaches a terminal status. A run that has already finished receives end straight away, so the stream always closes cleanly. Comment pings keep the connection alive.
const es = new EventSource('/v2/api/bc-migration/migrations/' + id + '/stream');
es.addEventListener('state', (e) => render(JSON.parse(e.data)));
es.addEventListener('end', () => es.close());
Authorizations
A bearer token from Login, sent as Authorization: Bearer <token>. Valid for 10 days; scoped to the user and organisation it was issued for. Rotating or disabling the organisation's API credential immediately invalidates all outstanding tokens. Browser calls from a signed-in app.vortexiq.ai page are also accepted via session cookie — see Authentication.
Path Parameters
The migration request id returned by Create migration.
Response
SSE stream (text/event-stream). Each state event carries a run-detail JSON payload.
The response is of type string.