List items

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 /lists/{listId}

Get all items in a list

Headers

Path parameters

  • listId string Required

    The id of the list

Responses

  • 200 application/json

    OK

    Hide response attributes Show response attributes object
    • success boolean
    • list object
      Hide list attribute Show list attribute object
      • * object | string | array Additional properties
GET /lists/{listId}
curl \
 --request GET 'https://api.lassomoderation.com/api/v1/lists/{listId}' \
 --header "Authorization: string"
Response examples (200)
{
  "success": true,
  "list": {
    "id": "clf3twurb0005sas3keq74fqp",
    "createdAt": "2023-03-11T10:33:41.304Z",
    "name": "Bad words",
    "type": "strings",
    "items": [
      "shut up",
      "f*ck"
    ]
  }
}