Reference
streams
Tickets for the live video and input stream (/v1/stream). Index · shared schemas · errors.
| Procedure | Summary | REST | MCP tool | Stability |
|---|---|---|---|---|
streams.ticket | Mint a stream ticket and the listener URL. cap: 'drive' additionally requires devices:drive. | POST | — | stable |
streams.ticket
Mint a stream ticket and the listener URL. cap: 'drive' additionally requires devices:drive.
| REST | POST /v1/streams/ticket (input as a JSON body) |
| RPC | /rpc/v2/streams/ticket |
| MCP | not a tool (returns a bearer credential); hints: none |
| Auth | devices:read |
| Tenancy | project |
| Requires | media.stream |
| Troupe Cloud | answered by the control plane |
| Stability | stable, since 1.0 |
Input:
{ sessionId: SessionId; cap: StreamCap }Output:
{ url: string; ticket: string; protocol: 'troupe-stream.v1'; expiresAt: string }Errors: S.