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

# Get aggregated product status for multiple antennas

> Returns the current antenna readings (products) aggregated from all specified antennas.
The antennas are identified by their UUIDs passed as query parameters.

Returns an empty array if no UUIDs are provided or no active RFID readings are present.




## OpenAPI

````yaml https://app.buylo.ai/api/documentation/swagger/openapi.yaml get /api/antennas/status
openapi: 3.1.1
info:
  title: Buylo - company external API
  version: 1.0.0
  description: >-
    API endpoints for managing products and EPCs in the Buylo system. Use
    company token for authentication.
servers:
  - url: https://app.buylo.ai/
security:
  - bearerAuth: []
paths:
  /api/antennas/status:
    get:
      tags:
        - Antennas
      summary: Get aggregated product status for multiple antennas
      description: >
        Returns the current antenna readings (products) aggregated from all
        specified antennas.

        The antennas are identified by their UUIDs passed as query parameters.


        Returns an empty array if no UUIDs are provided or no active RFID
        readings are present.
      parameters:
        - in: query
          name: uuids[]
          required: false
          schema:
            type: array
            items:
              type: string
          description: List of antenna UUIDs to query
          example:
            - 550e8400-e29b-41d4-a716-446655440000
            - 6ba7b810-9dad-11d1-80b4-00c04fd430c8
      responses:
        '200':
          description: Aggregated product status from the specified antennas
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        product_id:
                          type: string
                          description: Unique product identifier
                          example: ABC123
                        product_name:
                          type: object
                          nullable: true
                          description: Product name with translations
                          additionalProperties:
                            type: string
                          example:
                            en: Brazil Santos Coffee
                            cs: Brazilská káva Santos
                        product_ean:
                          type: string
                          nullable: true
                          description: EAN barcode of the product
                          example: '8594056780017'
                        total_epcs:
                          type: integer
                          description: Total number of EPC tags detected for this product
                          example: 3
                        unique_items:
                          type: integer
                          description: Number of unique items detected
                          example: 3
                        epc_hashes:
                          type: array
                          description: List of EPC hash values currently detected
                          items:
                            type: string
                          example:
                            - 8aaedfc3559d0ce545ca55bcea31aad2
                            - 2b1c7f8c2aab4e33a5e09a2d77f3b611
                      required:
                        - product_id
                        - total_epcs
                        - unique_items
                        - epc_hashes
                required:
                  - data
        '401':
          description: Unauthorized - invalid or missing external API token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/InvalidResponse'
      security:
        - bearerAuth: []
components:
  schemas:
    InvalidResponse:
      type: object
      properties:
        message:
          type: string
          description: Error message describing the issue
      required:
        - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````