---
title: List File Manager files
slug: docs/list-file-manager-files
docTags: 
createdAt: 2026-08-13T14:09:12.300Z
---

{
  "id": "cWOay9NBKx2qTwchZlDsy",
  "type": "api-oas-v2",
  "data": {
    "method": "GET",
    "url": "https://api.archbee.com/api/public-api/file-manager/files",
    "servers": [
      {
        "url": "https://api.archbee.com/api/public-api/file-manager/files",
        "description": "Archbee API Server"
      }
    ],
    "name": "List File Manager files",
    "description": "<p>List files and folders in the File Manager. Omitting parentId lists every entry across all folders (use searchQuery/pagination to find one); pass a folder id to list that folder's direct children. Filter with itemType (directory, image, or file).</p>",
    "contentType": "application/json",
    "request": {
      "pathParameters": [],
      "headerParameters": [
        {
          "name": "accept",
          "type": "string",
          "kind": "optional",
          "description": "Generated from available response content types",
          "enum": [
            "application/json"
          ],
          "default": "application/json"
        }
      ],
      "queryParameters": [
        {
          "kind": "optional",
          "name": "parentId",
          "type": "string",
          "description": "OPTIONAL. Folder id to list the direct children of. Omit to list all entries across every folder."
        },
        {
          "kind": "optional",
          "name": "itemType",
          "type": "string<directory | image | file>",
          "description": "OPTIONAL. Filter by entry type.",
          "enum": [
            "directory",
            "image",
            "file"
          ]
        },
        {
          "kind": "optional",
          "name": "searchQuery",
          "type": "string",
          "description": "<p>OPTIONAL. Case-insensitive filename filter.</p>"
        },
        {
          "kind": "optional",
          "name": "pageIndex",
          "type": "integer",
          "description": "<p>OPTIONAL. Zero-based page index (default 0).</p>"
        },
        {
          "kind": "optional",
          "name": "pageSize",
          "type": "integer",
          "description": "<p>OPTIONAL. Page size (1-200).</p>"
        }
      ],
      "bodyDataParameters": [],
      "formDataParameters": [],
      "oAuthParameters": [
        {
          "id": "bearerAuth",
          "name": "bearerAuth",
          "kind": "optional",
          "type": "http",
          "description": "<p>Requires the <code>Authorization</code> header in the form <code>Authorization: Bearer {base64(docSpaceId~apiKey)}</code> Where the token is base64 encoding of docSpaceId, tilde, and apiKey.</p>",
          "scheme": "bearer"
        }
      ],
      "cookieParameters": []
    },
    "responses": [
      {
        "statusCode": "200",
        "description": "List OK status",
        "jsonExample": "",
        "isExpanded": true
      },
      {
        "statusCode": "400",
        "description": "Invalid request",
        "jsonExample": "",
        "isExpanded": true,
        "schema": [
          {
            "kind": "optional",
            "type": "object",
            "description": "",
            "customType": "Response400",
            "schema": [
              {
                "name": "status",
                "kind": "optional",
                "type": "string<OK | Not OK>",
                "description": "Response Status",
                "example": "Not OK",
                "enum": [
                  "OK",
                  "Not OK"
                ]
              },
              {
                "name": "messages",
                "kind": "optional",
                "type": "array",
                "description": "Array of messages",
                "example": "[\"Some error message\"]",
                "itemType": "string",
                "customType": "string[]",
                "itemExample": "Some error message",
                "itemDefault": ""
              }
            ],
            "modelRef": "#/components/schemas/Response400",
            "isExpanded": true
          }
        ]
      }
    ],
    "hasXCodeSamples": false,
    "examples": {
      "languages": [
        {
          "id": "b2M6c8wJpF9z6R7539pZX",
          "language": "curl",
          "label": "cURL",
          "code": "curl --request GET \\\n     --url https://api.archbee.com/api/public-api/file-manager/files \\\n     --header 'accept: application/json'"
        },
        {
          "id": "SeJ40QJM5fC_4NxHAtHl1",
          "language": "javascript",
          "label": "javascript",
          "code": "var myHeaders = new Headers();\nmyHeaders.append(\"accept\", \"application/json\");\nmyHeaders.append(\"content-type\", \"application/json\");\n\nvar requestOptions = {\n   method: 'GET',\n   headers: myHeaders,\n   redirect: 'follow'\n};\n\nfetch(\"https://api.archbee.com/api/public-api/file-manager/files\", requestOptions)\n   .then(response => response.text())\n   .then(result => console.log(result))\n   .catch(error => console.log('error', error));"
        },
        {
          "id": "VxSJbsAOxvNxSeWvL9fab",
          "language": "ruby",
          "label": "Ruby",
          "code": "require \"uri\"\nrequire \"json\"\nrequire \"net/http\"\n\nurl = URI(\"https://api.archbee.com/api/public-api/file-manager/files\")\n\nhttps = Net::HTTP.new(url.host, url.port)\nhttps.use_ssl = true\n\nrequest = Net::HTTP::Get.new(url)\nrequest[\"accept\"] = \"application/json\"\nrequest[\"content-type\"] = \"application/json\"\n\nresponse = https.request(request)\nputs response.read_body\n"
        },
        {
          "id": "obGr96Lu6wgRet5g-41kt",
          "language": "python",
          "label": "Python",
          "code": "import requests\nimport json\n\nurl = \"https://api.archbee.com/api/public-api/file-manager/files\"\n\npayload = {}\nheaders = {\n   'accept': 'application/json',\n   'content-type': 'application/json'\n}\n\nresponse = requests.request(\"GET\", url, headers=headers, data=payload)\n\nprint(response.text)\n"
        }
      ],
      "selectedLanguageId": "b2M6c8wJpF9z6R7539pZX"
    },
    "results": {
      "languages": [
        {
          "id": "cxTBDD_UCSxNq5B6h4ls-",
          "language": "200",
          "code": "// List OK status\n"
        },
        {
          "id": "siOlsivVgk8qRneSF5lY5",
          "language": "400",
          "code": "// Invalid request\n{\n  \"status\": \"Not OK\",\n  \"messages\": [\n    \"Some error message\"\n  ]\n}"
        }
      ],
      "selectedLanguageId": "cxTBDD_UCSxNq5B6h4ls-"
    }
  },
  "children": [
    {
      "text": ""
    }
  ]
}