Print Hive Telemetry API

Host telemetry and metrics endpoints

GitHub OpenAPI

Operations 3

POST /v1/telemetry Store telemetry metrics #
GET /v1/telemetry/{host_id} Get telemetry metrics for a host #
GET /v1/telemetry/{host_id}/latest Get latest telemetry metrics #

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/printhiv3d-com:printhiv3d-com-telemetry-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

printhiv3d-com-telemetry-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation Telemetry API
  description: 'REST API for the Print Hive print farm management platform: printers, print jobs, models, materials, inventory, smart queue, and integrations.'
  version: 1.0.0
servers:
- url: https://api.printhiv3d.com
  description: Production
tags:
- name: Telemetry
  description: Host telemetry and metrics endpoints
paths:
  /v1/telemetry:
    post:
      summary: Store telemetry metrics
      tags:
      - Telemetry
      description: Receive and store telemetry metrics from hive-link hosts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              additionalProperties: true
              required:
              - organization_id
              - hive_link_id
              - hostname
              - metric_timestamp
              - cpu_usage_percent
              - cpu_count
              - load_average
              - total_memory_mb
              - free_memory_mb
              - used_memory_mb
              - memory_usage_percent
              - process_memory_mb
              - process_memory_percent
              - process_cpu_percent
              - process_uptime
              - connected_printers
              - active_video_streams
              - mqtt_messages_per_second
              - http_requests_per_second
              properties:
                organization_id:
                  type: string
                hive_link_id:
                  type: string
                hostname:
                  type: string
                metric_timestamp:
                  type: string
                  format: date-time
                cpu_usage_percent:
                  type: number
                cpu_count:
                  type: integer
                load_average:
                  type: array
                  items:
                    type: number
                total_memory_mb:
                  type: integer
                free_memory_mb:
                  type: integer
                used_memory_mb:
                  type: integer
                memory_usage_percent:
                  type: integer
                process_memory_mb:
                  type: integer
                process_memory_percent:
                  type: integer
                process_rss_memory_mb:
                  type:
                  - integer
                  - 'null'
                process_external_memory_mb:
                  type:
                  - integer
                  - 'null'
                process_array_buffers_memory_mb:
                  type:
                  - integer
                  - 'null'
                process_cpu_percent:
                  type: number
                process_uptime:
                  type: integer
                connected_printers:
                  type: integer
                active_video_streams:
                  type: integer
                mqtt_messages_per_second:
                  type: number
                http_requests_per_second:
                  type: number
                pulse_connection_state:
                  type:
                  - string
                  - 'null'
                pulse_connected:
                  type:
                  - boolean
                  - 'null'
                pulse_reconnect_count:
                  type:
                  - integer
                  - 'null'
                pulse_last_connected_at:
                  type:
                  - string
                  - 'null'
                  format: date-time
                pulse_uptime_seconds:
                  type:
                  - integer
                  - 'null'
                pulse_message_queue_size:
                  type:
                  - integer
                  - 'null'
                pulse_messages_dropped:
                  type:
                  - integer
                  - 'null'
                pulse_last_ping_latency:
                  type:
                  - integer
                  - 'null'
                pulse_routeable:
                  type:
                  - boolean
                  - 'null'
                pulse_routeability_state:
                  type:
                  - string
                  - 'null'
                pulse_host_subscription_pending:
                  type:
                  - boolean
                  - 'null'
                pulse_current_session_id:
                  type:
                  - integer
                  - 'null'
                pulse_host_subscription_session_id:
                  type:
                  - integer
                  - 'null'
                pulse_last_host_subscribe_at:
                  type:
                  - string
                  - 'null'
                  format: date-time
                pulse_last_session_restore_at:
                  type:
                  - string
                  - 'null'
                  format: date-time
                pulse_disconnected_duration_ms:
                  anyOf:
                  - type: string
                    pattern: ^-?\d+$
                  - type: integer
                  - type: 'null'
                job_processor_active:
                  type:
                  - boolean
                  - 'null'
                job_processor_last_poll_at:
                  type:
                  - string
                  - 'null'
                  format: date-time
                job_processor_circuit_breaker_state:
                  type:
                  - string
                  - 'null'
                jobs_processed_total:
                  type:
                  - integer
                  - 'null'
                jobs_processing_current:
                  type:
                  - integer
                  - 'null'
                jobs_per_minute:
                  type:
                  - number
                  - 'null'
                jobs_success_total:
                  type:
                  - integer
                  - 'null'
                jobs_failed_total:
                  type:
                  - integer
                  - 'null'
                jobs_success_rate:
                  type:
                  - number
                  - 'null'
                job_retry_count:
                  type:
                  - integer
                  - 'null'
                avg_job_duration_ms:
                  type:
                  - integer
                  - 'null'
                p50_job_duration_ms:
                  type:
                  - integer
                  - 'null'
                p95_job_duration_ms:
                  type:
                  - integer
                  - 'null'
                slowest_job_duration_ms:
                  type:
                  - integer
                  - 'null'
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  id:
                    type: string
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1Telemetry
      x-operation-id-source: derived
  /v1/telemetry/{host_id}:
    get:
      summary: Get telemetry metrics for a host
      tags:
      - Telemetry
      description: Retrieve telemetry metrics for a specific hive-link host
      parameters:
      - schema:
          type: integer
          default: 100
        in: query
        name: limit
        required: false
      - schema:
          type: integer
          default: 24
        in: query
        name: hours
        required: false
        description: Number of hours of data to retrieve
      - schema:
          type: string
        in: path
        name: host_id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        created_at:
                          type: string
                        organization_id:
                          type: string
                        hive_link_id:
                          type: string
                        hostname:
                          type: string
                        metric_timestamp:
                          type: string
                        cpu_usage_percent:
                          type: number
                        cpu_count:
                          type: integer
                        load_average:
                          type: array
                          items:
                            type: number
                        total_memory_mb:
                          type: integer
                        free_memory_mb:
                          type: integer
                        used_memory_mb:
                          type: integer
                        memory_usage_percent:
                          type: integer
                        process_memory_mb:
                          type: integer
                        process_memory_percent:
                          type: integer
                        process_rss_memory_mb:
                          type:
                          - integer
                          - 'null'
                        process_external_memory_mb:
                          type:
                          - integer
                          - 'null'
                        process_array_buffers_memory_mb:
                          type:
                          - integer
                          - 'null'
                        process_cpu_percent:
                          type: number
                        process_uptime:
                          type: integer
                        connected_printers:
                          type: integer
                        active_video_streams:
                          type: integer
                        mqtt_messages_per_second:
                          type: number
                        http_requests_per_second:
                          type: number
                        pulse_routeable:
                          type:
                          - boolean
                          - 'null'
                        pulse_routeability_state:
                          type:
                          - string
                          - 'null'
                        pulse_host_subscription_pending:
                          type:
                          - boolean
                          - 'null'
                        pulse_current_session_id:
                          type:
                          - integer
                          - 'null'
                        pulse_host_subscription_session_id:
                          type:
                          - integer
                          - 'null'
                        pulse_last_host_subscribe_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        pulse_last_session_restore_at:
                          type:
                          - string
                          - 'null'
                          format: date-time
                        pulse_disconnected_duration_ms:
                          anyOf:
                          - type: string
                            pattern: ^-?\d+$
                          - type: integer
                          - type: 'null'
                  count:
                    type: integer
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1TelemetryByHostId
      x-operation-id-source: derived
  /v1/telemetry/{host_id}/latest:
    get:
      summary: Get latest telemetry metrics
      tags:
      - Telemetry
      description: Get the most recent telemetry metrics for a specific hive-link host
      parameters:
      - schema:
          type: string
        in: query
        name: organizationId
        required: false
      - schema:
          type: string
        in: path
        name: host_id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  data:
                    type: object
                    properties:
                      id:
                        type: string
                      created_at:
                        type: string
                      organization_id:
                        type: string
                      hive_link_id:
                        type: string
                      hostname:
                        type: string
                      metric_timestamp:
                        type: string
                      cpu_usage_percent:
                        type: number
                      cpu_count:
                        type: integer
                      load_average:
                        type: array
                        items:
                          type: number
                      total_memory_mb:
                        type: integer
                      free_memory_mb:
                        type: integer
                      used_memory_mb:
                        type: integer
                      memory_usage_percent:
                        type: integer
                      process_memory_mb:
                        type: integer
                      process_memory_percent:
                        type: integer
                      process_rss_memory_mb:
                        type:
                        - integer
                        - 'null'
                      process_external_memory_mb:
                        type:
                        - integer
                        - 'null'
                      process_array_buffers_memory_mb:
                        type:
                        - integer
                        - 'null'
                      process_cpu_percent:
                        type: number
                      process_uptime:
                        type: integer
                      connected_printers:
                        type: integer
                      active_video_streams:
                        type: integer
                      mqtt_messages_per_second:
                        type: number
                      http_requests_per_second:
                        type: number
                      pulse_routeable:
                        type:
                        - boolean
                        - 'null'
                      pulse_routeability_state:
                        type:
                        - string
                        - 'null'
                      pulse_host_subscription_pending:
                        type:
                        - boolean
                        - 'null'
                      pulse_current_session_id:
                        type:
                        - integer
                        - 'null'
                      pulse_host_subscription_session_id:
                        type:
                        - integer
                        - 'null'
                      pulse_last_host_subscribe_at:
                        type:
                        - string
                        - 'null'
                        format: date-time
                      pulse_last_session_restore_at:
                        type:
                        - string
                        - 'null'
                        format: date-time
                      pulse_disconnected_duration_ms:
                        anyOf:
                        - type: string
                          pattern: ^-?\d+$
                        - type: integer
                        - type: 'null'
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1TelemetryByHostIdLatest
      x-operation-id-source: derived
components:
  schemas:
    Error:
      type: object
      description: 'Consistent Print Hive API error body: a machine-readable error code and a human-readable message.'
      properties:
        error:
          type: string
          description: Machine-readable error code.
        message:
          type: string
          description: Human-readable explanation of the failure.
      required:
      - error
      - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
    apiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
    apiKey:
      type: apiKey
      in: header
      name: x-api-key