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

# Get history

> Retrieve the history of the account.



## OpenAPI

````yaml get /accounts/history
openapi: 3.0.0
info:
  title: Mudstack API
  version: 2.41.0
servers:
  - url: https://api.mudstack.com
security: []
tags: []
paths:
  /accounts/history:
    get:
      tags:
        - Account History
      description: Retrieve the history of the account.
      parameters:
        - $ref: '#/components/parameters/account_id'
      responses:
        '200':
          description: Successfully retrieved account history
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AccountHistory'
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
      security:
        - Authentication: []
components:
  parameters:
    account_id:
      name: x-account-id
      in: header
      required: true
      schema:
        type: string
        format: uuid
  schemas:
    AccountHistory:
      type: object
      description: Represents the history of an account.
      properties:
        id:
          type: string
          description: Unique identifier for the account history record.
        account_id:
          type: string
          description: Identifier of the associated account.
        user_id:
          type: string
          description: Identifier of the user associated with the account history.
        type:
          type: string
          description: Type of the account history record.
        record_id:
          type: string
          description: Identifier of the related record.
        data:
          type: object
          description: Additional data related to the account history.
  securitySchemes:
    Authentication:
      type: http
      scheme: bearer
      bearerFormat: JWT

````