> ## Documentation Index
> Fetch the complete documentation index at: https://docs.yume.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Get items



## OpenAPI

````yaml /openapi/main.json get /v1/crm/inventories/sets/{set_id}/items/
openapi: 3.0.3
info:
  title: Yume API — Основное
  version: 1.0.0
  description: Базовые сущности и бизнес-логика CRM.
servers:
  - url: https://api.yume.cloud
    description: Production
  - url: https://api.stage.yume.cloud
    description: Stage
security: []
paths:
  /v1/crm/inventories/sets/{set_id}/items/:
    get:
      tags:
        - inventories
      summary: Get items
      operationId: inventories_sets_items_list
      parameters:
        - in: query
          name: end_at
          schema:
            type: string
            format: date-time
          description: >-
            Конец окна доступности. Момент времени или дата, от которой берётся
            полночь. По умолчанию — текущий момент.
        - in: query
          name: rental_point
          schema:
            type: number
        - in: path
          name: set_id
          schema:
            type: integer
          required: true
        - in: query
          name: start_at
          schema:
            type: string
            format: date-time
          description: >-
            Начало окна доступности. Момент времени или дата, от которой берётся
            полночь. По умолчанию — текущий момент.
        - $ref: '#/components/parameters/TenantId'
      responses:
        '200':
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/InventorySetItem'
          description: ''
      security:
        - jwtAuth: []
components:
  parameters:
    TenantId:
      name: X-Tenant-Id
      in: header
      required: false
      schema:
        type: integer
      description: >-
        Компания, в контексте которой выполняется запрос — её id из `GET
        /v1/tenant/`. Пользователь должен состоять в этой компании: чужой id
        доступа к данным не даёт. Без заголовка компания определяется по домену
        запроса.
  schemas:
    InventorySetItem:
      type: object
      properties:
        id:
          type: integer
        count:
          type: integer
        group_id:
          type: integer
        group_name:
          type: string
          readOnly: true
        group_unique_id:
          type: string
          readOnly: true
        group_category:
          type: integer
          readOnly: true
        group_image:
          type: string
          readOnly: true
        inventories_count:
          type: integer
          readOnly: true
          default: 0
        inventories_free:
          type: integer
          readOnly: true
          default: 0
        alternative:
          type: integer
          nullable: true
        required:
          type: boolean
      required:
        - count
        - group_category
        - group_id
        - group_image
        - group_name
        - group_unique_id
        - inventories_count
        - inventories_free
  securitySchemes:
    jwtAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT

````