Realtime Kit·续32

success: optional boolean

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_chat_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

Link to this property

<details>

<summary>

SessionGetSessionTranscriptsResponse object {data, success }

</summary>

<details>

<summary>

data: optional object {sessionId, transcript_download_url, transcript_download_url_expiry }

</summary>

sessionId: string

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20sessionId">Link to this property</a>

transcript_download_url: string

URL where the transcript can be downloaded

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20transcript_download_url">Link to this property</a>

transcript_download_url_expiry: string

Time when the download URL will expire

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20transcript_download_url_expiry">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data">Link to this property</a>

success: optional boolean

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

Link to this property

<details>

<summary>

SessionGetSessionSummaryResponse object {data, success }

</summary>

<details>

<summary>

data: optional object {sessionId, summaryDownloadUrl, summaryDownloadUrlExpiry }

</summary>

sessionId: string

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_summary_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20sessionId">Link to this property</a>

summaryDownloadUrl: string

URL where the summary of transcripts can be downloaded

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_summary_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20summaryDownloadUrl">Link to this property</a>

summaryDownloadUrlExpiry: string

Time of Expiry before when you need to download the csv file.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_summary_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20summaryDownloadUrlExpiry">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_summary_response%20%3E%20(schema)%20%3E%20(property)%20data">Link to this property</a>

success: optional boolean

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_session_summary_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

Link to this property

<details>

<summary>

SessionGenerateSummaryOfTranscriptsResponse object {data, success }

</summary>

<details>

<summary>

data: optional object {session_id, status }

</summary>

session_id: optional string

formatuuid

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_generate_summary_of_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20session_id">Link to this property</a>

status: optional string

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_generate_summary_of_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20status">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_generate_summary_of_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20data">Link to this property</a>

success: optional boolean

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_generate_summary_of_transcripts_response%20%3E%20(schema)%20%3E%20(property)%20success">Link to this property</a>

</details>

Link to this property

<details>

<summary>

SessionGetParticipantDataFromPeerIDResponse object {data, success }

</summary>

<details>

<summary>

data: optional object {participant }

</summary>

<details>

<summary>

participant: optional object {id, created_at, custom_participant_id, 10 more }

</summary>

id: optional string

ID of the participant.

formatuuid

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20id">Link to this property</a>

created_at: optional string

timestamp when this participant was created.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20created_at">Link to this property</a>

custom_participant_id: optional string

ID passed by client to create this participant.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20custom_participant_id">Link to this property</a>

display_name: optional string

Display name of participant when joining the session.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20display_name">Link to this property</a>

duration: optional number

number of minutes for which the participant was in the session.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20duration">Link to this property</a>

joined_at: optional string

timestamp at which participant joined the session.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20joined_at">Link to this property</a>

left_at: optional string

timestamp at which participant left the session.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20left_at">Link to this property</a>

<details>

<summary>

peer_events: optional array of object {id, created_at, event_name, 7 more }

Connection lifecycle events for the participant’s peer.

</summary>

id: optional string

ID of the peer event.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

created_at: optional string

Timestamp when this peer event was created.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20created_at">Link to this property</a>

<details>

<summary>

event_name: optional "PEER_CREATED"or "PEER_JOINING"or "PEER_LEAVING"

Name of the peer event.

</summary>

One of the following:

"PEER_CREATED"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20event_name%20%3E%20(member)%200">Link to this property</a>

"PEER_JOINING"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20event_name%20%3E%20(member)%201">Link to this property</a>

"PEER_LEAVING"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20event_name%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20event_name">Link to this property</a>

minutes_consumed: optional number

Minutes consumed attributed to this event.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20minutes_consumed">Link to this property</a>

participant_id: optional string

ID of the participant this event belongs to.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20participant_id">Link to this property</a>

peer_id: optional string

Peer ID this event belongs to.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20peer_id">Link to this property</a>

<details>

<summary>

preset_view_type: optional "GROUP_CALL"or "WEBINAR"or "AUDIO_ROOM"or 2 more

View type of the preset associated with the peer.

</summary>

One of the following:

"GROUP_CALL"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20preset_view_type%20%3E%20(member)%200">Link to this property</a>

"WEBINAR"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20preset_view_type%20%3E%20(member)%201">Link to this property</a>

"AUDIO_ROOM"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20preset_view_type%20%3E%20(member)%202">Link to this property</a>

"LIVESTREAM"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20preset_view_type%20%3E%20(member)%203">Link to this property</a>

"CHAT"

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20preset_view_type%20%3E%20(member)%204">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20preset_view_type">Link to this property</a>

session_id: optional string

ID of the session this event belongs to.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20session_id">Link to this property</a>

socket_session_id: optional string

ID of the socket session associated with this event.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20socket_session_id">Link to this property</a>

updated_at: optional string

Timestamp when this peer event was last updated.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events%20%3E%20(items)%20%3E%20(property)%20updated_at">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_events">Link to this property</a>

<details>

<summary>

peer_report: optional object {metadata, quality }

Peer call statistics report.

</summary>

<details>

<summary>

metadata: optional object {audio_devices_updates, browser_metadata, candidate_pairs, 12 more }

Connection and device metadata for the participant.

</summary>

<details>

<summary>

audio_devices_updates: optional array of object {added, removed, timestamp }

</summary>

<details>

<summary>

added: optional array of object {device_id, kind, label }

Devices that became available.

</summary>

device_id: optional string

ID of the device.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_report%20%3E%20(property)%20metadata%20%3E%20(property)%20audio_devices_updates%20%3E%20(items)%20%3E%20(property)%20added%20%3E%20(items)%20%3E%20(property)%20device_id">Link to this property</a>

kind: optional string

Kind of device, for example audioinput or videoinput.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_report%20%3E%20(property)%20metadata%20%3E%20(property)%20audio_devices_updates%20%3E%20(items)%20%3E%20(property)%20added%20%3E%20(items)%20%3E%20(property)%20kind">Link to this property</a>

label: optional string

Human-readable label of the device.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_report%20%3E%20(property)%20metadata%20%3E%20(property)%20audio_devices_updates%20%3E%20(items)%20%3E%20(property)%20added%20%3E%20(items)%20%3E%20(property)%20label">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_report%20%3E%20(property)%20metadata%20%3E%20(property)%20audio_devices_updates%20%3E%20(items)%20%3E%20(property)%20added">Link to this property</a>

<details>

<summary>

removed: optional array of object {device_id, kind, label }

Devices that became unavailable.

</summary>

device_id: optional string

ID of the device.

<a href="#(resource)%20realtime_kit.sessions%20%3E%20(model)%20session_get_participant_data_from_peer_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20participant%20%3E%20(property)%20peer_report%20%3E%20(property)%20metadata%20%3E%20(property)%20audio_devices_updates%20%3E%20(items)%20%3E%20(property)%20removed%20%3E%20(items)%20%3E%20(property)%20device_id">Link to this property</a>

kind: optional string

Kind of device, for example audioinput or videoinput.