Skip to content

Upload a meeting recording

meeting.create_recording(strid, MeetingCreateRecordingParams**kwargs) -> MeetingCreateRecordingResponse
POST/v1/meetings/{id}/recordings

A recording is one session of the meeting: its transcript and, when there is one, its audio or video. Recordings come from the Lightfield notetaker, Gong, Granola, or an upload. Only uploaded recordings can be created or given media through the API. Creates an uploaded recording from files already uploaded through POST /v1/files: a transcript (purpose meeting_transcript, required) and optionally its audio or video (purpose meeting_recording). Both files attach in one write, so a failed request attaches neither. Media can also be added later by updating the recording. Sending a transcript file that is already on the meeting returns that recording. Only meeting participants and workspace owners may upload.

Supports idempotency via the Idempotency-Key header.

Required scope: meetings:update

Rate limit category: Write

ParametersExpand Collapse
id: str

Unique identifier of the meeting.

transcript_file_id: str

File ID of a completed upload with purpose meeting_transcript.

is_canonical: Optional[bool]

Pin this as the meeting’s primary recording. Defaults to true. false attaches it without pinning; on a meeting with no pinned recording, the primary is chosen by source (notetaker, Gong, Granola, then uploads) and then recency, so a newer upload can still become primary.

media_file_id: Optional[str]

File ID of a completed upload with purpose meeting_recording. Can also be added later by updating the recording.

ReturnsExpand Collapse
class MeetingCreateRecordingResponse: …
id: str

Unique identifier of the recording.

is_canonical: bool

Whether this is the meeting’s primary recording, the one summaries and $transcript use.

media: Optional[Media]

Playable audio or video. Null when the recording has none, such as a Granola note, a private Gong call, a failed notetaker recording or an upload without media.

mime_type: Optional[str]

MIME type of the media, when known.

url: str

Short-lived download URL for the audio or video. Anyone with the URL can download it until it expires, so fetch it again when needed rather than storing it.

provider: Literal["RECALL", "GONG", "GRANOLA", "UPLOAD"]

Where the recording came from: RECALL (Lightfield notetaker), GONG, GRANOLA, or UPLOAD.

One of the following:
"RECALL"
"GONG"
"GRANOLA"
"UPLOAD"
recorded_at: Optional[str]

When the provider recorded it, in ISO 8601. Null if unknown.

recorded_by: Optional[str]

Display name of who recorded or uploaded it. Not a member reference.

transcript: Optional[Transcript]

The transcript text file. Null for older notetaker recordings.

file_id: str

File ID of the transcript. Read its text through GET /v1/files/{id}/url.

Upload a meeting recording

from lightfield import Lightfield

client = Lightfield(
    api_key="My API Key",
)
meeting_create_recording_response = client.meeting.create_recording(
    id="id",
    transcript_file_id="transcriptFileId",
)
print(meeting_create_recording_response.id)
{
  "id": "id",
  "isCanonical": true,
  "media": {
    "mimeType": "mimeType",
    "url": "url"
  },
  "provider": "RECALL",
  "recordedAt": "recordedAt",
  "recordedBy": "recordedBy",
  "transcript": {
    "fileId": "fileId"
  }
}
Returns Examples
{
  "id": "id",
  "isCanonical": true,
  "media": {
    "mimeType": "mimeType",
    "url": "url"
  },
  "provider": "RECALL",
  "recordedAt": "recordedAt",
  "recordedBy": "recordedBy",
  "transcript": {
    "fileId": "fileId"
  }
}