Rest API

Set Event End ID

Set the ending transcript ID for an event, if trimming is needed.

POST /events/{event_id}/set-end-transcript-id

ParameterWhereTypeDefaultDescription
transcript_idforminteger-The transcript ID to set as the end of the event

Response

{
    "status": "success"
}

Code Samples

Bash

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

Python

import requests
requests.post(
    "null/api/speech-v1/events/{event_id}/set-end-transcript-id", 
    headers={"X-API-Key": "xxx"},
    data={
        "transcript_id": ID
    }
)
Previous
Set Event End Offset