Retrieving AI Summaries via API Call?

Is there any way to retrieve those AI summaries via API call? We would like to display those AI summaries automatically in our wordpress blog on product pages.

Anything that displays in the ux you can get with the API. You can probably just add .json to the url, but see Reverse engineer the Discourse API

1 Like

Use the following endpoint:

https://SITE/discourse-ai/summarization/t/TOPIC_ID.json

Eg:

curl https://meta.discourse.org/discourse-ai/summarization/t/325562.json

Be sure not to include the stream parameter. The stream parameter will cause the message bus to deliver new summaries, which is a more complex protocol.

Also, be sure to use an API key for a user in a group that is able to generate summaries.

5 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.