Rest API

Extend ASR Expiration

Extend the timeout window (default 20 mins) for Aiera ASR. For events with long silences or hold music

POST /events/{event_id}/extend-asr

Response

{
    "status": "success"
}

Code Samples

Bash

curl --request POST \
  --url 'null/api/speech-v1/events/{event_id}/extend-asr' \
  --header 'X-API-Key: xxx' \
  --header 'Content-Type: application/x-www-form-urlencoded'

Python

import requests
requests.post(
    "null/api/speech-v1/events/{event_id}/extend-asr",
    headers={"X-API-Key": "xxx"}
)
Previous
Edit Event