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

live.sessions.download_recording(strsession_id) -> BinaryResponseContent
GET/live/sessions/{session_id}/content

Get Live session content

ParametersExpand Collapse
session_id: str

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

ReturnsExpand Collapse
BinaryResponseContent

Download recording

import os
from openai import OpenAI

client = OpenAI(
    api_key=os.environ.get("OPENAI_API_KEY"),  # This is the default and can be omitted
)
response = client.live.sessions.download_recording(
    "live_SQ",
)
print(response)
content = response.read()
print(content)
Returns Examples