Summary
Generate concise, intelligent summaries of text or documents with AI
Request Parameters
Body
The text content to summarize. Maximum 300,000 characters.
Not required if url
or file_store_key
is specified.
The text
parameter supports two formats:
- Single string:
{"text":"Your long text here"}
- Array of strings:
{"text":["Long text 1", "Long text 2"]}
URL of a PDF document to summarize. Not required if text
or file_store_key
is provided.
The key of a stored PDF document to summarize from Jigsawstack File
Storage. Not required if text
or url
is provided.
The format of the summary: - text
: Returns a continuous paragraph summary -
points
: Returns bullet points as an array of strings
The maximum number of bullet points to generate when type
is set to
points
. Maximum value is 100.
The maximum number of characters in the generated summary.
Header
Your JigsawStack API key
Response Structure
The response structure varies based on the type
parameter:
When type
is “text” (default)
Indicates whether the call was successful.
The generated summary as a continuous paragraph.
When type
is “points”
Indicates whether the call was successful.
An array of strings, where each string represents a bullet point in the summary.