> ## 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.

# Get asset history

> Retrieve an asset’s activity history by `AssetID`. Entries are returned newest first in a single response.



## OpenAPI

````yaml /openapi/openapi.json get /Assets/GetJournal
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:
  /Assets/GetJournal:
    get:
      tags:
        - Assets / Shipments
      summary: Get asset history
      description: >-
        Retrieve an asset’s activity history by `AssetID`. Entries are returned
        newest first in a single response.
      operationId: get_journal_Assets_GetJournal_get
      parameters:
        - name: AssetID
          in: query
          required: true
          schema:
            type: string
          description: Unique identifier of the asset.
      responses:
        '200':
          description: Array of journal entries.
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    EventTime:
                      type: string
                      description: Time of the event.
                    EventType:
                      type: string
                      description: Name of the event.
                    SubType:
                      type:
                        - string
                        - 'null'
                      description: Event subtype, if available.
                    Duration:
                      description: Recorded event duration, if available.
                    lat:
                      type:
                        - number
                        - 'null'
                      description: Event latitude.
                    lng:
                      type:
                        - number
                        - 'null'
                      description: Event longitude.
                    Context:
                      type:
                        - string
                        - 'null'
                      description: Event details.
                    Address:
                      type:
                        - string
                        - 'null'
                      description: Event address.
                    CreatedBy:
                      type:
                        - string
                        - 'null'
                      description: >-
                        Name of the user associated with the entry, if
                        available.
              example:
                - EventType: User comment
                  Context: Shipment handoff confirmed.
                  SubType: null
        '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:
  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.