Update a stream
Update a stream. When retryMirror: true, the resolver also writes a
fresh MirrorIntent for the latest desired state of this stream’s YouTube
schedule mirror — used to recover after reauth / quota reset / channel
freeing. retryMirror is a sibling argument rather than a field on
UpdateStreamInput because that input type is generated by ent and
cannot carry non-column fields. Has no effect when the stream has no
existing MirrorIntent (INVALID_ARG is returned in that case).
When input.status is set, the resolver translates the legacy enum value to
the equivalent lifecycle command and routes it through
streamlifecycle.Transition() instead of writing the column directly.
input.status is deprecated; frontends should call the command mutations
directly.
Resources are permanently bound to the workspace that created them and cannot be moved between workspaces.
Authorizations
OAuth 2.1 authorization-code flow with PKCE.
- Authorization URL
- https://auth.streamloop.app/api/auth/oauth2/authorize
- Token URL
- https://auth.streamloop.app/api/auth/oauth2/token
Headers
Optional client-generated key. A repeated request with the same key replays the original response (within 24h) instead of re-executing — safe retries.
Path Parameters
Resource identifier.
Body
UpdateStreamInput is used for update 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.
Storage tier for this stream's media. 'standard' suits typical playlists and is included. 'large' is for big playlists: storage is provisioned to fit your content and grows as you add to it, billed per GiB-month. Takes effect at the next stream start.
standard, large RTMP publisher backend. Editing is restricted.
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
Successful response.
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