List Modules

List generated platform modules for a workspace.

GET /v1/platform/modules

Lists modules owned by the authenticated platform workspace.

Query Parameters

ParameterTypeDescription
limitnumberPage size, default 20, max 100
offsetnumberZero-based offset, default 0
searchstringOptional title/description search

Example Request

curl "https://api.tutorflow.io/v1/platform/modules?limit=10&offset=0" \
  -H "Authorization: Bearer tf_platform_..."

Example Response

List responses use the same ModuleResDto shape as create/get responses. The example below is shortened for readability, but production responses include fields such as lecture, quizzes, platformWorkspaceId, platformApiKeyId, priceSnapshot, and timestamps.

{
  "items": [
    {
      "id": "4d3b7f2a-7b8f-497c-a1d9-58b7f2e0c111",
      "title": "Python Variables",
      "description": "Create a lesson about Python variables.",
      "type": "markdown",
      "isPublic": true,
      "status": "completed",
      "publicUrl": "https://tutorflow.io/en/platform/modules/b018172542f9...",
      "quizzes": [],
      "createdAt": "2026-04-27T10:00:00.000Z"
    }
  ],
  "total": 1
}