Rest API

Set Event Start Offset

Set a cutoff for when to start returning transcripts, in milliseconds, if trimming is needed.

POST /events/{event_id}/set-start-offset

ParameterWhereTypeDefaultDescription
offsetforminteger-The number of milliseconds to trim from the start of the transcript

Response

{
    "status": "success"
}

Code Samples

Bash

curl --request POST \
  --url 'null/api/speech-v1/events/{event_id}/set-start-offset' \
  --header 'X-API-Key: xxx' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'offset=OFFSET'

Python

import requests
requests.post(
    "null/api/speech-v1/events/{event_id}/set-start-offset", 
    headers={"X-API-Key": "xxx"},
    data={
        "offset": OFFSET
    }
)
Previous
Extend ASR Expiration