Create a stream.
Authorizations
OAuth 2.1 authorization-code flow with PKCE.
Headers
Optional client-generated key. A repeated request with the same key replays the original response (within 24h) instead of re-executing — safe retries.
Body
CreateStreamInput is used for create Stream object. Input was generated by ent.
Feature flag: run stream in agent mode (/agent) with replica-based orchestration.
f_24, f_25, f_30, f_60 q_720p, q_1080p, q_1440p, q_2160p Stream preference: enable backup destination streaming in agent mode.
RTMP publisher backend. 'manifest' runs manifest-streamer in-process; 'ffmpeg' or empty uses the legacy subprocess. Editing is gated by the native_backend_streamer PostHog feature flag in the update resolver — the column is nullable so admin tooling can clear it.
ffmpeg, manifest youtube Stream duration in seconds. 0 = never expires. Copied from user default on creation.
DEPRECATED: use destination_id. Kept for backward-compat during destination migration.
Response
Created.
f_24, f_25, f_30, f_60 q_720p, q_1080p, q_1440p, q_2160p draft, invalid, scheduled, preparing, activating, active, failing, failed, stopping, stopped