Get Summary
Retrieve existing summary data with structured insights
Stream Summary
Generate summaries in real-time with live progress
Summaries provide structured, time-stamped insights from your media content, available in both default format and
compressed key points.
- Quick Start
- Supported Formats
1
Generate Transcript
First, ensure you have a transcript by calling
/transcripts/stream2
Stream Summary
Call
/summaries/stream to generate your summary3
Retrieve Results
Use
/summaries to get the completed summary dataGet summary
Path variables
The video ID for the file.
Request parameters
The media type of the video.Options:
youtube, vimeo, dailymotion, or privateThe language code of the input audio in ISO-639-1 format.Examples:
en, en-US, fr, esThe type of the summary.Options:
default- Full summary with detailed segmentscompressed- Key points only
Response
The index of the segment in the summary
The start time of the segment in seconds.
-1 means that the core concept was not associated with a specific
timestampError responses
The summary has been successfully retrieved.
The video has not been summarized yet.
The request is invalid.
The request is unauthorized.
The server has encountered an error.
If the video has not been summarized yet, the response will be
204 with no content. Calling the Stream endpoint is
required.Stream summary
Current limitation:The summary stream needs to be called AFTER a transcript stream has been called, or the transcript is available.Options:
- Call the
/transcripts/streamendpoint first, and after a few seconds, call the/summaries/streamendpoint. - Call the
/transcripts/streamendpoint and allow the transcript generation to complete. Call the/summaries/streamafter the transcript is available. - Ensure that the
/transcripts/getendpoint has a non204response before calling the/summaries/streamendpoint.
/summaries/stream endpoint before the transcript is available will not generate a summary.Request body
The unique identifier for the video
The media type of the video. Options:
youtube, vimeo, dailymotion, or privateThe language code of the input audio in ISO-639-1 format, like
en or frThe type of the summary. Options:
default (for the default Summary) or compressed (for Key Points)Whether to use Server-Sent Events for streaming
Whether to regenerate the summary if it already exists
Response Types
The streaming endpoint returns different types of messages:Error Messages
Summary Segment Messages
Summary Segment
The
start_time value of -1 indicates that the core concept was not associated with a specific timestamp.Semaphore Messages
Summary Info Messages
Summary Info
Progress Messages
Progress Update
The
speed and eta fields are currently not used and will return empty strings.