Print Hive RPI Image API

The RPI Image API from Print Hive — 4 operation(s) for rpi image.

GitHub OpenAPI

Operations 4

POST /v1/hosts/claim Claim a host with a pre-provisioned token #
POST /v1/hosts/rpi-image Request Raspberry Pi image #
GET /v1/hosts/rpi-image/{request_id} Get RPI image request status #
POST /v1/hosts/rpi-image/update-status Update RPI image request status #

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-rpi-image-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-rpi-image-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Print Hive API Documentation RPI Image 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: RPI Image
paths:
  /v1/hosts/claim:
    post:
      summary: Claim a host with a pre-provisioned token
      tags:
      - RPI Image
      description: Exchange a single-use claim token (baked into a pre-provisioned image) for a permanent host API key
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - claim_token
              properties:
                claim_token:
                  type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  key:
                    type: string
                  organization_id:
                    type: string
                  host_id:
                    type: string
                  hostname:
                    type: string
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: postV1HostsClaim
      x-operation-id-source: derived
  /v1/hosts/rpi-image:
    post:
      summary: Request Raspberry Pi image
      tags:
      - RPI Image
      description: Request a new Raspberry Pi image with Hive Link pre-installed
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - rpi_model
              properties:
                hostname:
                  type: string
                rpi_model:
                  type: string
                  enum:
                  - rpi4
                  - rpi5
                config:
                  type: object
                  properties:
                    wifi_ssid:
                      type: string
                    wifi_password:
                      type: string
                    enable_ssh:
                      type: boolean
                organizationId:
                  type: string
                  description: Organization ID (optional, defaults to user's primary organization)
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    type: string
                  host_id:
                    type: string
                  hostname:
                    type: string
                  status:
                    type: string
                  estimated_time:
                    type: number
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: postV1HostsRpiImage
      x-operation-id-source: derived
  /v1/hosts/rpi-image/{request_id}:
    get:
      summary: Get RPI image request status
      tags:
      - RPI Image
      description: Get the status of a Raspberry Pi image request
      parameters:
      - schema:
          type: string
        in: path
        name: request_id
        required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  request_id:
                    type: string
                  status:
                    type: string
                  download_url:
                    type:
                    - string
                    - 'null'
                  seed_url:
                    type:
                    - string
                    - 'null'
                  error_message:
                    type:
                    - string
                    - 'null'
                  expires_at:
                    type:
                    - string
                    - 'null'
                  created_at:
                    type: string
                  updated_at:
                    type: string
        default:
          description: Unexpected error response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      operationId: getV1HostsRpiImageByRequestId
      x-operation-id-source: derived
  /v1/hosts/rpi-image/update-status:
    post:
      summary: Update RPI image request status
      tags:
      - RPI Image
      description: Update the status of a Raspberry Pi image request (image builder only). Takes the image worker secret in the `x-rpi-image-worker-secret` header, not an API key. Download and seed links must point at Hive storage.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - request_id
              - status
              properties:
                request_id:
                  type: string
                status:
                  type: string
                download_url:
                  type: string
                seed_url:
                  type: string
                expires_at:
                  type: string
                error_message:
                  type: string
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '400':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '401':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '500':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
        '503':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: string
      operationId: postV1HostsRpiImageUpdateStatus
      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