HiveMQ Management API

The Management API from HiveMQ — 9 operation(s) for management.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).
Business capability
IT Operations Management BC-600.40

Operations 15

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /management/backups List broker backups · List backups #
Ask an LLM
“Which broker backups are available?”
“Can I see the backup history?”
Tell an agent
List all broker backups.
Show the backup history.
POST /management/backups Create a broker backup · Create a backup #
Ask an LLM
“How do I back up the broker?”
“Can I create a new backup now?”
Tell an agent
Create a broker backup.
Take a new backup of the broker.
GET /management/backups/{backupId} Get a broker backup · Get a backup #
Ask an LLM
“What is the status of a specific backup?”
“Can I look up one backup by ID?”
Tell an agent
Get backup {backupId}.
Show the status of backup {backupId}.
DELETE /management/backups/{backupId} Delete a broker backup · Delete a backup #
Ask an LLM
“How do I delete an old backup?”
“Can I remove a backup I no longer need?”
Tell an agent destructive · confirm first
Delete backup {backupId}.
Remove the old backup {backupId}.
POST /management/backups/{backupId}/restore Restore the broker from a backup · Restore a backup #
Ask an LLM
“How do I restore the broker from a backup?”
“Can I roll the broker back to a previous state?”
Tell an agent
Restore the broker from backup {backupId}.
Roll the broker back to backup {backupId}.
GET /management/backups/{backupId}/file Download a broker backup file · Download a backup file #
Ask an LLM
“Can I download a broker backup as a file?”
“Where do I get the backup file?”
Tell an agent
Download backup {backupId} as a file.
Get the backup file for {backupId}.
GET /management/diagnostic-archives List diagnostic archives · List diagnostic archives #
Ask an LLM
“Which diagnostic archives exist?”
“Can I see the diagnostic archive history?”
Tell an agent
List all diagnostic archives.
Show the diagnostic archive history.
POST /management/diagnostic-archives Create a diagnostic archive · Create a diagnostic archive #
Ask an LLM
“How do I create a diagnostic archive?”
“Can I start a new diagnostic archive now?”
Tell an agent
Create a diagnostic archive.
Start a new diagnostic archive.
GET /management/diagnostic-archives/{archiveId} Get a diagnostic archive · Get a diagnostic archive #
Ask an LLM
“What is the status of a diagnostic archive?”
“Can I look up one diagnostic archive by ID?”
Tell an agent
Get diagnostic archive {archiveId}.
Show the status of diagnostic archive {archiveId}.
DELETE /management/diagnostic-archives/{archiveId} Delete a diagnostic archive · Delete a diagnostic archive #
Ask an LLM
“How do I delete a diagnostic archive?”
“Can I remove a diagnostic archive I no longer need?”
Tell an agent destructive · confirm first
Delete diagnostic archive {archiveId}.
Remove diagnostic archive {archiveId}.
GET /management/trace-recordings List trace recordings · List trace recordings #
Ask an LLM
“Which trace recordings are running?”
“Can I see the trace recording history?”
Tell an agent
List all trace recordings.
Show the trace recording history.
POST /management/trace-recordings Start a trace recording · Start a trace recording #
Ask an LLM
“How do I start a trace recording?”
“Can I begin tracing messages now?”
Tell an agent
Start a trace recording.
Begin a new trace recording.
GET /management/trace-recordings/{recordingId} Get a trace recording · Get a trace recording #
Ask an LLM
“Is a trace recording still running?”
“Can I look up one trace recording by ID?”
Tell an agent
Get trace recording {recordingId}.
Check the status of trace recording {recordingId}.
DELETE /management/trace-recordings/{recordingId} Stop and delete a trace recording · Stop and delete a trace recording #
Ask an LLM
“How do I stop a trace recording?”
“Can I delete a trace recording I no longer need?”
Tell an agent destructive · confirm first
Stop and delete trace recording {recordingId}.
Delete trace recording {recordingId}.
GET /management/trace-recordings/{recordingId}/file Download a trace recording file · Download a trace recording file #
Ask an LLM
“Can I download a trace recording as a file?”
“Where do I get the trace recording file?”
Tell an agent
Download trace recording {recordingId} as a file.
Get the trace recording file for {recordingId}.

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/hivemq:hivemq-management-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

