VideoSDK · Schema

Session

A VideoSDK meeting session (an active instance of a room).

VideoAudioWebRTCReal-Time CommunicationLive StreamingHLSRTMPAI AgentsVideo ConferencingWebSocket

Properties

Name Type Description
id string Internal session document ID.
roomId string The room this session belongs to.
start string Session start timestamp.
end string Session end timestamp.
status string Current session status.
participants array Participants who joined this session.
links object
View JSON Schema on GitHub

JSON Schema

session.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api.videosdk.live/v2/schemas/session",
  "title": "Session",
  "description": "A VideoSDK meeting session (an active instance of a room).",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Internal session document ID."
    },
    "roomId": {
      "type": "string",
      "description": "The room this session belongs to."
    },
    "start": {
      "type": "string",
      "format": "date-time",
      "description": "Session start timestamp."
    },
    "end": {
      "type": "string",
      "format": "date-time",
      "description": "Session end timestamp."
    },
    "status": {
      "type": "string",
      "description": "Current session status."
    },
    "participants": {
      "type": "array",
      "description": "Participants who joined this session.",
      "items": {
        "$ref": "participant.json"
      }
    },
    "links": {
      "type": "object",
      "properties": {
        "get_room": { "type": "string", "format": "uri" },
        "get_session": { "type": "string", "format": "uri" }
      }
    }
  },
  "required": ["id", "roomId"]
}