Rivier/ Reference/ files

Save the transcript of a video or audio file (text, optional timed segments)

put/assets/{id}/transcript

Save the transcript of a video or audio file (text, optional timed segments); say when a model wrote it.

Before you call

Credential
Authorization: Bearer $KEY
Scope
files:write
Mcp
rivier_assets_transcript
Graphql
Mutation.filesAssetTranscript
Sdk
files.asset.transcript
Cli
files asset transcript
Events
files.asset.updated

Parameters

  • idstring (uuid)required
    In the path

Request bodyapplication/json, required

  • langstringrequired
    At most 12 characters.
  • textstringrequired
    At most 500000 characters.
  • aiboolean
  • segmentslist of object
    • startnumberrequired
      At least 0.
    • endnumberrequired
      At least 0.
    • textstringrequired
      At most 2000 characters.

Responses

  • 200application/json
    Success
    • 400application/json
      The request was malformed
      • errorstringrequired
      • messagestring
    • 401application/json
      No valid credential
      • errorstringrequired
      • messagestring
    • 403application/json
      The credential lacks the scope, origin or address
      • errorstringrequired
      • messagestring
    • 429application/json
      Over the key's rate limit; see Retry-After
      • errorstringrequired
      • messagestring

    This page as Markdown