latestOpenAPI 3.1.0Proprietary - Prezent, Inc.2026-08-114675175.5 KB

a01cb764a085

Streaming

Open a stream session for an existing job

Returns a short-lived URL (5-minute TTL) that you open with EventSource (or any SSE client) to receive a live feed of progress events for the job identified by callback_id. The token in the URL is bound to your API key and to that callback_id only.

See the Streaming guide for the full walk-through, the event catalog, and reconnect semantics.

post/api/v1/streams/sessions

Request body

callback_idstring required

The callback_id returned by your earlier call to POST /api/v1/autogenerator (or other async endpoint). The calling API key must own this job.

Example request

{
  "callback_id": "cb_01HZQ3Y7K3D6V0A0CS7HD3"
}

Response

A streaming URL has been minted.

successboolean required

Example response

{
  "success": true,
  "data": {
    "session_id": "cb_01HZQ3Y7K3D6V0A0CS7HD3",
    "stream_url": "https://stream-api.myprezent.com/v1/streams/cb_01HZQ3Y7K3D6V0A0CS7HD3?token=eyJhbGciOi...",
    "expires_at": "2026-06-09T10:05:00Z"
  }
}