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

# Ping server

> Check server status



## OpenAPI

````yaml get /ping
openapi: 3.0.0
info:
  title: Daytalog API
  version: 0.1.0
servers:
  - url: http://localhost:5252
security:
  - ApiKeyAuth: []
paths:
  /ping:
    get:
      summary: Ping server
      description: Check server status
      responses:
        '200':
          description: Server is up
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PingResponse'
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/UnauthorizeResponse'
components:
  schemas:
    PingResponse:
      type: object
      properties:
        status:
          type: string
          example: ok
        port:
          type: integer
          example: 5252
        active:
          type: boolean
          example: true
    UnauthorizeResponse:
      type: object
      properties:
        error:
          type: string
          example: Unauthorized
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-token

````