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
string
required
The video ID for the file.
Request parameters
string
required
The media type of the video.Options:
youtube, vimeo, dailymotion, or privatestring
required
The language code of the input audio in ISO-639-1 format.Examples:
en, en-US, fr, esstring
required
The type of the summary.Options:
default- Full summary with detailed segmentscompressed- Key points only
Response
number
The index of the segment in the summary
number
The start time of the segment in seconds.
-1 means that the core concept was not associated with a specific
timestampError responses
OK
The summary has been successfully retrieved.
NO_CONTENT
The video has not been summarized yet.
BAD_REQUEST
The request is invalid.
UNAUTHORIZED
The request is unauthorized.
INTERNAL_SERVER_ERROR
The server has encountered an error.
Stream summary
Request body
string
required
The unique identifier for the video
string
required
The media type of the video. Options:
youtube, vimeo, dailymotion, or privatestring
required
The language code of the input audio in ISO-639-1 format, like
en or frstring
required
The type of the summary. Options:
default (for the default Summary) or compressed (for Key Points)boolean
required
Whether to use Server-Sent Events for streaming
boolean
required
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
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.