Rest API

Trim Event

Trim the beginning of an event up until the time of the request. May be called multiple times, if needed

POST /events/{event_id}/trim

Response

{
    "status": "success"
}

Code Samples

Bash

curl --request POST \
  --url 'null/api/speech-v1/events/{event_id}/trim' \
  --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}/trim",
    headers={"X-API-Key": "xxx"}
)
Previous
Set Event End ID