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(stringsessionID, RequestOptionsoptions?): Response
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
unnamed_schema_3 = Response

Download recording

import OpenAI from 'openai';

const client = new OpenAI({
  apiKey: process.env['OPENAI_API_KEY'], // This is the default and can be omitted
});

const response = await client.live.sessions.downloadRecording('live_SQ');

console.log(response);

const content = await response.blob();
console.log(content);
Returns Examples