Get the full coverage cluster of a card
The more stories from the same event as one card.
GET https://cotlet.dev/api/v1/google-discover/story-cluster
read
Opens the more stories or full coverage group of a card and returns its stories in the order shown, each with title, publisher, URL and age. It returns an empty list when the card has no cluster. The card is identified by the URL from get_discover_feed.
Parameters
| Name | Type | Description |
|---|---|---|
| url string required | string | URL of the card, as returned by get_discover_feed. |
Request
curl "https://cotlet.dev/api/v1/google-discover/story-cluster?url=https%3A%2F%2Fexample.com" \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("google-discover", "get_story_cluster", {"url":"https://example.com"}) const result = await cotlet.call('google-discover', 'get_story_cluster', {"url":"https://example.com"}); cotlet call google-discover get_story_cluster --data '{"url":"https://example.com"}' Example response
{
"url": "https://example-news.com/guides/sourdough-starter",
"stories": [
{
"title": "How to feed a sourdough starter",
"publisher": "Example News",
"url": "https://example-news.com/guides/sourdough-starter",
"age": "1d"
},
{
"title": "Why your starter smells like acetone",
"publisher": "Bread Notes",
"url": "https://bread-notes.example/acetone-starter",
"age": "2d"
}
]
}