# Ask for adaptive streaming (HLS) of a video or audio file

`POST /assets/{id}/stream` · Rivier · files

Ask for adaptive streaming (HLS) of a video or audio file. The build host cuts it and reports back; until then, or where no runner is connected, the original file plays.

- Scope: files:write
- Mcp: rivier_assets_stream
- Graphql: Mutation.filesAssetAdaptive
- Sdk: files.asset.adaptive
- Cli: files asset adaptive

## Parameters

- `id` (path, required), string

## Responses

- `202`: Success
- `400`: The request was malformed
- `401`: No valid credential
- `403`: The credential lacks the scope, origin or address
- `429`: Over the key's rate limit; see Retry-After

## Example

```sh
curl -X POST 'https://api.rivier.ai/assets/{id}/stream' \
  -H 'Authorization: Bearer $KEY'
```
