dotCMS Tail Log API

Server log file monitoring and real-time viewing

Operations 2

GET /api/v1/logs/{fileName}/_tail Get logs #
GET /api/v1/logs List available log files #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dotcms-taillog-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dotcms-taillog-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: dotCMS REST Tail Log API
  version: '3'
  description: Server log file monitoring and real-time viewing
servers:
- url: /
  description: dotCMS Server
tags:
- name: TailLog
  description: Server log file monitoring and real-time viewing
paths:
  /api/v1/logs/{fileName}/_tail:
    get:
      tags:
      - TailLog
      operationId: getLogs
      parameters:
      - name: fileName
        in: path
        required: true
        schema:
          pattern: .+
          type: string
      - name: linesBack
        in: query
        schema:
          type: integer
          format: int32
      responses:
        default:
          description: default response
          content:
            text/event-stream:
              schema:
                $ref: '#/components/schemas/EventOutput'
      summary: Get logs
      x-summary-source: derived
  /api/v1/logs:
    get:
      tags:
      - TailLog
      summary: List available log files
      description: Returns log file names from the configured log folder (TAIL_LOG_LOG_FOLDER), filtered by TAIL_LOG_FILE_REGEX and sorted alphabetically. The names are used as the {fileName} path parameter for the tail and download endpoints.
      operationId: listLogFiles
      responses:
        '200':
          description: Sorted list of log file names
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ResponseEntityListStringView'
        '401':
          description: Unauthorized - authentication required
          content:
            application/json: {}
        '403':
          description: Forbidden - CMS Administrator role and Maintenance portlet access required
          content:
            application/json: {}
components:
  schemas:
    ErrorEntity:
      type: object
      properties:
        errorCode:
          type: string
        message:
          type: string
        fieldName:
          type: string
    EventOutput:
      type: object
      properties:
        type:
          type: object
          properties:
            typeName:
              type: string
        closed:
          type: boolean
    Pagination:
      type: object
      properties:
        currentPage:
          type: integer
          format: int32
        perPage:
          type: integer
          format: int32
        totalEntries:
          type: integer
          format: int64
    MessageEntity:
      type: object
      properties:
        message:
          type: string
    ResponseEntityListStringView:
      type: object
      properties:
        errors:
          type: array
          items:
            $ref: '#/components/schemas/ErrorEntity'
        entity:
          type: array
          items:
            type: string
        messages:
          type: array
          items:
            $ref: '#/components/schemas/MessageEntity'
        i18nMessagesMap:
          type: object
          additionalProperties:
            type: string
        permissions:
          type: array
          items:
            type: string
        pagination:
          $ref: '#/components/schemas/Pagination'