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

# Get Session Logs



## OpenAPI

````yaml /openapi.json get /api/workspaces/{id}/sessions/{session_id}/logs
openapi: 3.1.0
info:
  title: Konduktor
  version: 0.1.0
servers:
  - url: http://localhost:8080
    description: Local instance (default)
security: []
paths:
  /api/workspaces/{id}/sessions/{session_id}/logs:
    get:
      tags:
        - sessions
      summary: Get Session Logs
      operationId: get_session_logs_api_workspaces__id__sessions__session_id__logs_get
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
            title: Id
        - name: session_id
          in: path
          required: true
          schema:
            type: string
            title: Session Id
        - name: follow
          in: query
          required: false
          schema:
            type: boolean
            default: true
            title: Follow
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            maximum: 10000000
            default: 0
            title: Offset
        - name: tail
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
                maximum: 10000
              - type: 'null'
            description: Return last N lines (default 50 when follow=false)
            title: Tail
          description: Return last N lines (default 50 when follow=false)
        - name: start_line
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
                maximum: 10000000
              - type: 'null'
            description: 1-indexed start line (inclusive)
            title: Start Line
          description: 1-indexed start line (inclusive)
        - name: end_line
          in: query
          required: false
          schema:
            anyOf:
              - type: integer
                minimum: 1
                maximum: 10000000
              - type: 'null'
            description: 1-indexed end line (inclusive)
            title: End Line
          description: 1-indexed end line (inclusive)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema: {}
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
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:
    HTTPBearer:
      type: http
      scheme: bearer

````