get_ranked_posts
Retrieve up to 100 posts from a dataset, ranked by engagement count, likes, comments, shares, or creation date. Apply filters for platform, brand, sentiment, category, and date range.
Instructions
Return posts ranked by a metric or recency (max 100, descending).
Args: query_id: Dataset ID from list_data_queries rank_by: Metric to rank by. One of: engagement_count, like_count, comment_count, share_count, created_at filters: Dict with optional keys: platform, brand, sentiment, category, date_from, date_to limit: Max results, up to 100
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| query_id | Yes | ||
| rank_by | No | engagement_count | |
| filters | No | ||
| limit | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |