--- method: GET path: /api/libraries/:id/folders auth: jwt+admin area: libraries --- # Get Library Folders Lists the filesystem folders configured for a library. ## Example response ```json example-response [ { "id": "aa0e8400-e29b-41d4-a716-446655440000", "library_id": "990e8400-e29b-41d4-a716-446655440000", "folder_path": "/books/manga", "created_at": "2026-01-01T00:00:00Z" } ] ``` ## Errors | Status | Body | When | | ------ | ---- | ---- | | 400 | `{"error": "invalid library id"}` | malformed id | | 401 / 403 | — | missing JWT / not an admin | | 500 | `{"error": "..."}` | unexpected server error |