hivemq-management-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: HiveMQ REST Management API
  description: 'REST API for administering a HiveMQ broker. Endpoints cover MQTT

    client listing, search, disconnect; session invalidation; backups;

    diagnostic archives; trace recordings; and Data Hub schemas, policies,

    and modules. Endpoint shapes inferred from the public HiveMQ REST API

    documentation at docs.hivemq.com/hivemq/latest/rest-api/.'
  version: '1.0'
  contact:
    name: HiveMQ Documentation
    url: https://docs.hivemq.com/hivemq/latest/rest-api/index.html
servers:
- url: http://127.0.0.1:8888/api/v1
  description: Default HiveMQ REST API listener
security:
- BearerAuth: []
tags:
- name: Management
paths:
  /management/backups:
    get:
      summary: List backups
      operationId: listBackups
      responses:
        '200':
          description: OK
      tags:
      - Management
    post:
      summary: Create a backup
      operationId: createBackup
      responses:
        '201':
          description: Created
      tags:
      - Management
  /management/backups/{backupId}:
    parameters:
    - name: backupId
      in: path
      required: true
      schema:
        type: string
    get:
      summary: Get a backup
      operationId: getBackup
      responses:
        '200':
          description: OK
      tags:
      - Management
    delete:
      summary: Delete a backup
      operationId: deleteBackup
      responses:
        '204':
          description: Deleted
      tags:
      - Management
  /management/backups/{backupId}/restore:
    parameters:
    - name: backupId
      in: path
      required: true
      schema:
        type: string
    post:
      summary: Restore a backup
      operationId: restoreBackup
      responses:
        '202':
          description: Accepted
      tags:
      - Management
  /management/backups/{backupId}/file:
    parameters:
    - name: backupId
      in: path
      required: true
      schema:
        type: string
    get:
      summary: Download a backup file
      operationId: downloadBackup
      responses:
        '200':
          description: OK
      tags:
      - Management
  /management/diagnostic-archives:
    get:
      summary: List diagnostic archives
      operationId: listDiagnosticArchives
      responses:
        '200':
          description: OK
      tags:
      - Management
    post:
      summary: Create a diagnostic archive
      operationId: createDiagnosticArchive
      responses:
        '201':
          description: Created
      tags:
      - Management
  /management/diagnostic-archives/{archiveId}:
    parameters:
    - name: archiveId
      in: path
      required: true
      schema:
        type: string
    get:
      summary: Get a diagnostic archive
      operationId: getDiagnosticArchive
      responses:
        '200':
          description: OK
      tags:
      - Management
    delete:
      summary: Delete a diagnostic archive
      operationId: deleteDiagnosticArchive
      responses:
        '204':
          description: Deleted
      tags:
      - Management
  /management/trace-recordings:
    get:
      summary: List trace recordings
      operationId: listTraceRecordings
      responses:
        '200':
          description: OK
      tags:
      - Management
    post:
      summary: Start a trace recording
      operationId: startTraceRecording
      responses:
        '201':
          description: Created
      tags:
      - Management
  /management/trace-recordings/{recordingId}:
    parameters:
    - name: recordingId
      in: path
      required: true
      schema:
        type: string
    get:
      summary: Get a trace recording
      operationId: getTraceRecording
      responses:
        '200':
          description: OK
      tags:
      - Management
    delete:
      summary: Stop and delete a trace recording
      operationId: deleteTraceRecording
      responses:
        '204':
          description: Deleted
      tags:
      - Management
  /management/trace-recordings/{recordingId}/file:
    parameters:
    - name: recordingId
      in: path
      required: true
      schema:
        type: string
    get:
      summary: Download a trace recording file
      operationId: downloadTraceRecording
      responses:
        '200':
          description: OK
      tags:
      - Management
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: 'Authentication is disabled by default. When enabled via the

        HiveMQ Enterprise Security Extension or Enterprise Extension SDK

        REST Service, a bearer token is required.

        '