A signed, expiring download link
post/assets/{id}/link
Before you call
- Credential
Authorization: Bearer $KEY- Scope
files:write- Mcp
rivier_assets_link- Graphql
Mutation.filesAssetLink- Sdk
files.asset.link- Cli
files asset link
Parameters
- idstring (uuid)requiredIn the path
Request bodyapplication/json, required
- ttlSecondsintegerAt least 30. At most 604800.
- versionstring (uuid)
- variantstringAt most 40 characters.
- dispositionstringOne of: inline, attachment.
Responses
- 200application/jsonSuccess
- urlstringrequired
- expiresAtstringrequired
- 400application/jsonThe request was malformed
- errorstringrequired
- messagestring
- 401application/jsonNo valid credential
- errorstringrequired
- messagestring
- 403application/jsonThe credential lacks the scope, origin or address
- errorstringrequired
- messagestring
- 429application/jsonOver the key's rate limit; see Retry-After
- errorstringrequired
- messagestring