Skip to main content
POST
Summarize an article by ID with streaming response

Authorizations

x-api-key
string
header
required

Body

application/json
articleId
string
required
maxWords
integer
language
string

Specific language to summarize (e.g. 'fa', 'en')

fields
string[]

Fields to summarize (e.g. ['content', 'title'])

Response

Server-Sent Events stream

event
string
Examples:

"start"

"progress"

"content_chunk"

"complete"

"error"

data
object