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

> Return server logs from journalctl (konduktor-server unit), newest first.



## OpenAPI

````yaml /openapi.json get /api/admin/logs/server
openapi: 3.1.0
info:
  title: Konduktor
  version: 0.1.0
servers:
  - url: http://localhost:8080
    description: Local instance (default)
security: []
paths:
  /api/admin/logs/server:
    get:
      tags:
        - admin
      summary: Get Server Logs
      description: >-
        Return server logs from journalctl (konduktor-server unit), newest
        first.
      operationId: get_server_logs_api_admin_logs_server_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            minimum: 1
            maximum: 1000
            default: 100
            title: Limit
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ServerLogsResponse'
      security:
        - HTTPBearer: []
components:
  schemas:
    ServerLogsResponse:
      properties:
        lines:
          items:
            $ref: '#/components/schemas/ServerLogEntry'
          type: array
          title: Lines
        total:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total
        has_more:
          type: boolean
          title: Has More
          default: false
      type: object
      required:
        - lines
      title: ServerLogsResponse
    ServerLogEntry:
      properties:
        timestamp:
          anyOf:
            - type: string
            - type: 'null'
          title: Timestamp
        message:
          type: string
          title: Message
        priority:
          anyOf:
            - type: string
            - type: 'null'
          title: Priority
        unit:
          anyOf:
            - type: string
            - type: 'null'
          title: Unit
      type: object
      required:
        - message
      title: ServerLogEntry
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````