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

# List assets at a location

> Send `LocationID` to find labeled, unexpired assets whose last recorded position is within the location’s radius.



## OpenAPI

````yaml /openapi/openapi.json get /Locations/GetLocationAssets
openapi: 3.1.0
info:
  title: Aiyoti Integration API
  description: Create, retrieve, update, and manage the tracking lifecycle of assets.
  version: 0.0.1
servers:
  - url: '{BaseURL}'
    variables:
      BaseURL:
        default: '{{BaseURL}}'
        description: >-
          Base URL provided when you create API credentials in the Aiyoti
          platform.
security: []
tags:
  - name: Assets / Shipments
    description: Create, list, retrieve, edit, annotate, and delete assets.
  - name: Locations
    description: Manage saved areas and find assets within them.
  - name: Carriers
    description: Look up the carriers available to an account.
  - name: Labels
    description: Look up the labels available for new assets.
  - name: Accounts
    description: Find and manage account records.
  - name: Users
    description: Look up user records.
  - name: Events
    description: Look up event types and query event history.
  - name: Webhooks
    description: Configure subscriptions to Aiyoti events.
  - name: Inventory
    description: Check label stock and look up label SKUs.
paths:
  /Locations/GetLocationAssets:
    get:
      tags:
        - Locations
      summary: List assets at a location
      description: >-
        Send `LocationID` to find labeled, unexpired assets whose last recorded
        position is within the location’s radius.
      operationId: get_location_assets_Locations_GetLocationAssets_get
      parameters:
        - name: LocationID
          in: query
          required: true
          schema:
            type: string
          description: Identifier returned when a location is created.
      responses:
        '200':
          description: Location details and an `Assets` array.
          content:
            application/json:
              schema:
                type: object
                properties:
                  LocationID:
                    type: string
                    description: Unique identifier of the location.
                  LocationName:
                    type: string
                    description: Name of the location.
                  lat:
                    type: number
                    description: Latitude of the location center in degrees.
                  lng:
                    type: number
                    description: Longitude of the location center in degrees.
                  Radius:
                    type: integer
                    description: Radius in meters.
                  Assets:
                    type: array
                    items:
                      $ref: '#/components/schemas/AssetSummary'
              example:
                LocationID: '00000000000000000000000000000007'
                LocationName: Example Depot
                lat: 10
                lng: 20
                Radius: 200
                Assets: []
        '400':
          description: >-
            Request rejected. Check your credentials, account access, and
            request parameters.
        '422':
          description: Request validation failed. Check required fields and value types.
      security:
        - clientId: []
          apiKey: []
components:
  schemas:
    AssetSummary:
      type: object
      properties:
        AssetID:
          type: string
          description: Unique identifier of the asset.
        LabelID:
          type:
            - integer
            - 'null'
          description: Label identifier; may be null.
        AssetName:
          type: string
          description: Name of the asset.
        lat:
          type: number
          description: Current latitude.
        lng:
          type: number
          description: Current longitude.
        Address:
          type:
            - string
            - 'null'
          description: Current address; may be null.
        DestinationAddress:
          type: string
          description: Destination address.
        CreatedOn:
          type: string
          description: Localized date and time.
        LastContact:
          type:
            - string
            - 'null'
          description: Localized date and time. May be null.
        AccountID:
          type: string
          description: Unique identifier of the account.
        AccountName:
          type: string
          description: Name of the account.
        StatusNo:
          type: integer
          description: >-
            Numeric status. See the status table in the delivery and tracking
            guide.
        Status:
          type: string
          description: Status name.
      description: One asset in the list response.
  securitySchemes:
    clientId:
      type: apiKey
      in: header
      name: ClientID
    apiKey:
      type: apiKey
      in: header
      name: ApiKey

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.