---
title: "GET /api/v1/items"
method: GET
path: "/api/v1/items"
---

# GET /api/v1/items

`GET /api/v1/items`

## Query parameters

- `limit` integer, required
- `offset` integer, required

## Response `200`

service.v1.Service.GetItems response

- GetItemsResponse
  - `items` Item[], required
    - `id` string, uuid, required
    - `type` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC', required
    - `name` string, required
    - `createdAt` string, date-time, required — Datetime when item was created.
  - `totalCount` integer, required
  - `nestedItem` GetItemsResponseNestedItem
    - `id` string, required
    - `type` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC', required
    - `name` string, required
    - `createdAt` string, date-time, required
  - `nestedType` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC'

## Changes

- **2024-04-02** `d59cedfa8366` — 1 info
  - added the optional property `nestedType` to the response with the `200` status
- **2023-05-20** `03416220e72f` — 2 breaking, 10 info
  - the `query` request parameter `limit` became required
  - the `query` request parameter `offset` became required
  - the response property `items` became required for the status `200`
  - the response property `items/items/createdAt` became required for the status `200`
  - …8 more
- **2023-05-20** `0d93dd152097` — 1 info
  - added the optional property `nestedItem` to the response with the `200` status
- **2023-05-20** `c22a496b7a51` — 6 breaking, 2 info
  - the response property `items` became optional for the status `200`
  - the response property `items/items/createdAt` became optional for the status `200`
  - the response property `items/items/id` became optional for the status `200`
  - the response property `items/items/name` became optional for the status `200`
  - …4 more
- **2023-05-07** `90df74f89a5e` — 1 info
  - added the required property `items/items/createdAt` to the response with the `200` status

[Full history](https://skmtc.dev/ogen-go/apis/generated-openapi-specification-from-proto-file/changes/api/v1/items/get.md)

---

[API](https://skmtc.dev/ogen-go/apis/generated-openapi-specification-from-proto-file.md) · [All operations](https://skmtc.dev/ogen-go/apis/generated-openapi-specification-from-proto-file/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/ogen-go/generated-openapi-specification-from-proto-file/revisions/d59cedfa8366/schema)
