---
title: "Get All Folders"
method: GET
path: "/folders/all-folders"
tags: ["Folders"]
---

# Get All Folders

`GET /folders/all-folders`

## Request

- Base URL: `http://localhost:52123`
- URL: `http://localhost:52123/folders/all-folders`
- Auth: none declared
- TypeScript: <https://skmtc.dev/aossie-org/apis/pictopy/docs/folders/all-folders/get.ts> (a function with typed inputs; its response is checked against the schema)

Get details of all folders in the database.

## Response `200`

Successful Response

- GetAllFoldersResponse
  - `success` boolean, required
  - `message` string, nullable
  - `error` string, nullable
  - `data` GetAllFoldersData
    - `folders` FolderDetails[], required
      - `folder_id` string, required
      - `folder_path` string, required
      - `parent_folder_id` string, nullable
      - `last_modified_time` integer, required
      - `AI_Tagging` boolean, required
      - `taggingCompleted` boolean, nullable
      - `image_count` integer
      - `video_count` integer
      - `indexing_status` string, nullable
    - `total_count` integer, required

## Other responses

- `500`: Internal Server Error

## Changes

- **2026-07-24** `a69defcff040`: 1 info
  - added the optional property `data/anyOf[subschema #1: GetAllFoldersData]/folders/items/indexing_status` to the response with the `200` status
- **2026-07-24** `139d995685b7`: 1 warning, 1 info
  - removed the optional property `data/anyOf[subschema #1: GetAllFoldersData]/folders/items/indexing_status` from the response with the `200` status
  - added the optional property `data/anyOf[subschema #1: GetAllFoldersData]/folders/items/video_count` to the response with the `200` status
- **2026-07-24** `7477eec45139`: 1 info
  - added the optional property `data/anyOf[subschema #1: GetAllFoldersData]/folders/items/indexing_status` to the response with the `200` status
- **2026-05-26** `3050c194d0d1`: 1 info
  - added the optional property `data/anyOf[subschema #1: GetAllFoldersData]/folders/items/image_count` to the response with the `200` status
- **2025-08-29** `81e02d768f5b`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/aossie-org/apis/pictopy/changes/folders/all-folders/get.md)

---

[API](https://skmtc.dev/aossie-org/apis/pictopy.md) - [All operations](https://skmtc.dev/aossie-org/apis/pictopy/llms.txt) - [OpenAPI document](https://skmtc.dev/aossie-org/apis/pictopy/revisions/9fe895216588?raw)
