---
title: "ListShelves"
method: GET
path: "/v1/shelves"
tags: ["LibraryService"]
---

# ListShelves

`GET /v1/shelves`

Lists shelves. The order is unspecified but deterministic. Newly created
 shelves will not necessarily be added to the end of this list.

## Query parameters

- `page_size` integer
- `page_token` string

## Response `200`

OK

- ListShelvesResponse — Response message for LibraryService.ListShelves.
  - `shelves` Shelf[] — The list of shelves.
    - `name` string, required — The resource name of the shelf. Shelf names have the form `shelves/{shelf_id}`. The name is ignored when creating a shelf.
    - `theme` string — The theme of the shelf
    - `next_sort_at` string, date — The next sorting date.
    - `created_at` string, date-time — The creation date and time.
    - `updated_at` string, date-time — The last update date and time.
  - `next_page_token` string — A token to retrieve next page of results. Pass this value in the [ListShelvesRequest.page_token][google.example.library.v1.ListShelvesRequest.page_token] field in the subsequent call to `ListShelves` method to retrieve the next page of results.

## Other responses

- `default` — Default error response

---

[API](https://skmtc.net/kollalabs/apis/libraryservice-api.md) · [All operations](https://skmtc.net/kollalabs/apis/libraryservice-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/kollalabs/libraryservice-api/revisions/b3518c94ac37/schema)
