Altimate AI WAREHOUSE API

The WAREHOUSE API from Altimate AI — 24 operation(s) for warehouse.

OpenAPI Specification

altimate-ai-warehouse-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Fast ACCOUNT_COSTS WAREHOUSE API
  version: 0.1.0
tags:
- name: WAREHOUSE
paths:
  /warehouse/:
    get:
      tags:
      - WAREHOUSE
      summary: Get All Warehouses
      operationId: get_all_warehouses_warehouse__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: limit
        in: query
        required: false
        schema:
          anyOf:
          - type: integer
          - type: 'null'
          title: Limit
      - name: period
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Period
      - name: sortAttribute
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: total_cost
          title: Sortattribute
      - name: sortOrder
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: desc
          title: Sortorder
      - name: tags
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Tags
      - name: warehouseName
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Warehousename
      - name: warehouseSize
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Warehousesize
      - name: costFilter
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          default: 0
          title: Costfilter
      - name: costFilterMode
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: gt
          title: Costfiltermode
      - name: autoTuneFilter
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Autotunefilter
      - name: opportunityFilter
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Opportunityfilter
      - name: snowflakeTags
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Snowflaketags
      - name: resizeMode
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Resizemode
      - name: resizeEligible
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Resizeeligible
      - name: instance_ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Instance Ids
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: navigationSource
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Navigationsource
      - name: page
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          description: Page number
          default: 1
          title: Page
        description: Page number
      - name: size
        in: query
        required: false
        schema:
          type: integer
          maximum: 100
          minimum: 1
          description: Page size
          default: 50
          title: Size
        description: Page size
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Page_WarehouseFetchAllPageResponse_'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get All Warehouses Warehouse  Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get All Warehouses Warehouse  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/filters/:
    get:
      tags:
      - WAREHOUSE
      summary: Get All Filters
      operationId: get_all_filters_warehouse_filters__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: period
        in: query
        required: false
        schema:
          type: integer
          default: 30
          title: Period
      - name: navigationSource
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Navigationsource
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehouseFiltersFetchAllResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get All Filters Warehouse Filters  Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get All Filters Warehouse Filters  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/instance/{instance_id}/warehouse_rk/{warehouse_rk}/:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse
      operationId: get_warehouse_warehouse_instance__instance_id__warehouse_rk__warehouse_rk___get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse Rk
      - name: period
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Period
      - name: navigationSource
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Navigationsource
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehouseResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Warehouse Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Warehouse Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/cost/instance/{instance_id}/warehouse_rk/{warehouse_rk}/:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Cost
      operationId: get_warehouse_cost_warehouse_cost_instance__instance_id__warehouse_rk__warehouse_rk___get
      deprecated: true
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse Rk
      - name: period
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Period
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehousePeriodCostResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Cost Warehouse Cost Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Cost Warehouse Cost Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/cost/instance/{instance_id}/warehouse_rk/{warehouse_rk}/v2/:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Cost V2
      operationId: get_warehouse_cost_v2_warehouse_cost_instance__instance_id__warehouse_rk__warehouse_rk__v2__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse Rk
      - name: start_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.519238'
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.519308'
          title: End Date
      - name: aggregation
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/WarehouseDetailsAggregationType'
          default: day
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehousePeriodCostResponseV2'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Cost V2 Warehouse Cost Instance  Instance Id  Warehouse Rk  Warehouse Rk  V2  Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Cost V2 Warehouse Cost Instance  Instance Id  Warehouse Rk  Warehouse Rk  V2  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/cost/v2/:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouses Cost V2
      operationId: get_warehouses_cost_v2_warehouse_cost_v2__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: start_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.526515'
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.526593'
          title: End Date
      - name: aggregation
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/WarehouseDetailsAggregationType'
          default: day
      - name: period
        in: query
        required: false
        schema:
          type: integer
          default: 1
          title: Period
      - name: sortAttribute
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: total_cost
          title: Sortattribute
      - name: sortOrder
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: desc
          title: Sortorder
      - name: tags
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Tags
      - name: warehouseName
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Warehousename
      - name: warehouseSize
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Warehousesize
      - name: costFilter
        in: query
        required: false
        schema:
          anyOf:
          - type: number
          - type: 'null'
          default: 0
          title: Costfilter
      - name: costFilterMode
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          default: gt
          title: Costfiltermode
      - name: autoTuneFilter
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Autotunefilter
      - name: opportunityFilter
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Opportunityfilter
      - name: snowflakeTags
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Snowflaketags
      - name: resizeMode
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Resizemode
      - name: resizeEligible
        in: query
        required: false
        schema:
          anyOf:
          - type: boolean
          - type: 'null'
          title: Resizeeligible
      - name: instance_ids
        in: query
        required: false
        schema:
          anyOf:
          - type: array
            items:
              type: string
          - type: 'null'
          title: Instance Ids
      - name: search
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Search
      - name: navigationSource
        in: query
        required: false
        schema:
          anyOf:
          - type: string
          - type: 'null'
          title: Navigationsource
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehousePeriodCostResponseV2'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouses Cost V2 Warehouse Cost V2  Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouses Cost V2 Warehouse Cost V2  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/cluster_utilization/instance/{instance_id}/warehouse_rk/{warehouse_rk}/:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Cluster Utilization
      operationId: get_warehouse_cluster_utilization_warehouse_cluster_utilization_instance__instance_id__warehouse_rk__warehouse_rk___get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse Rk
      - name: start_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.540993'
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.541077'
          title: End Date
      - name: aggregation
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/WarehouseDetailsAggregationType'
          default: day
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehouseClusterUtilizationResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Cluster Utilization Warehouse Cluster Utilization Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Cluster Utilization Warehouse Cluster Utilization Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/running_stats_trends/instance/{instance_id}/warehouse_rk/{warehouse_rk}/:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Running Stats Trends
      description: Get warehouse running stats (active/idle time) trends for stacked bar chart.
      operationId: get_warehouse_running_stats_trends_warehouse_running_stats_trends_instance__instance_id__warehouse_rk__warehouse_rk___get
      deprecated: true
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse Rk
      - name: start_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.546532'
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.546606'
          title: End Date
      - name: aggregation
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/WarehouseDetailsAggregationType'
          default: day
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app__schemas__warehouses__WarehouseRunningStatsTrendsResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Running Stats Trends Warehouse Running Stats Trends Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Running Stats Trends Warehouse Running Stats Trends Instance  Instance Id  Warehouse Rk  Warehouse Rk   Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/last_event_time:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Last Event Time
      operationId: get_warehouse_last_event_time_warehouse_last_event_time_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response Get Warehouse Last Event Time Warehouse Last Event Time Get
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Last Event Time Warehouse Last Event Time Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Last Event Time Warehouse Last Event Time Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/metadata:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Metadata
      operationId: get_warehouse_metadata_warehouse_metadata_get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseMetadataItem'
                title: Response Get Warehouse Metadata Warehouse Metadata Get
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Metadata Warehouse Metadata Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Metadata Warehouse Metadata Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/insights:
    post:
      tags:
      - WAREHOUSE
      summary: Get Warehouses Insights
      operationId: get_warehouses_insights_warehouse_insights_post
      deprecated: true
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/WarehousesInsightsReq'
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/WarehouseInsightsItem'
                title: Response Get Warehouses Insights Warehouse Insights Post
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouses Insights Warehouse Insights Post
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouses Insights Warehouse Insights Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/auto_savings/instance/{instance_id}/warehouse_rk/{warehouse_rk}:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Auto Savings
      operationId: get_warehouse_auto_savings_warehouse_auto_savings_instance__instance_id__warehouse_rk__warehouse_rk__get
      deprecated: true
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse RK
          description: Warehouse RK
        description: Warehouse RK
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: period
        in: query
        required: true
        schema:
          $ref: '#/components/schemas/Period'
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehouseAutoSavingsResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 400 Get Warehouse Auto Savings Warehouse Auto Savings Instance  Instance Id  Warehouse Rk  Warehouse Rk  Get
        '403':
          description: Not supported for public user
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response 403 Get Warehouse Auto Savings Warehouse Auto Savings Instance  Instance Id  Warehouse Rk  Warehouse Rk  Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /warehouse/auto_savings/v2/instance/{instance_id}/warehouse_rk/{warehouse_rk}:
    get:
      tags:
      - WAREHOUSE
      summary: Get Warehouse Auto Savings V2
      operationId: get_warehouse_auto_savings_v2_warehouse_auto_savings_v2_instance__instance_id__warehouse_rk__warehouse_rk__get
      security:
      - HTTPBearer: []
      - HTTPBearer: []
      parameters:
      - name: warehouse_rk
        in: path
        required: true
        schema:
          type: string
          title: Warehouse RK
          description: Warehouse RK
        description: Warehouse RK
      - name: instance_id
        in: path
        required: true
        schema:
          type: string
          title: Instance Id
      - name: start_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.566199'
          title: Start Date
      - name: end_date
        in: query
        required: false
        schema:
          type: string
          format: date-time
          default: '2026-07-17T12:35:39.566261'
          title: End Date
      - name: aggregation
        in: query
        required: false
        schema:
          $ref: '#/components/schemas/WarehouseDetailsAggregationType'
          default: day
      - name: x-tenant
        in: header
        required: true
        schema:
          type: string
          title: X-Tenant
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WarehouseAutoSavingsResponse'
        '400':
          description: Not supported for public user
          content:
            application/json:
      

# --- truncated at 32 KB (83 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/altimate-ai/refs/heads/main/openapi/altimate-ai-warehouse-api-openapi.yml