Dropwizard Tasks API

Administrative task execution endpoints.

Operations 3

POST /tasks/{taskName} Execute an admin task #
POST /tasks/log-level Change log level at runtime #
POST /tasks/gc Trigger garbage collection #

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/dropwizard-tasks-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

dropwizard-tasks-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Dropwizard Admin Diagnostics Tasks API
  description: REST API provided by the Dropwizard admin servlet, exposing health checks, metrics, thread dumps, and operational tasks on the admin port.
  version: 4.0.0
  contact:
    name: Dropwizard
    url: https://www.dropwizard.io/
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
servers:
- url: http://localhost:8081
  description: Default Dropwizard admin port
tags:
- name: Tasks
  description: Administrative task execution endpoints.
paths:
  /tasks/{taskName}:
    post:
      operationId: executeTask
      summary: Execute an admin task
      description: Executes a registered admin task by name. Built-in tasks include gc (garbage collection) and log-level.
      tags:
      - Tasks
      parameters:
      - name: taskName
        in: path
        required: true
        description: Name of the task to execute.
        schema:
          type: string
      responses:
        '200':
          description: Task executed successfully.
          content:
            text/plain:
              schema:
                type: string
        '404':
          description: Task not found.
  /tasks/log-level:
    post:
      operationId: changeLogLevel
      summary: Change log level at runtime
      description: Changes the log level for a specific logger at runtime.
      tags:
      - Tasks
      parameters:
      - name: logger
        in: query
        required: true
        description: Logger name to change.
        schema:
          type: string
      - name: level
        in: query
        required: true
        description: New log level.
        schema:
          type: string
          enum:
          - TRACE
          - DEBUG
          - INFO
          - WARN
          - ERROR
          - 'OFF'
      responses:
        '200':
          description: Log level changed successfully.
  /tasks/gc:
    post:
      operationId: runGarbageCollection
      summary: Trigger garbage collection
      description: Triggers a JVM garbage collection.
      tags:
      - Tasks
      responses:
        '200':
          description: Garbage collection triggered.