About this endpoint
What it does
Submits a text summarization job and returns a job identifier for tracking the asynchronous processing. Provide the text content to summarize, plus optional instructions such as context, language, maximum summary length, and voice tone.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| content | String | Yes | Provide the content to summarize. |
| context | String | No | Additional processing instructions for the content. |
| language | String | No | Specify the language of the output, defaults to English. |
| max_length | Number | No | Specify the maximum length of the summary in words. For example: 100. |
| voice_tone | String | No | Specify the voice tone of the output. It can be adjectives like funny or joyous, or even the name of a famous writer. |
Response
Returns a JSON object with a job_id string field — the identifier for the submitted summarization job.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| job_id | String | Yes | Job identifier returned for tracking the async job. |