Skip to content
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to the page URL.
Primary navigation

Download recording

client.Live.Sessions.DownloadRecording(ctx, sessionID) (*Response, error)
GET/live/sessions/{session_id}/content

Get Live session content

ParametersExpand Collapse
sessionID string

The ID of the stored Live session to download. Use the session ID returned when the session started with storage enabled.

ReturnsExpand Collapse
type SessionDownloadRecordingResponse interface{…}

Download recording

package main

import (
  "context"
  "fmt"

  "github.com/openai/openai-go"
  "github.com/openai/openai-go/option"
)

func main() {
  client := openai.NewClient(
    option.WithAPIKey("My API Key"),
  )
  response, err := client.Live.Sessions.DownloadRecording(context.TODO(), "live_SQ")
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", response)
}
Returns Examples