Realtime Kit·续29

</summary>

<details>

<summary>

design_tokens: object {border_radius, border_width, colors, 5 more }

</summary>

<details>

<summary>

border_radius: "sharp"or "rounded"or "extra-rounded"or "circular"

</summary>

One of the following:

"sharp"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_radius%20%3E%20(member)%200">Link to this property</a>

"rounded"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_radius%20%3E%20(member)%201">Link to this property</a>

"extra-rounded"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_radius%20%3E%20(member)%202">Link to this property</a>

"circular"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_radius%20%3E%20(member)%203">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_radius">Link to this property</a>

<details>

<summary>

border_width: "none"or "thin"or "fat"

</summary>

One of the following:

"none"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_width%20%3E%20(member)%200">Link to this property</a>

"thin"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_width%20%3E%20(member)%201">Link to this property</a>

"fat"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_width%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20border_width">Link to this property</a>

<details>

<summary>

colors: object {background, brand, danger, 5 more }

</summary>

<details>

<summary>

background: object {"1000", "600", "700", 2 more }

</summary>

"1000": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20background%20%3E%20(property)%201000">Link to this property</a>

"600": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20background%20%3E%20(property)%20600">Link to this property</a>

"700": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20background%20%3E%20(property)%20700">Link to this property</a>

"800": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20background%20%3E%20(property)%20800">Link to this property</a>

"900": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20background%20%3E%20(property)%20900">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20background">Link to this property</a>

<details>

<summary>

brand: object {"300", "400", "500", 2 more }

</summary>

"300": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20brand%20%3E%20(property)%20300">Link to this property</a>

"400": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20brand%20%3E%20(property)%20400">Link to this property</a>

"500": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20brand%20%3E%20(property)%20500">Link to this property</a>

"600": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20brand%20%3E%20(property)%20600">Link to this property</a>

"700": string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20brand%20%3E%20(property)%20700">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20brand">Link to this property</a>

danger: string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20danger">Link to this property</a>

success: string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20success">Link to this property</a>

text: string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20text">Link to this property</a>

text_on_brand: string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20text_on_brand">Link to this property</a>

video_bg: string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20video_bg">Link to this property</a>

warning: string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors%20%3E%20(property)%20warning">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20colors">Link to this property</a>

spacing_base: number

minimum1

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20spacing_base">Link to this property</a>

<details>

<summary>

theme: "darkest"or "dark"or "light"

</summary>

One of the following:

"darkest"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20theme%20%3E%20(member)%200">Link to this property</a>

"dark"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20theme%20%3E%20(member)%201">Link to this property</a>

"light"

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20theme%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20theme">Link to this property</a>

font_family: optional string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20font_family">Link to this property</a>

google_font: optional string

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20google_font">Link to this property</a>

logo: optional string

formaturi

<a href="#(resource)%20realtime_kit.presets%20%3E%20(model)%20preset_replace_preset_by_id_response%20%3E%20(schema)%20%3E%20(property)%20data%20%3E%20(property)%20ui%20%3E%20(property)%20design_tokens%20%3E%20(property)%20logo">Link to this property</a>

</details>

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

</details>

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

updated_at: string

Timestamp this preset was last updated

formatdate-time

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

</details>

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

success: boolean

Success status of the operation

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

</details>

Link to this property

Realtime KitSessions

Fetch all sessions of an App

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions

Fetch details of a session

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}

Fetch participants list of a session

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/participants

Fetch details of a participant

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/participants/{participant_id}

Fetch all chat messages of a session

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/chat

Fetch the complete transcript for a session

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/transcript

Fetch summary of transcripts for a session

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/summary

Generate summary of Transcripts for the session

POST/accounts/{account_id}/realtime/kit/{app_id}/sessions/{session_id}/summary

Fetch details of peer

GET/accounts/{account_id}/realtime/kit/{app_id}/sessions/peer-report/{peer_id}

ModelsExpand Collapse

<details>

<summary>

SessionGetSessionsResponse object {data, paging, success }

</summary>

<details>

<summary>

data: optional object {sessions }

</summary>

<details>

<summary>

sessions: optional array of object {id, associated_id, created_at, 11 more }

</summary>

id: string

ID of the session

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

associated_id: string

ID of the meeting this session is associated with. In the case of V2 meetings, it is always a UUID. In V1 meetings, it is a room name of the form <code>abcdef-ghijkl</code>

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

created_at: string

timestamp when session created

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

live_participants: number

number of participants currently in the session

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

max_concurrent_participants: number

number of maximum participants that were in the session

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

meeting_display_name: string

Title of the meeting this session belongs to

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

minutes_consumed: number

number of minutes consumed since the session started

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

organization_id: string