Get content status

GET /status/{contentId}

Get the status and the actions taken upon a piece of content. When the status is null this means that we have not yet ran the moderation rules against the content.

Responses

GET /status/{contentId}
curl \
 -X GET https://api.lassomoderation.com/api/v1/status/{contentId} \
 -H "Authorization: string"
Response examples (200)
{
  "status": "flagged",
  "actions": [
    {
      "type": "content",
      "status": "flagged",
      "content": {
        "id": "1188620289",
        "tags": [
          "another-tag"
        ],
        "user_id": "9876545634",
        "created_at": "2024-07-11T15:41:06.027Z",
        "category_id": "chat",
        "subcategory_id": "chat-community"
      },
      "rule_id": "clesjpsib0001ukkq5e62gwnw",
      "action_id": "clyhfrweo0002wx1z402kp4id",
      "policy_id": "other",
      "action_type": "ChangeStatus",
      "policy_name": "Other",
      "previous_status": null,
      "action_created_at": "2024-07-11T15:41:06.383Z"
    }
  ],
  "success": true
}