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

# GET /api/v1/items

`GET /api/v1/items`

## Query parameters

- `limit` integer, required
- `nestedType` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC', 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.
    - `mapWithString` object
    - `mapWithInt32` object
    - `mapWithInt64` object
    - `mapWithUint32` object
    - `mapWithUint64` object
    - `mapWithInt32Key` object
    - `mapWithInt64Key` object
    - `mapWithUint32Key` object
    - `mapWithUint64Key` object
    - `mapWithInt32Value` object
    - `mapWithInt64Value` object
    - `mapWithUint32Value` object
    - `mapWithUint64Value` object
    - `mapWithMessageValue` object
  - `totalCount` integer, required
  - `nestedItem` GetItemsResponseNestedItem
    - `id` string, required
    - `type` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC', required
    - `name` string, required
    - `createdAt` string, date-time, required
    - `nestedItem` GetItemsResponseNestedItem[]
  - `nestedType` 'ITEM_TYPE_UNSPECIFIED' | 'ITEM_TYPE_BASIC'
  - `error` Error
    - `service` string
    - `code` integer
    - `message` string

## Changes

- **2026-07-17** `d7715c41ad8e` — 1 info
  - added the optional property `error` to the response with the `200` status
- **2025-05-26** `6d563160abb6` — 14 info
  - added the optional property `items/items/mapWithInt32` to the response with the `200` status
  - added the optional property `items/items/mapWithInt32Key` to the response with the `200` status
  - added the optional property `items/items/mapWithInt32Value` to the response with the `200` status
  - added the optional property `items/items/mapWithInt64` to the response with the `200` status
  - …10 more
- **2024-04-05** `3fdf401a2b1b` — 1 info
  - added the optional property `nestedItem/nestedItem` to the response with the `200` status
- **2024-04-02** `790ebbb95319` — 1 breaking
  - added the new required `query` request parameter `nestedType`
- **2024-04-02** `d59cedfa8366` — 1 info
  - added the optional property `nestedType` 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/d7715c41ad8e/schema)
