Media Capture Event Serivce

Our Media Capture Event API processes audio and screen recordings captured under a specified profile, enabling streamlined ingestion and further analysis.

Languages
Servers
https://{api-domain}.cresta.com/

MediaCaptureEventService

Operations

Process Event

Request

Process the events from an external source related to media capturing flows. This API doesn't track the state of the media capturing processes. The system attempts to perform operations to all media capturing processes that are associated with the user.

Path
profilestringrequired

Resource name of Profile. Format: customers/{customer_id}/profiles/{profile_id}. Please contact the Cresta team to get the correct profile id if needed.

Bodyapplication/jsonrequired
captureEventobject(ProcessExternalMediaCaptureEventRequestExternalMediaCaptureEvent)

External media capture event.

curl -i -X POST \
  'https://{api-domain}.cresta.com/v1/mediacaptureevent/{profile}/captureEvent:process' \
  -H 'Content-Type: application/json' \
  -d '{
    "captureEvent": {
      "agentPlatformId": "string",
      "eventType": "EXTERNAL_EVENT_TYPE_UNSPECIFIED",
      "mediaTypes": [
        "MEDIA_TYPE_UNSPECIFIED"
      ],
      "username": "string"
    }
  }'

Responses

A successful response.

Bodyapplication/json
failedMediaTypesArray of strings(mediacaptureeventMediaType)

The media types that we failed to process that might need explicit retries.

Items Enum"MEDIA_TYPE_UNSPECIFIED""MEDIA_TYPE_AUDIO""MEDIA_TYPE_SCREEN_RECORDING"
Response
application/json
{ "failedMediaTypes": [ "MEDIA_TYPE_UNSPECIFIED" ] }