About this endpoint
What it does
Generates a newsletter digest from multiple web pages you provide as URLs. The response returns a digest object containing the source URLs used, a text summary, and an array of key takeaways.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| urls | String Array | Yes | A required array of URL strings pointing to the target web pages to be digested. |
Response
Returns a JSON object with a digest object field. The digest object contains sources as a string array, summary as a string, and key_takeaways as a string array.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| digest | Object | No | The digest payload returned by the service. |
| digest.sources | String Array | No | The source URLs used to generate the digest. |
| digest.summary | String | No | A summary combining the provided web pages. |
| digest.key_takeaways | String Array | No | The main takeaways extracted from the input pages. |