---
title: "List Users"
method: GET
path: "/users"
tags: ["User"]
---

# List Users

`GET /users`

List Users.

## Query parameters

- `page` integer
- `itemsPerPage` integer

## Response `200`

result User list

- User[]
  - `id` integer, required
  - `name` string, required
  - `age` integer, required
  - `pets` Pet[]
    - `id` integer, required
    - `name` string, required
    - `nicknames` string[]
    - `age` integer
    - `categories` Category[]
      - `id` integer, required
      - `name` string, required
      - `readonly` string, required
      - `pets` Pet[]
    - `owner` User — recursive
    - `friends` Pet[]

## Other responses

- `400` — invalid input, data invalid
- `404` — resource not found
- `409` — conflicting resources
- `500` — unexpected error

## Changes

- **2026-07-17** `f1e79a433c8f` — 3 warning
  - for the `query` request parameter `itemsPerPage`, the max was set to `255.00`
  - for the `query` request parameter `itemsPerPage`, the min was set to `1.00`
  - for the `query` request parameter `page`, the min was set to `1.00`
- **2022-01-04** `27f7ca49a6a1` — 2 info
  - for the `query` request parameter `itemsPerPage`, the type/format was generalized from `integer`/`int32` to `integer`/``
  - for the `query` request parameter `page`, the type/format was generalized from `integer`/`int32` to `integer`/``
- **2022-01-03** `518e00702622` — 1 info
  - added the non-success response with the status `409`
- **2022-01-03** `d1d141e66c09` — 3 breaking, 6 info
  - the `code` response's property type/format changed from `integer`/`int32` to `integer`/`` for status `400`
  - the `code` response's property type/format changed from `integer`/`int32` to `integer`/`` for status `404`
  - the `code` response's property type/format changed from `integer`/`int32` to `integer`/`` for status `500`
  - the response property `code` became required for the status `400`
  - …5 more
- **2021-12-21** `41f59b033280` — 2 breaking
  - the `items/age` response's property type/format changed from `integer`/`int32` to `integer`/`` for status `200`
  - the `items/id` response's property type/format changed from `integer`/`int32` to `integer`/`` for status `200`

[Full history](https://skmtc.dev/ent/apis/my-simple-api/changes/users/get.md)

---

[API](https://skmtc.dev/ent/apis/my-simple-api.md) · [All operations](https://skmtc.dev/ent/apis/my-simple-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ent/my-simple-api/revisions/f1e79a433c8f/schema)
