About this endpoint
What it does
Generates a newsletter digest from multiple web pages provided as URL strings. The response returns a JSON object containing a digest object with the digest content.
Request Body
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| urls | String Array | Yes | An 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 generated digest object. |
| digest.sources | String Array | No | The source URLs used to generate the digest. |
| digest.summary | String | No | The generated summary text. |
| digest.key_takeaways | String Array | No | The key takeaways extracted into the digest. |