API Documentation
Dashboard

Comments

Search and retrieve scraped Reddit comments.

GET/api/v1/workspaces/{workspace_id}/comments

List Comments

List comments with optional filtering by post, author, or search query.

Path Parameters

NameTypeRequiredDescription
workspace_iduuidRequiredWorkspace ID

Query Parameters

NameTypeRequiredDescription
post_idstringOptionalFilter by post ID
authorstringOptionalFilter by author username
min_scoreintegerOptionalMinimum comment score
qstringOptionalFull-text search query
limitintegerDefault: 50Max results (1-200)
offsetintegerDefault: 0Offset for pagination

Code Examples

bash
curl "https://api.sentrasa.com/api/v1/workspaces/{workspace_id}/comments?post_id=t3_abc123&limit=20" \
  -H "X-API-Key: rp_your_api_key"

Response

200Paginated comment list
json
{
  "comments": [
    {
      "id": 1,
      "comment_id": "t1_xyz789",
      "post_id": "t3_abc123",
      "post_permalink": "/r/technology/comments/abc123/...",
      "parent_id": "t3_abc123",
      "author": "commenter42",
      "body": "This is a great finding!",
      "score": 89,
      "created_utc": "2026-03-20T11:00:00Z",
      "depth": 0,
      "is_submitter": false,
      "sentiment_score": 0.75,
      "sentiment_label": "positive",
      "scraped_at": "2026-03-20T14:00:00Z"
    }
  ],
  "total": 1,
  "has_more": false
}