references/stream/api.md
Stream API Reference
Read the task-specific documentation for request schemas, SDK examples, and response fields. For live inputs and outputs, use api-live.md.
| Task | Read | |---|---| | Issue a one-time upload URL to an end user | Direct creator uploads | | Resume uploads or handle unreliable connections | Resumable uploads and requirements | | Import a video already hosted elsewhere | Upload via link | | Embed an iframe or React player | Use the Stream Player | | Use HLS/DASH with an existing player | Use your own player | | Issue playback tokens | Signed URLs and token-generation choices | | Generate previews or downloadable files | Thumbnails and downloads | | Upload captions or generate them with Stream | Add captions | | Apply branding during upload | Watermarks | | Trim an on-demand video | Video clipping | | List and filter videos through the REST API | List videos | | Manage videos from a Worker | Stream binding methods | | React to encoding success or failure | Video webhooks |
Keep the returned video UID associated with the application's owning user or record. Treat upload completion and playback readiness as separate application states; see workflow decisions.