> ## 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 Executor Logs

> Get captured log entries for a specific executor.

Returns log entries from the in-memory ring buffer. Only available for
active executors - logs are cleared when the executor completes.

Query parameters:
- **level**: Filter by log level (ERROR, WARNING, INFO, DEBUG)
- **limit**: Maximum entries to return (default 50)



## OpenAPI

````yaml /api-reference/openapi.json get /executors/{executor_id}/logs
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:
  /executors/{executor_id}/logs:
    get:
      tags:
        - Executors
      summary: Get Executor Logs
      description: |-
        Get captured log entries for a specific executor.

        Returns log entries from the in-memory ring buffer. Only available for
        active executors - logs are cleared when the executor completes.

        Query parameters:
        - **level**: Filter by log level (ERROR, WARNING, INFO, DEBUG)
        - **limit**: Maximum entries to return (default 50)
      operationId: get_executor_logs_executors__executor_id__logs_get
      parameters:
        - name: executor_id
          in: path
          required: true
          schema:
            type: string
            title: Executor Id
        - name: level
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Level
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            default: 50
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExecutorLogsResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBasic: []
components:
  schemas:
    ExecutorLogsResponse:
      properties:
        executor_id:
          type: string
          title: Executor Id
          description: Executor identifier
        logs:
          items:
            $ref: '#/components/schemas/ExecutorLogEntry'
          type: array
          title: Logs
          description: Log entries
        total_count:
          type: integer
          title: Total Count
          description: Total number of log entries (before limit)
      type: object
      required:
        - executor_id
        - logs
        - total_count
      title: ExecutorLogsResponse
      description: Response for executor log entries.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ExecutorLogEntry:
      properties:
        timestamp:
          type: string
          title: Timestamp
          description: ISO-format timestamp
        level:
          type: string
          title: Level
          description: Log level (DEBUG, INFO, WARNING, ERROR)
        message:
          type: string
          title: Message
          description: Log message
        exc_info:
          anyOf:
            - type: string
            - type: 'null'
          title: Exc Info
          description: Exception traceback if present
      type: object
      required:
        - timestamp
        - level
        - message
      title: ExecutorLogEntry
      description: A single log entry from an executor.
    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

````