Recording Events
Handle audio recording uploads and transcriptions in your scripts
Recording events fire when audio recordings are uploaded to group chats and when transcription completes. These events enable you to build workflows around meeting recordings, including automatic summarization, note generation, and archival.
Event Types
recording.uploaded
The recording.uploaded event fires when a user uploads an audio recording to a group chat. This event provides file metadata and participant information.
Event Type:
Fields:
content.text(string)Recording filename or upload message.
content.contentType(ContentType)Always
'transcript'for recording events.recording.s3Key(string)S3 storage key for the recording file.
recording.cdnUrl(string)CDN URL for accessing the recording.
recording.mimeType(string)Audio MIME type (e.g.,
'audio/webm','audio/mp4').recording.duration(number)Recording duration in seconds.
recording.fileSize(number)File size in bytes.
recording.filename(string)Original filename.
recording.messageId(string)Chat message ID associated with the upload.
recording.chatInstanceId(string)Chat instance where the recording was uploaded.
recording.groupId(string)Group ID where the recording was uploaded.
recording.participants(Array | undefined)Optional list of participants in the recording.
Field Type Description namestring Participant display name userIdstring | undefined Mirra user ID if known
Example - Upload Notification:
Subscription Examples:
recording.transcribed
The recording.transcribed event fires after transcription and speaker diarization complete for a recording. This event provides the full transcript text and detected speakers. Use this to build summarization, note-taking, or archival workflows.
Event Type:
Fields:
content.text(string)Full transcript text.
recording.recordingId(string)Unique recording identifier.
recording.s3Key(string)S3 storage key for the original recording.
recording.duration(number)Recording duration in seconds.
recording.participantCount(number)Number of detected participants/speakers.
recording.segmentCount(number)Number of transcript segments.
recording.chatInstanceId(string)Chat instance associated with the recording.
recording.groupId(string)Group where the recording was uploaded.
transcript.text(string)Full plain-text transcript with speakers and timestamps.
transcript.speakers(string[])Array of unique speaker names detected in the recording.
Example - Transcript Summary:
Example - Meeting Notes to Spreadsheet:
Subscription Examples:
See Also
- Events Overview - Event system architecture
- Voice Call Events - Live call events
- Resources - Available adapters