Live

Create session

Create a Live WebRTC session. Start with the Live prompting guide.

post/live/sessions

Request body

Example request

{
  "session": {
    "client": {
      "data_channel": {
        "allowed_server_events": [
          {
            "type": "session.started"
          }
        ]
      }
    }
  }
}

Response

Live session created with a WebRTC answer.

Changes

Changed in 2 of the 162 revisions of this API.6

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      added the non-success response with the status

      response-non-success-status-added

    • ○

      endpoint added

      endpoint-added