Get report policy options

Add MCP server to your AI tool

Allow AI tools and LLMs to interact with the API documentation portal through MCP.

MCP server URL

https://api-reference.lassomoderation.com/mcp

Standard setup for AI tools providing an mcp.json file

mcp.json
{
  "Lasso Moderation API MCP server": {
    "url": "https://api-reference.lassomoderation.com/mcp"
  }
}

Close
GET /user-reports

Get all the possible policy options that a user can select when making a user report.

Default rate limit: 100 requests per minute.

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success boolean
    • policies array[object] Required
      Hide policies attributes Show policies attributes object
      • id string Required
      • name string Required
      • description string
      • translations object

        Translated names and descriptions, keyed by language code (e.g. en, nl, fr). Only returned when the languages feature is enabled for your workspace.

        Hide translations attributes Show translations attributes object
        • name object

          Translated policy names keyed by language code

          Hide name attribute Show name attribute object
          • * string Additional properties
        • description object

          Translated policy descriptions keyed by language code

          Hide description attribute Show description attribute object
          • * string Additional properties
  • 401 application/json

    The API token is missing or invalid

    Hide response attributes Show response attributes object
    • success boolean Required
    • error string | object Required

      A message describing the error. For validation errors this is an object with an error message per field.

  • 429 application/json

    The rate limit has been exceeded, check the X-RateLimit headers for limits

    Hide headers attributes Show headers attributes
    • X-RateLimit-Limit

      The rate limit interval in milliseconds

    • X-RateLimit-Remaining

      The number of requests remaining in the current interval

    • X-RateLimit-Reset

      The number of milliseconds until requests are allowed again

    Hide response attribute Show response attribute object
    • error string Required
GET /user-reports
curl \
 --request GET 'https://api.lassomoderation.com/api/v1/user-reports' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "success": true,
  "policies": [
    {
      "id": "rude_gestures",
      "name": "Rude Gestures",
      "description": "Images containing rude gestures",
      "translations": {
        "name": {
          "en": "Rude Gestures",
          "nl": "Onbeschofte gebaren"
        },
        "description": {
          "en": "Images containing rude gestures",
          "nl": "Afbeeldingen met onbeschofte gebaren"
        }
      }
    },
    {
      "id": "other",
      "name": "Other"
    }
  ]
}
Response examples (401)
{
  "success": false,
  "error": "Invalid API key"
}
Response examples (429)
{
  "error": "Too many requests, check headers for limits"
}