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

# Get Bot History

> Get trading history for a bot with optional parameters.

Args:
    bot_name: Name of the bot to get history for
    days: Number of days of history to retrieve (0 for all)
    verbose: Whether to include verbose output
    precision: Decimal precision for numerical values
    timeout: Timeout in seconds for the operation
    bots_manager: Bot orchestrator service dependency

Returns:
    Dictionary with bot trading history



## OpenAPI

````yaml /api-reference/openapi.json get /bot-orchestration/{bot_name}/history
openapi: 3.1.0
info:
  title: Hummingbot API
  description: API for managing Hummingbot trading instances
  version: 1.0.1
servers:
  - url: http://localhost:8000
    description: Local development server
security: []
paths:
  /bot-orchestration/{bot_name}/history:
    get:
      tags:
        - Bot Orchestration
      summary: Get Bot History
      description: |-
        Get trading history for a bot with optional parameters.

        Args:
            bot_name: Name of the bot to get history for
            days: Number of days of history to retrieve (0 for all)
            verbose: Whether to include verbose output
            precision: Decimal precision for numerical values
            timeout: Timeout in seconds for the operation
            bots_manager: Bot orchestrator service dependency

        Returns:
            Dictionary with bot trading history
      operationId: get_bot_history_bot_orchestration__bot_name__history_get
      parameters:
        - name: bot_name
          in: path
          required: true
          schema:
            type: string
            title: Bot Name
        - name: days
          in: query
          required: false
          schema:
            type: integer
            default: 0
            title: Days
        - name: verbose
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Verbose
        - name: precision
          in: query
          required: false
          schema:
            type: integer
            title: Precision
        - name: timeout
          in: query
          required: false
          schema:
            type: number
            default: 30
            title: Timeout
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBasic:
      type: http
      scheme: basic

````